Skip to content

chore: add phpstan to CI #2

chore: add phpstan to CI

chore: add phpstan to CI #2

Triggered via pull request May 2, 2024 15:55
@usuusu
synchronize #622
usu:chore/phpstan
Status Failure
Total duration 30s
Artifacts

static.yml

on: pull_request
PHPStan src
16s
PHPStan src
PHPStan tests
19s
PHPStan tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan src: src/Command/BaseInvalidateCommand.php#L22
Class FOS\HttpCacheBundle\Command\BaseInvalidateCommand extends unknown class Symfony\Component\Console\Command\Command.
PHPStan src: src/Command/BaseInvalidateCommand.php#L31
FOS\HttpCacheBundle\Command\BaseInvalidateCommand::__construct() calls parent::__construct() but FOS\HttpCacheBundle\Command\BaseInvalidateCommand does not extend any class.
PHPStan src: src/Command/ClearCommand.php#L24
Attribute class Symfony\Component\Console\Attribute\AsCommand does not exist.
PHPStan src: src/Command/ClearCommand.php#L31
Call to an undefined method FOS\HttpCacheBundle\Command\ClearCommand::setName().
PHPStan src: src/Command/ClearCommand.php#L46
Parameter $input of method FOS\HttpCacheBundle\Command\ClearCommand::execute() has invalid type Symfony\Component\Console\Input\InputInterface.
PHPStan src: src/Command/ClearCommand.php#L46
Parameter $output of method FOS\HttpCacheBundle\Command\ClearCommand::execute() has invalid type Symfony\Component\Console\Output\OutputInterface.
PHPStan src: src/Command/InvalidatePathCommand.php#L24
Attribute class Symfony\Component\Console\Attribute\AsCommand does not exist.
PHPStan src: src/Command/InvalidatePathCommand.php#L31
Call to an undefined method FOS\HttpCacheBundle\Command\InvalidatePathCommand::setName().
PHPStan src: src/Command/InvalidatePathCommand.php#L36
Access to constant IS_ARRAY on an unknown class Symfony\Component\Console\Input\InputArgument.
PHPStan src: src/Command/InvalidatePathCommand.php#L36
Access to constant REQUIRED on an unknown class Symfony\Component\Console\Input\InputArgument.