Skip to content

[BUGFIX] Fix condition check for user group in TS config #48

[BUGFIX] Fix condition check for user group in TS config

[BUGFIX] Fix condition check for user group in TS config #48

Triggered via pull request October 9, 2024 13:12
Status Failure
Total duration 31s
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/DigasBaseCommand.php#L212
Call to method getRecordId() on an unknown class Slub\SlubWebDigas\Domain\Model\KitodoDocument.
phpstan: Classes/Command/DigasBaseCommand.php#L213
Call to method getTitle() on an unknown class Slub\SlubWebDigas\Domain\Model\KitodoDocument.
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/AccessController.php#L418
Call to method getTitle() on an unknown class Slub\SlubWebDigas\Domain\Model\KitodoDocument.
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.