Skip to content

Merge pull request #17 from IBEC-BOX/feat/policy #29

Merge pull request #17 from IBEC-BOX/feat/policy

Merge pull request #17 from IBEC-BOX/feat/policy #29

Triggered via push July 31, 2024 07:54
Status Failure
Total duration 48s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: src/Policies/LocalizationPolicy.php#L16
Parameter $adminKitUser of method AdminKit\Localizations\Policies\LocalizationPolicy::viewAny() has invalid type App\Models\AdminKitUser.
phpstan: src/Policies/LocalizationPolicy.php#L18
Call to method can() on an unknown class App\Models\AdminKitUser.
phpstan: src/Policies/LocalizationPolicy.php#L24
Parameter $adminKitUser of method AdminKit\Localizations\Policies\LocalizationPolicy::view() has invalid type App\Models\AdminKitUser.
phpstan: src/Policies/LocalizationPolicy.php#L26
Call to method can() on an unknown class App\Models\AdminKitUser.
phpstan: src/Policies/LocalizationPolicy.php#L32
Parameter $adminKitUser of method AdminKit\Localizations\Policies\LocalizationPolicy::create() has invalid type App\Models\AdminKitUser.
phpstan: src/Policies/LocalizationPolicy.php#L34
Call to method can() on an unknown class App\Models\AdminKitUser.
phpstan: src/Policies/LocalizationPolicy.php#L40
Parameter $adminKitUser of method AdminKit\Localizations\Policies\LocalizationPolicy::update() has invalid type App\Models\AdminKitUser.
phpstan: src/Policies/LocalizationPolicy.php#L42
Call to method can() on an unknown class App\Models\AdminKitUser.
phpstan: src/Policies/LocalizationPolicy.php#L48
Parameter $adminKitUser of method AdminKit\Localizations\Policies\LocalizationPolicy::delete() has invalid type App\Models\AdminKitUser.
phpstan: src/Policies/LocalizationPolicy.php#L50
Call to method can() on an unknown class App\Models\AdminKitUser.
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/