Added PHPStan #298
Annotations
10 errors
Run PHPStan analysis:
src/bundle/Controller/PasswordResetController.php#L1
Ignored error pattern #^Cannot access property \$email on Ibexa\\Contracts\\Core\\Repository\\Values\\User\\User\|false\.$# in path /home/runner/work/user/user/src/bundle/Controller/PasswordResetController.php was not matched in reported errors.
|
Run PHPStan analysis:
src/bundle/Controller/PasswordResetController.php#L101
Parameter #1 $user of method Ibexa\Bundle\User\Controller\PasswordResetController::sendResetPasswordMessage() expects Ibexa\Contracts\Core\Repository\Values\User\User, Ibexa\Contracts\Core\Repository\Values\User\User|false given.
|
Run PHPStan analysis:
src/bundle/Controller/PasswordResetController.php#L266
Method Ibexa\Bundle\User\Controller\PasswordResetController::sendNotification() has parameter $user with no type specified.
|
Run PHPStan analysis:
src/bundle/Controller/UserSettingsController.php#L1
Ignored error pattern #^Property Ibexa\\Bundle\\User\\Controller\\UserSettingsController\:\:\$configResolver is never read, only written\.$# in path /home/runner/work/user/user/src/bundle/Controller/UserSettingsController.php was not matched in reported errors.
|
Run PHPStan analysis:
src/bundle/Controller/UserSettingsController.php#L71
Cannot call method getAPIUser() on Symfony\Component\Security\Core\User\UserInterface|null.
|
Run PHPStan analysis:
src/bundle/Controller/UserSettingsController.php#L107
Call to an undefined method Symfony\Component\Form\FormInterface::getClickedButton().
|
Run PHPStan analysis:
src/bundle/Controller/UserSettingsController.php#L108
Call to an undefined method Symfony\Component\Form\FormInterface::getClickedButton().
|
Run PHPStan analysis:
src/bundle/Controller/UserSettingsController.php#L125
Cannot call method getName() on Ibexa\User\UserSetting\UserSettingGroup|null.
|
Run PHPStan analysis:
src/lib/Form/Processor/UserRegisterFormProcessor.php#L1
Ignored error pattern #^Method Ibexa\\User\\Form\\Processor\\UserRegisterFormProcessor\:\:createUser\(\) has parameter \$languageCode with no type specified\.$# in path /home/runner/work/user/user/src/lib/Form/Processor/UserRegisterFormProcessor.php was not matched in reported errors.
|
Run PHPStan analysis:
src/lib/Form/Processor/UserRegisterFormProcessor.php#L1
Ignored error pattern #^Property Ibexa\\User\\Form\\Processor\\UserRegisterFormProcessor\:\:\$repository \(Ibexa\\Core\\Repository\\Repository\) does not accept Ibexa\\Contracts\\Core\\Repository\\Repository\.$# in path /home/runner/work/user/user/src/lib/Form/Processor/UserRegisterFormProcessor.php was not matched in reported errors.
|
Loading