Skip to content

fix: multilevel permissions in can() method #2224

fix: multilevel permissions in can() method

fix: multilevel permissions in can() method #2224

Triggered via pull request November 13, 2024 17:14
Status Failure
Total duration 48s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / build
Fit to window
Zoom out
Zoom in

Annotations

15 errors
phpstan / PHP 7.4 Static Analysis: src/Authorization/Traits/Authorizable.php (in context of class CodeIgniter/Shield/Entities/User)#L290
Only booleans are allowed in &&, array<int<0, max>, string> given on the right side.
phpstan / PHP 7.4 Static Analysis: src/Entities/Group.php#L96
Only booleans are allowed in &&, array<int<0, max>, string> given on the right side.
phpstan / PHP 7.4 Static Analysis
Process completed with exit code 1.
phpstan / PHP 8.1 Static Analysis: src/Authorization/Traits/Authorizable.php (in context of class CodeIgniter/Shield/Entities/User)#L290
Only booleans are allowed in &&, array<int<0, max>, string> given on the right side.
phpstan / PHP 8.1 Static Analysis: src/Entities/Group.php#L96
Only booleans are allowed in &&, array<int<0, max>, string> given on the right side.
phpstan / PHP 8.1 Static Analysis
Process completed with exit code 1.
phpstan / PHP 8.3 Static Analysis: src/Authorization/Traits/Authorizable.php (in context of class CodeIgniter/Shield/Entities/User)#L290
Only booleans are allowed in &&, array<int<0, max>, string> given on the right side.
phpstan / PHP 8.3 Static Analysis: src/Entities/Group.php#L96
Only booleans are allowed in &&, array<int<0, max>, string> given on the right side.
phpstan / PHP 8.3 Static Analysis
Process completed with exit code 1.
phpstan / PHP 8.0 Static Analysis: src/Authorization/Traits/Authorizable.php (in context of class CodeIgniter/Shield/Entities/User)#L290
Only booleans are allowed in &&, array<int<0, max>, string> given on the right side.
phpstan / PHP 8.0 Static Analysis: src/Entities/Group.php#L96
Only booleans are allowed in &&, array<int<0, max>, string> given on the right side.
phpstan / PHP 8.0 Static Analysis
Process completed with exit code 1.
phpstan / PHP 8.2 Static Analysis: src/Authorization/Traits/Authorizable.php (in context of class CodeIgniter/Shield/Entities/User)#L290
Only booleans are allowed in &&, array<int<0, max>, string> given on the right side.
phpstan / PHP 8.2 Static Analysis: src/Entities/Group.php#L96
Only booleans are allowed in &&, array<int<0, max>, string> given on the right side.
phpstan / PHP 8.2 Static Analysis
Process completed with exit code 1.