Update PHPStan packages (major) #4920
Annotations
10 errors and 1 warning
Run PHPStan:
app/Http/Middleware/Authenticate.php#L17
Method App\Http\Middleware\Authenticate::redirectTo() should return string|null but return statement is missing.
|
Run PHPStan:
app/Models/User.php#L22
PHPDoc type array<int, string> of property App\Models\User::$fillable is not covariant with PHPDoc type list<string> of overridden property Illuminate\Database\Eloquent\Model::$fillable.
|
Run PHPStan:
app/Models/User.php#L31
PHPDoc type array<int, string> of property App\Models\User::$hidden is not covariant with PHPDoc type list<string> of overridden property Illuminate\Database\Eloquent\Model::$hidden.
|
Run PHPStan:
packages/audit/src/Commands/InstallCommand.php#L53
Offset 0 does not exist on ''|array{}.
|
Run PHPStan:
packages/builder/config/builder.php#L198
Called 'env' outside of the config directory which returns null when the config is cached, use 'config'.
|
Run PHPStan:
packages/builder/config/builder.php#L199
Called 'env' outside of the config directory which returns null when the config is cached, use 'config'.
|
Run PHPStan:
packages/builder/src/Commands/InstallCommand.php#L55
Offset 0 does not exist on ''|array{}.
|
Run PHPStan:
packages/builder/workbench/app/Models/User.php#L22
PHPDoc type array<int, string> of property Workbench\App\Models\User::$fillable is not covariant with PHPDoc type list<string> of overridden property Illuminate\Database\Eloquent\Model::$fillable.
|
Run PHPStan:
packages/builder/workbench/app/Models/User.php#L33
PHPDoc type array<int, string> of property Workbench\App\Models\User::$hidden is not covariant with PHPDoc type list<string> of overridden property Illuminate\Database\Eloquent\Model::$hidden.
|
Run PHPStan:
packages/core/config/core.php#L405
Called 'env' outside of the config directory which returns null when the config is cached, use 'config'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading