Skip to content

Add support for multi level permissions in can() #2222

Add support for multi level permissions in can()

Add support for multi level permissions in can() #2222

Triggered via pull request November 9, 2024 18:52
Status Failure
Total duration 51s
Artifacts

phpstan.yml

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

Annotations

15 errors
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#L95
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.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#L95
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 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#L95
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.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#L95
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.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#L95
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.