Add phpstan action #5
Annotations
10 errors and 1 warning
phpstan:
Classes/Command/AbstractIndexCommand.php#L108
Call to an undefined method EWW\Dpf\Domain\Repository\DocumentTypeRepository::findOneByName().
|
phpstan:
Classes/Command/AbstractIndexCommand.php#L130
Unreachable statement - code above always terminates.
|
phpstan:
Classes/Command/IndexByDatabase.php#L101
Method EWW\Dpf\Command\IndexByDatabase::execute() should return int but returns true.
|
phpstan:
Classes/Command/IndexByDatabase.php#L110
Method EWW\Dpf\Command\IndexByDatabase::execute() should return int but returns false.
|
phpstan:
Classes/Command/IndexByFile.php#L128
PHPDoc tag @param references unknown parameter: $file
|
phpstan:
Classes/Command/IndexByFile.php#L148
PHPDoc tag @param has invalid value (string URI to METS/MODS file to index): Unexpected token "URI", expected variable at offset 71 on line 4
|
phpstan:
Classes/Command/IndexByFile.php#L150
PHPDoc tag @param has invalid value (string|null Credentials string as "user:password"): Unexpected token "Credentials", expected variable at offset 194 on line 6
|
phpstan:
Classes/Configuration/ClientConfigurationManager.php#L65
Loose comparison using == between 'BE' and 'FE' will always evaluate to false.
|
phpstan:
Classes/Configuration/ClientConfigurationManager.php#L65
Result of && is always false.
|
phpstan:
Classes/Configuration/ClientConfigurationManager.php#L124
PHPDoc tag @var above a method has no effect.
|
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|