41bac3c5b75b6da7dd655a9d4d57e258947f3815
- Replace all local-variable @var annotations with proper type guards:
- MinkExtension configure closure: build inner array directly
($sessions[$driverType] = [$driverType => ...]) to avoid mixed offset access
- MinkExtension loadSessions: add is_array($session) guard inside foreach
so PHPStan narrows $session from mixed to array before key() call
- DriverFactory::buildDriver @param broadened from array<string, mixed>
to array<mixed> — is_array() only narrows to array<mixed> (key type
unknown), so array<string, mixed> was unreachable at the call site
- MinkAwareInitializer: move @var from inside constructor parameter list
to a proper @param on the method docblock
- SessionsListenerSpec: replace 'goutte' (deleted driver) with
'browserkit_http' as the example default session name
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This is the fork of MinkExtension library that supports PHP >=7.4 and supports Symfony >=4.4.
For the documentation, please refer to the original repository.
No updates other than Symfony compatibility will be provided, but this fork might be synchronised with the original repository in the future.
Languages
PHP
99.4%
Gherkin
0.6%