Skip to content

Conversation

@jafaripur
Copy link
Contributor

Upgrading symfony/browser-kit from v6.4.0 to v7.0.0 getting runtime error.

Codeception PHP Testing Framework v5.0.12 https://stand-with-ukraine.pp.ua
PHP Fatal error:  Declaration of Codeception\Lib\Connector\Yii2::restart() must be compatible with Symfony\Component\BrowserKit\AbstractBrowser::restart(): void in /var/www/html/test/vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2.php on line 483

Fatal error: Declaration of Codeception\Lib\Connector\Yii2::restart() must be compatible with Symfony\Component\BrowserKit\AbstractBrowser::restart(): void in /var/www/html/test/vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2.php on line 483

Add return type of restart method to void to implement method restart in parent AbstractBrowser class.

Upgrading `symfony/browser-kit` from `v6.4.0` to `v7.0.0` getting runtime error.
@SamMousa SamMousa merged commit 2971f1f into Codeception:master Dec 4, 2023
@jafaripur jafaripur deleted the patch-1 branch December 10, 2023 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants