Fix styling #288
Annotations
10 errors and 1 warning
phpstan:
src/Commands/Concerns/CanGeneratePolicy.php (in context of class BezhanSalleh/FilamentShield/Commands/MakeShieldGenerateCommand)#L46
Cannot call method toArray() on array|ArrayAccess.
|
phpstan:
src/Commands/MakeShieldGenerateCommand.php#L139
Call to an undefined static method BezhanSalleh\FilamentShield\Facades\FilamentShield::getResources().
|
phpstan:
src/Commands/MakeShieldGenerateCommand.php#L156
Call to an undefined static method BezhanSalleh\FilamentShield\Facades\FilamentShield::getPages().
|
phpstan:
src/Commands/MakeShieldGenerateCommand.php#L173
Call to an undefined static method BezhanSalleh\FilamentShield\Facades\FilamentShield::getWidgets().
|
phpstan:
src/Commands/MakeShieldGenerateCommand.php#L195
Call to an undefined static method BezhanSalleh\FilamentShield\Facades\FilamentShield::generateForResource().
|
phpstan:
src/Commands/MakeShieldGenerateCommand.php#L203
Call to an undefined static method BezhanSalleh\FilamentShield\Facades\FilamentShield::generateForResource().
|
phpstan:
src/Commands/MakeShieldGenerateCommand.php#L213
Call to an undefined static method BezhanSalleh\FilamentShield\Facades\FilamentShield::generateForPage().
|
phpstan:
src/Commands/MakeShieldGenerateCommand.php#L222
Call to an undefined static method BezhanSalleh\FilamentShield\Facades\FilamentShield::generateForWidget().
|
phpstan:
src/Resources/RoleResource.php#L88
Call to an undefined static method BezhanSalleh\FilamentShield\Facades\FilamentShield::getPages().
|
phpstan:
src/Resources/RoleResource.php#L102
Call to an undefined static method BezhanSalleh\FilamentShield\Facades\FilamentShield::getWidgets().
|
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|