You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Declaration of Behat\Mink\Tests\Driver\SkippingUnsupportedTestCase::onNotSuccessfulTest(Throwable $e) must be compatible with PHPUnit\Framework\TestCase::onNotSuccessfulTest(Throwable $t): void in /home/travis/build/oleg-andreyev/MinkSelenium2Driver/vendor/mink/driver-testsuite/tests/SkippingUnsupportedTestCase.php on line 18
Supporting more and more versions of PHP is becoming quite painful, we already have
if (class_exists('PHPUnit\Runner\Version') && version_compare(Version::id(), '6.0.0', '>=')) {
which is trying to solve some issue with PHPUnit upgrade.
This repository does not define the exact version of PHPUnit it supports and relies on something that Travis-CI will provide. Currently, I think we need to define some version of PHPUnit which still support 5.3 and 7.x
Ha-ha. Supporting more and more PHPUnit versions is more painful, because on every major release BC breaks (in terms of public method signature change) occurs.
Right, so instead of support so many versions of PHPUnit, I propose define PHPUnit version which supports our current requirements (PHP >= 5.4 or even >= 7.0).
Activity
aik099 commentedon Mar 27, 2019
Ha-ha. Supporting more and more PHPUnit versions is more painful, because on every major release BC breaks (in terms of public method signature change) occurs.
oleg-andreyev commentedon Mar 27, 2019
Right, so instead of support so many versions of PHPUnit, I propose define PHPUnit version which supports our current requirements (PHP >= 5.4 or even >= 7.0).
oleg-andreyev commentedon Apr 1, 2019
@stof what do you think about defining exact PHPUnit version?
Add support for PHP 8.0
stof commentedon Oct 11, 2021
This has been solved