Update PHPStan packages (major) #4982
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/builder/src/Generators/Entity/MigrationGenerator.php#L109
Parameter #1 $array (array<non-falsy-string>) to function array_filter does not contain falsy values, the array will always stay the same.
|
Run PHPStan:
packages/builder/src/Services/Build/BuildRecorder.php#L153
Call to function method_exists() with Moox\Builder\Blocks\AbstractBlock and 'getUseStatements' will always evaluate to true.
|
Run PHPStan:
packages/builder/src/Services/Build/BuildRecorder.php#L160
Call to function method_exists() with Moox\Builder\Blocks\AbstractBlock and 'getTraits' will always evaluate to true.
|
Run PHPStan:
packages/builder/src/Services/Build/BuildRecorder.php#L167
Call to function method_exists() with Moox\Builder\Blocks\AbstractBlock and 'getMethods' will always evaluate to true.
|
Run PHPStan:
packages/builder/src/Services/Build/BuildRecorder.php#L170
Call to function method_exists() with Moox\Builder\Blocks\AbstractBlock and 'getFormFields' will always evaluate to true.
|
Run PHPStan:
packages/builder/src/Services/Build/BuildRecorder.php#L173
Call to function method_exists() with Moox\Builder\Blocks\AbstractBlock and 'getTableColumns' will always evaluate to true.
|
Run PHPStan:
packages/builder/src/Traits/HandlesMigrationFiles.php#L9
Trait Moox\Builder\Traits\HandlesMigrationFiles is used zero times and is not analysed.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading