Skip to content

PHPStan improvements #70

PHPStan improvements

PHPStan improvements #70

Triggered via pull request August 23, 2024 13:26
@BaspaBaspa
synchronize #8
feature/php-stan
Status Failure
Total duration 49s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
phpstan: src/Pages/TwoFactor.php#L63
Cannot access property $two_factor_confirmed_at on Illuminate\Foundation\Auth\User|null.
phpstan: src/Pages/TwoFactor.php#L76
Method Vormkracht10\TwoFactorAuth\Pages\TwoFactor::getConfirmationForm() return type has no value type specified in iterable type array.
phpstan: src/Pages/TwoFactor.php#L95
Unable to resolve the template type TKey in call to function collect
phpstan: src/Pages/TwoFactor.php#L95
Unable to resolve the template type TValue in call to function collect
phpstan: src/Pages/TwoFactor.php#L137
Offset 'two_factor_type' does not exist on array{}|array{email?: mixed, two_factor_type?: Vormkracht10\TwoFactorAuth\Enums\TwoFactorType|null}.
phpstan: src/Pages/TwoFactor.php#L145
Cannot call method update() on Illuminate\Foundation\Auth\User|null.
phpstan: src/Pages/TwoFactor.php#L174
Cannot access property $two_factor_confirmed_at on Illuminate\Foundation\Auth\User|null.
phpstan
Process completed with exit code 1.