Skip to content

fix: multilevel permissions in can() method #2239

fix: multilevel permissions in can() method

fix: multilevel permissions in can() method #2239

Triggered via pull request February 7, 2025 04:06
Status Failure
Total duration 1m 11s
Artifacts

phpstan.yml

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

Annotations

34 errors
phpstan / PHP 8.0 Static Analysis
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires codeigniter4/devkit ^1.0 -> satisfiable by codeigniter4/devkit[v1.0.0-beta.1, ..., v1.3.0]. - Root composer.json requires codeigniter4/framework >=4.3.5 <4.5.0 || ^4.5.1 -> satisfiable by codeigniter4/framework[v4.3.5, ..., v4.6.0]. - codeigniter4/devkit[v1.0.0-beta.1, ..., v1.2.3] require roave/security-advisories dev-latest -> satisfiable by roave/security-advisories[dev-latest]. - codeigniter4/devkit v1.1.2 requires rector/rector ^0.18.3 -> found rector/rector[0.18.3, ..., 0.18.13] but it conflicts with your root composer.json require (1.2.10). - codeigniter4/devkit v1.2.0 requires rector/rector ^0.19.0 -> found rector/rector[0.19.0, ..., 0.19.8] but it conflicts with your root composer.json require (1.2.10). - codeigniter4/devkit v1.3.0 requires php ^8.1 -> your php version (8.0.30) does not satisfy that requirement. - codeigniter4/framework[v4.5.1, ..., v4.6.0] require php ^8.1 -> your php version (8.0.30) does not satisfy that requirement. - roave/security-advisories dev-latest conflicts with codeigniter4/framework <4.5.8.
phpstan / PHP 8.0 Static Analysis
Process completed with exit code 2.
phpstan / PHP 7.4 Static Analysis
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires codeigniter4/devkit ^1.0 -> satisfiable by codeigniter4/devkit[v1.0.0-beta.1, ..., v1.3.0]. - Root composer.json requires codeigniter4/framework >=4.3.5 <4.5.0 || ^4.5.1 -> satisfiable by codeigniter4/framework[v4.3.5, ..., v4.6.0]. - codeigniter4/devkit[v1.0.0-beta.1, ..., v1.2.3] require roave/security-advisories dev-latest -> satisfiable by roave/security-advisories[dev-latest]. - codeigniter4/devkit v1.1.2 requires rector/rector ^0.18.3 -> found rector/rector[0.18.3, ..., 0.18.13] but it conflicts with your root composer.json require (1.2.10). - codeigniter4/devkit v1.2.0 requires rector/rector ^0.19.0 -> found rector/rector[0.19.0, ..., 0.19.8] but it conflicts with your root composer.json require (1.2.10). - codeigniter4/devkit v1.3.0 requires php ^8.1 -> your php version (7.4.33) does not satisfy that requirement. - codeigniter4/framework[v4.5.1, ..., v4.6.0] require php ^8.1 -> your php version (7.4.33) does not satisfy that requirement. - roave/security-advisories dev-latest conflicts with codeigniter4/framework <4.5.8.
phpstan / PHP 7.4 Static Analysis
Process completed with exit code 2.
phpstan / PHP 8.2 Static Analysis: src/Authentication/Passwords/PwnedValidator.php#L48
PHPDoc tag @var with type string is not subtype of type uppercase-string.
phpstan / PHP 8.2 Static Analysis: src/Commands/Hmac.php#L130
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.2 Static Analysis: src/Commands/Hmac.php#L131
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.2 Static Analysis: src/Commands/Hmac.php#L137
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.2 Static Analysis: src/Commands/Hmac.php#L137
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.2 Static Analysis: src/Commands/Hmac.php#L140
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.2 Static Analysis: src/Commands/Hmac.php#L142
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.2 Static Analysis: src/Commands/Hmac.php#L164
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.2 Static Analysis: src/Commands/Hmac.php#L165
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.2 Static Analysis: src/Commands/Hmac.php#L170
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.1 Static Analysis: src/Authentication/Passwords/PwnedValidator.php#L48
PHPDoc tag @var with type string is not subtype of type uppercase-string.
phpstan / PHP 8.1 Static Analysis: src/Commands/Hmac.php#L130
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.1 Static Analysis: src/Commands/Hmac.php#L131
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.1 Static Analysis: src/Commands/Hmac.php#L137
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.1 Static Analysis: src/Commands/Hmac.php#L137
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.1 Static Analysis: src/Commands/Hmac.php#L140
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.1 Static Analysis: src/Commands/Hmac.php#L142
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.1 Static Analysis: src/Commands/Hmac.php#L164
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.1 Static Analysis: src/Commands/Hmac.php#L165
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.1 Static Analysis: src/Commands/Hmac.php#L170
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.3 Static Analysis: src/Authentication/Passwords/PwnedValidator.php#L48
PHPDoc tag @var with type string is not subtype of type uppercase-string.
phpstan / PHP 8.3 Static Analysis: src/Commands/Hmac.php#L130
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.3 Static Analysis: src/Commands/Hmac.php#L131
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.3 Static Analysis: src/Commands/Hmac.php#L137
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.3 Static Analysis: src/Commands/Hmac.php#L137
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.3 Static Analysis: src/Commands/Hmac.php#L140
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.3 Static Analysis: src/Commands/Hmac.php#L142
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.3 Static Analysis: src/Commands/Hmac.php#L164
Cannot access property $secret2 on array<string, string>|object.
phpstan / PHP 8.3 Static Analysis: src/Commands/Hmac.php#L165
Cannot access property $id on array<string, string>|object.
phpstan / PHP 8.3 Static Analysis: src/Commands/Hmac.php#L170
Cannot access property $secret2 on array<string, string>|object.