Skip to content

[MAINTENANCE] Ignore errors related to classes coming from slub-web-digas repository #79

[MAINTENANCE] Ignore errors related to classes coming from slub-web-digas repository

[MAINTENANCE] Ignore errors related to classes coming from slub-web-digas repository #79

Triggered via pull request January 24, 2025 17:08
Status Failure
Total duration 27s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: Classes/Command/DigasBaseCommand.php#L208
Variable $feUser in empty() always exists and is not falsy.
phpstan: Classes/Command/KitodoAccessGrantedNotification.php#L107
Parameter #2 $notificationTimestamp (string) of method Slub\DigasFeManagement\Command\KitodoAccessGrantedNotification::updateAccessEntry() should be compatible with parameter $notificationTimestamp (int) of method Slub\DigasFeManagement\Command\DigasBaseCommand::updateAccessEntry()
phpstan: Classes/Command/KitodoAccessGrantedNotification.php#L110
Parameter #1 $accessGrantedNotification of method Slub\DigasFeManagement\Domain\Model\Access::setAccessGrantedNotification() expects int, string given.
phpstan: Classes/Controller/AdministrationController.php#L86
Variable $user in empty() always exists and is not falsy.
phpstan: Classes/Controller/AdministrationController.php#L99
Variable $user in empty() always exists and is not falsy.
phpstan: Classes/Controller/AdministrationController.php#L131
Parameter #1 $inactivemessageTstamp of method Slub\DigasFeManagement\Domain\Model\User::setInactivemessageTstamp() expects DateTime, null given.
phpstan: Classes/Controller/AdministrationController.php#L147
Variable $user in empty() always exists and is not falsy.
phpstan: Classes/Controller/BasketController.php#L122
Call to method getUid() on an unknown class Slub\SlubWebDigas\Domain\Model\KitodoDocument.
phpstan: Classes/Controller/BasketController.php#L142
Property Slub\DigasFeManagement\Controller\BasketController::$documents (TYPO3\CMS\Extbase\Persistence\Generic\QueryResult) does not accept array<string, array>.
phpstan: Classes/Controller/BasketController.php#L202
Property Slub\DigasFeManagement\Controller\BasketController::$documents (TYPO3\CMS\Extbase\Persistence\Generic\QueryResult) in empty() is not falsy.