Bump phpstan/phpstan from 1.12.13 to 2.1.1 #1535
Annotations
10 errors
Classes/Common/KitodoFlashMessageRenderer.php#L82
Call to function is_int() with int will always evaluate to true.
|
Classes/Common/Solr/SearchResult/ResultDocument.php#L50
Property Kitodo\Dlf\Common\Solr\SearchResult\ResultDocument::$snippets (string|null) is never assigned null so it can be removed from the property type.
|
Classes/Common/Solr/Solr.php#L305
Instanceof between Kitodo\Dlf\Common\Solr\Solr and Kitodo\Dlf\Common\Solr\Solr will always evaluate to true.
|
Classes/Controller/ToolboxController.php#L161
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.UnusedPrivateMethod)): Unexpected token ".UnusedPrivateMethod)", expected ')' at offset 88 on line 3
|
Classes/Controller/ToolboxController.php#L189
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.UnusedPrivateMethod)): Unexpected token ".UnusedPrivateMethod)", expected ')' at offset 95 on line 3
|
Classes/Controller/ToolboxController.php#L213
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.UnusedPrivateMethod)): Unexpected token ".UnusedPrivateMethod)", expected ')' at offset 86 on line 3
|
Classes/Controller/ToolboxController.php#L276
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.UnusedPrivateMethod)): Unexpected token ".UnusedPrivateMethod)", expected ')' at offset 92 on line 3
|
Classes/Controller/ToolboxController.php#L339
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.UnusedPrivateMethod)): Unexpected token ".UnusedPrivateMethod)", expected ')' at offset 96 on line 3
|
Classes/Controller/ToolboxController.php#L357
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.UnusedPrivateMethod)): Unexpected token ".UnusedPrivateMethod)", expected ')' at offset 131 on line 4
|
Classes/Controller/ToolboxController.php#L382
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.UnusedPrivateMethod)): Unexpected token ".UnusedPrivateMethod)", expected ')' at offset 90 on line 3
|
This job failed
Loading