Add phpstan action #8
Annotations
10 errors and 1 warning
phpstan:
Classes/Command/AbstractIndexCommand.php#L85
PHPDoc tag @param has invalid value ($xml): Unexpected token "$xml", expected type at offset 18
|
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#L62
If condition is always true.
|
phpstan:
Classes/Command/IndexByDatabase.php#L101
Method EWW\Dpf\Command\IndexByDatabase::execute() should return int but returns true.
|
phpstan:
Classes/Command/IndexByDatabase.php#L106
Unreachable statement - code above always terminates.
|
phpstan:
Classes/Command/IndexByFile.php#L73
Negated boolean expression is always false.
|
phpstan:
Classes/Command/IndexByFile.php#L128
PHPDoc tag @param references unknown parameter: $file
|
phpstan:
Classes/Command/IndexByFile.php#L153
PHPDoc tag @param has invalid value (string URI to METS/MODS file to index): Unexpected token "URI", expected variable at offset 71
|
phpstan:
Classes/Command/IndexByFile.php#L153
PHPDoc tag @param has invalid value (string|null Credentials string as "user:password"): Unexpected token "Credentials", expected variable at offset 194
|
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|