Skip to content

add phpstan-symfony & phpstan-phpunit #11

add phpstan-symfony & phpstan-phpunit

add phpstan-symfony & phpstan-phpunit #11

Triggered via push March 2, 2024 19:36
Status Failure
Total duration 46s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
PHPStan
Input required and not supplied: path
PHPStan: src/ModelDescriber/Annotations/SymfonyConstraintAnnotationReader.php#L1
Ignored error pattern #^Parameter \#1 \$array of function array_values expects array, mixed given\.$# in path /home/runner/work/NelmioApiDocBundle/NelmioApiDocBundle/src/ModelDescriber/Annotations/SymfonyConstraintAnnotationReader.php was not matched in reported errors.
PHPStan: src/RouteDescriber/RouteArgumentDescriber.php#L34
Method Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactoryInterface::createArgumentMetadata() invoked with 2 parameters, 1 required.
PHPStan: tests/Functional/BazingaFunctionalTest.php#L1
Ignored error pattern #^Comparison operation "\>\=" between 7 and 7 is always true\.$# in path /home/runner/work/NelmioApiDocBundle/NelmioApiDocBundle/tests/Functional/BazingaFunctionalTest.php was not matched in reported errors.
PHPStan: tests/Functional/BazingaFunctionalTest.php#L1
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# in path /home/runner/work/NelmioApiDocBundle/NelmioApiDocBundle/tests/Functional/BazingaFunctionalTest.php was not matched in reported errors.
PHPStan: tests/Functional/BazingaFunctionalTest.php#L24
Comparison operation ">=" between 6 and 7 is always false.
PHPStan: tests/Functional/Controller/TestController.php#L1
Ignored error pattern #^Comparison operation "\<" between 7 and 7 is always false\.$# in path /home/runner/work/NelmioApiDocBundle/NelmioApiDocBundle/tests/Functional/Controller/TestController.php was not matched in reported errors.
PHPStan: tests/Functional/Controller/TestController.php#L19
Comparison operation "<" between 6 and 7 is always true.
PHPStan: tests/Functional/Controller/TestController.php#L37
Else branch is unreachable because previous condition is always true.
PHPStan: tests/Functional/Controller/UndocumentedController.php#L1
Ignored error pattern #^Comparison operation "\<" between 7 and 7 is always false\.$# in path /home/runner/work/NelmioApiDocBundle/NelmioApiDocBundle/tests/Functional/Controller/UndocumentedController.php was not matched in reported errors.
PHPStan: tests/Functional/Controller/UndocumentedController.php#L17
Comparison operation "<" between 6 and 7 is always true.
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.