Skip to content

feat(i18n): make notification and middleware messages translatable; r… #7

feat(i18n): make notification and middleware messages translatable; r…

feat(i18n): make notification and middleware messages translatable; r… #7

Triggered via push November 1, 2025 10:40
Status Failure
Total duration 30s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
phpstan
Process completed with exit code 1.
phpstan
Ignored error pattern #Access to an undefined property Beliven\\Lockout\\Models\\LockoutLog::\$# in path /home/runner/work/laravel-lockout/laravel-lockout/src/Lockout.php was not matched in reported errors.
phpstan: src/Models/ModelLockout.php#L125
Method Beliven\Lockout\Models\ModelLockout::createActive() should return static(Beliven\Lockout\Models\ModelLockout) but returns Beliven\Lockout\Models\ModelLockout.
phpstan: src/Models/ModelLockout.php#L84
Left side of && is always true.
phpstan: src/Lockout.php#L195
Call to function method_exists() with Illuminate\Database\Eloquent\Model and 'lock' will always evaluate to true.
phpstan: src/Lockout.php#L154
Call to function method_exists() with Beliven\Lockout\Models\LockoutLog and 'model' will always evaluate to true.
phpstan: src/Listeners/MarkModelAsLocked.php#L30
Call to function method_exists() with Illuminate\Database\Eloquent\Model and 'lock' will always evaluate to true.