Skip to content

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

Add support for multi level permissions in can()

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

Triggered via pull request November 11, 2024 16:25
Status Failure
Total duration 10m 36s
Artifacts

phpstan.yml

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

Annotations

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