Skip to content

build(deps-dev): update phpstan/phpstan requirement from ^1.10.58 to ^1.10.58 || ^2.0.0 #11

build(deps-dev): update phpstan/phpstan requirement from ^1.10.58 to ^1.10.58 || ^2.0.0

build(deps-dev): update phpstan/phpstan requirement from ^1.10.58 to ^1.10.58 || ^2.0.0 #11

Triggered via pull request November 11, 2024 09:51
Status Failure
Total duration 16s
Artifacts

php.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: src/ClassMethod/MockedClassMethod.php#L134
Call to function is_subclass_of() with arguments class-string, class-string and true will always evaluate to true.
build: src/Constant/UndefinedClassConstant.php#L57
Call to function runkit7_constant_add() on a separate line has no effect.
build: src/Constant/UndefinedGlobalConstant.php#L35
Call to function runkit7_constant_add() on a separate line has no effect.
build: test/phpunit/ClassMethod/MockedClassMethodTest.php#L70
Call to static method PHPUnit\Framework\Assert::assertNull() with string will always evaluate to false.
build: test/phpunit/ClassMethod/MockedClassMethodTest.php#L82
PHPDoc tag @var with type QratorLabs\Smocky\ClassMethod\MockedClassMethod is not subtype of native type null.
build: test/phpunit/ClassMethod/MockedClassMethodTest.php#L141
PHPDoc tag @var with type QratorLabs\Smocky\ClassMethod\MockedClassMethod is not subtype of native type null.
build: test/phpunit/ClassMethod/UndefinedClassMethodTest.php#L57
Method QratorLabs\Smocky\Test\PhpUnit\ClassMethod\UndefinedClassMethodTest::helperGetReflectionMethodNames() should return array<string> but returns array.
build: test/phpunit/Functions/MockedFunctionTest.php#L83
Call to static method PHPUnit\Framework\Assert::assertNull() with bool will always evaluate to false.
build: test/phpunit/Functions/MockedFunctionTest.php#L100
PHPDoc tag @var with type QratorLabs\Smocky\Functions\MockedFunction is not subtype of native type null.
build: test/phpunit/Phpunit/MockedFunctionTest.php#L22
Call to static method PHPUnit\Framework\Assert::assertNotNull() with string will always evaluate to true.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/