Fix styling #514
Annotations
10 errors and 2 warnings
PossiblyUnusedParam:
src/Actions/Action.php#L58
src/Actions/Action.php:58:54: PossiblyUnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/134)
|
PossiblyUnusedParam:
src/Actions/Action.php#L58
src/Actions/Action.php:58:64: PossiblyUnusedParam: Param #2 is never referenced in this method (see https://psalm.dev/134)
|
PossiblyUnusedMethod:
src/Actions/Action.php#L100
src/Actions/Action.php:100:21: PossiblyUnusedMethod: Cannot find any calls to method Binaryk\LaravelRestify\Actions\Action::authorizedToRun (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Actions/Action.php#L110
src/Actions/Action.php:110:21: PossiblyUnusedMethod: Cannot find any calls to method Binaryk\LaravelRestify\Actions\Action::canRun (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Actions/Action.php#L139
src/Actions/Action.php:139:21: PossiblyUnusedMethod: Cannot find any calls to method Binaryk\LaravelRestify\Actions\Action::standalone (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Actions/Action.php#L156
src/Actions/Action.php:156:21: PossiblyUnusedMethod: Cannot find explicit calls to method Binaryk\LaravelRestify\Actions\Action::handleRequest (but did find some potential callers) (see https://psalm.dev/087)
|
UnusedClosureParam:
src/Actions/Action.php#L173
src/Actions/Action.php:173:51: UnusedClosureParam: Param model is never referenced in this method (see https://psalm.dev/188)
|
UnusedVariable:
src/Actions/Action.php#L184
src/Actions/Action.php:184:21: UnusedVariable: $model is never referenced or the value is not used (see https://psalm.dev/077)
|
PossiblyUnusedParam:
src/Actions/Action.php#L194
src/Actions/Action.php:194:50: PossiblyUnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/134)
|
PossiblyUnusedMethod:
src/Bootstrap/Boot.php#L10
src/Bootstrap/Boot.php:10:21: PossiblyUnusedMethod: Cannot find any calls to method Binaryk\LaravelRestify\Bootstrap\Boot::__construct (see https://psalm.dev/087)
|
psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
psalm
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|