Skip to content

fix: return types on services trait #13

fix: return types on services trait

fix: return types on services trait #13

Triggered via pull request January 7, 2025 20:02
Status Failure
Total duration 27s
Artifacts

code-analysis.yaml

on: pull_request
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
PHPStan: src/console/controllers/RetentionController.php#L103
Call to method resetPasswords() on an unknown class craftpulse\passwordpolicy\services\Retention.
PHPStan: src/console/controllers/RetentionController.php#L110
Call to method resetPasswords() on an unknown class craftpulse\passwordpolicy\services\Retention.
PHPStan: src/controllers/RetentionController.php#L73
Call to method resetPasswords() on an unknown class craftpulse\passwordpolicy\services\Retention.
PHPStan: src/jobs/PasswordResetJob.php#L90
Call to method requirePasswordReset() on an unknown class craftpulse\passwordpolicy\services\Retention.
PHPStan: src/rules/UserRules.php#L46
Call to method generatePattern() on an unknown class craftpulse\passwordpolicy\services\Passwords.
PHPStan: src/rules/UserRules.php#L50
Call to method generateMessage() on an unknown class craftpulse\passwordpolicy\services\Passwords.
PHPStan: src/services/ServicesTrait.php (in context of class craftpulse/passwordpolicy/PasswordPolicy)#L51
Method craftpulse\passwordpolicy\PasswordPolicy::getPasswords() has invalid return type craftpulse\passwordpolicy\services\Passwords.
PHPStan: src/services/ServicesTrait.php (in context of class craftpulse/passwordpolicy/PasswordPolicy)#L51
Method craftpulse\passwordpolicy\PasswordPolicy::getPasswords() has invalid return type craftpulse\passwordpolicy\services\Passwords.
PHPStan: src/services/ServicesTrait.php (in context of class craftpulse/passwordpolicy/PasswordPolicy)#L62
Method craftpulse\passwordpolicy\PasswordPolicy::getRetention() has invalid return type craftpulse\passwordpolicy\services\Retention.
PHPStan: src/services/ServicesTrait.php (in context of class craftpulse/passwordpolicy/PasswordPolicy)#L62
Method craftpulse\passwordpolicy\PasswordPolicy::getRetention() has invalid return type craftpulse\passwordpolicy\services\Retention.
Coding Standards
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636