Fix mocking anonymous classes #648
Annotations
9 errors and 23 warnings
PHPUnit on PHP 8.2 with lowest Dependencies:
vendor/phpunit/phpunit/src/Util/Configuration.php#L407
Cannot acquire reference to $GLOBALS
|
PHPUnit on PHP 8.2 with lowest Dependencies
Process completed with exit code 255.
|
PHPUnit on PHP 8.1 with lowest Dependencies:
vendor/phpunit/phpunit/src/Util/Configuration.php#L407
Cannot acquire reference to $GLOBALS
|
PHPUnit on PHP 8.1 with lowest Dependencies
Process completed with exit code 255.
|
PHPUnit on PHP 8.3 with lowest Dependencies:
vendor/phpunit/phpunit/src/Util/Configuration.php#L407
Cannot acquire reference to $GLOBALS
|
PHPUnit on PHP 8.3 with lowest Dependencies
Process completed with exit code 255.
|
PHPUnit on PHP 8.4 with lowest Dependencies:
vendor/phpunit/phpunit/src/Util/Configuration.php#L407
Cannot acquire reference to $GLOBALS
|
PHPUnit on PHP 8.4 with lowest Dependencies
Process completed with exit code 255.
|
PHPUnit on PHP 8.4 with locked Dependencies
Process completed with exit code 2.
|
PHPUnit on PHP 8.3 with highest Dependencies:
tests/Mockery/ContainerTest.php#L1867
Optional parameter $bar declared before required parameter $baz is implicitly treated as a required parameter
|
PHPUnit on PHP 8.3 with locked Dependencies:
tests/Mockery/ContainerTest.php#L1867
Optional parameter $bar declared before required parameter $baz is implicitly treated as a required parameter
|
PHPUnit on PHP 7.3 with lowest Dependencies:
tests/Mockery/MockingOldStyleConstructorTest.php#L36
Methods with the same name as their class will not be constructors in a future version of PHP; MockeryTest_OldStyleConstructor has a deprecated constructor
|
PHPUnit on PHP 8.4 with highest Dependencies:
tests/Mockery/ContainerTest.php#L1867
MockeryTest_MethodWithRequiredParamWithDefaultValue::foo(): Optional parameter $bar declared before required parameter $baz is implicitly treated as a required parameter
|
PHPUnit on PHP 8.1 with highest Dependencies:
tests/Mockery/ContainerTest.php#L1867
Optional parameter $bar declared before required parameter $baz is implicitly treated as a required parameter
|
PHPUnit on PHP 7.4 with locked Dependencies:
tests/Mockery/MockingOldStyleConstructorTest.php#L36
Methods with the same name as their class will not be constructors in a future version of PHP; MockeryTest_OldStyleConstructor has a deprecated constructor
|
PHPUnit on PHP 7.4 with lowest Dependencies:
tests/Mockery/MockingOldStyleConstructorTest.php#L36
Methods with the same name as their class will not be constructors in a future version of PHP; MockeryTest_OldStyleConstructor has a deprecated constructor
|
PHPUnit on PHP 7.3 with highest Dependencies:
tests/Mockery/MockingOldStyleConstructorTest.php#L36
Methods with the same name as their class will not be constructors in a future version of PHP; MockeryTest_OldStyleConstructor has a deprecated constructor
|
PHPUnit on PHP 8.2 with locked Dependencies:
tests/Mockery/ContainerTest.php#L1867
Optional parameter $bar declared before required parameter $baz is implicitly treated as a required parameter
|
PHPUnit on PHP 8.2 with highest Dependencies:
tests/Mockery/ContainerTest.php#L1867
Optional parameter $bar declared before required parameter $baz is implicitly treated as a required parameter
|
PHPUnit on PHP 8.1 with locked Dependencies:
tests/Mockery/ContainerTest.php#L1867
Optional parameter $bar declared before required parameter $baz is implicitly treated as a required parameter
|
PHPUnit on PHP 7.3 with locked Dependencies:
tests/Mockery/MockingOldStyleConstructorTest.php#L36
Methods with the same name as their class will not be constructors in a future version of PHP; MockeryTest_OldStyleConstructor has a deprecated constructor
|
PHPUnit on PHP 8.4 with lowest Dependencies:
vendor/phpunit/phpunit/src/Util/Getopt.php#L22
PHPUnit\Util\Getopt::getopt(): Implicitly marking parameter $long_options as nullable is deprecated, the explicit nullable type must be used instead
|
PHPUnit on PHP 8.4 with locked Dependencies:
vendor/sebastian/cli-parser/src/Parser.php#L44
SebastianBergmann\CliParser\Parser::parse(): Implicitly marking parameter $longOptions as nullable is deprecated, the explicit nullable type must be used instead
|
PHPUnit on PHP 8.4 with locked Dependencies:
vendor/phpunit/phpunit/src/Framework/TestSuite.php#L602
PHPUnit\Framework\TestSuite::run(): Implicitly marking parameter $result as nullable is deprecated, the explicit nullable type must be used instead
|
PHPUnit on PHP 8.4 with locked Dependencies:
vendor/phpunit/phpunit/src/Framework/Test.php#L22
PHPUnit\Framework\Test::run(): Implicitly marking parameter $result as nullable is deprecated, the explicit nullable type must be used instead
|
PHPUnit on PHP 8.4 with locked Dependencies:
vendor/phpunit/phpunit/src/Framework/TestCase.php#L815
PHPUnit\Framework\TestCase::run(): Implicitly marking parameter $result as nullable is deprecated, the explicit nullable type must be used instead
|
PHPUnit on PHP 8.4 with locked Dependencies:
tests/Mockery/ContainerTest.php#L1867
MockeryTest_MethodWithRequiredParamWithDefaultValue::foo(): Optional parameter $bar declared before required parameter $baz is implicitly treated as a required parameter
|
PHPUnit on PHP 8.4 with locked Dependencies:
vendor/phpunit/phpunit/src/TextUI/TestRunner.php#L125
PHPUnit\TextUI\TestRunner::__construct(): Implicitly marking parameter $loader as nullable is deprecated, the explicit nullable type must be used instead
|
PHPUnit on PHP 8.4 with locked Dependencies:
vendor/phpunit/phpunit/src/TextUI/TestRunner.php#L125
PHPUnit\TextUI\TestRunner::__construct(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead
|
PHPUnit on PHP 8.4 with locked Dependencies:
vendor/phpunit/phpunit/src/Framework/Error/Error.php#L19
PHPUnit\Framework\Error\Error::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead
|
PHPUnit on PHP 8.4 with locked Dependencies:
vendor/phpunit/phpunit/src/Framework/Exception/Exception.php#L47
PHPUnit\Framework\Exception::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead
|
PHPUnit on PHP 7.4 with highest Dependencies:
tests/Mockery/MockingOldStyleConstructorTest.php#L36
Methods with the same name as their class will not be constructors in a future version of PHP; MockeryTest_OldStyleConstructor has a deprecated constructor
|