Data mapper #535
Annotations
24 errors and 3 warnings
Code analysis with PHPStan PHP 8.2:
src/Linna/Authorization/PermissionExtended.php#L35
Method Linna\Authorization\PermissionExtended::__construct() has parameter $roles with no value type specified in iterable type array.
|
Code analysis with PHPStan PHP 8.2:
src/Linna/Authorization/PermissionExtended.php#L35
Method Linna\Authorization\PermissionExtended::__construct() has parameter $users with no value type specified in iterable type array.
|
Code analysis with PHPStan PHP 8.2:
src/Linna/Authorization/Role.php#L33
PHPDoc tag @param references unknown parameter: $permissions
|
Code analysis with PHPStan PHP 8.2:
src/Linna/Authorization/Role.php#L33
PHPDoc tag @param references unknown parameter: $users
|
Code analysis with PHPStan PHP 8.2:
src/Linna/Authorization/UserExtended.php#L42
Constructor of class Linna\Authorization\UserExtended has an unused parameter $email.
|
Code analysis with PHPStan PHP 8.2:
src/Linna/Authorization/UserExtended.php#L44
Property Linna\Authorization\UserExtended::$passwordUtility is never read, only written.
|
Code analysis with PHPStan PHP 8.2:
src/Linna/Cache/RedisCache.php#L164
Comparison operation ">" between (bool|int|Redis) and 0 results in an error.
|
Code analysis with PHPStan PHP 8.2
Process completed with exit code 1.
|
Code analysis with PHPStan PHP 8.1:
src/Linna/Authorization/PermissionExtended.php#L35
Method Linna\Authorization\PermissionExtended::__construct() has parameter $roles with no value type specified in iterable type array.
|
Code analysis with PHPStan PHP 8.1:
src/Linna/Authorization/PermissionExtended.php#L35
Method Linna\Authorization\PermissionExtended::__construct() has parameter $users with no value type specified in iterable type array.
|
Code analysis with PHPStan PHP 8.1:
src/Linna/Authorization/Role.php#L33
PHPDoc tag @param references unknown parameter: $permissions
|
Code analysis with PHPStan PHP 8.1:
src/Linna/Authorization/Role.php#L33
PHPDoc tag @param references unknown parameter: $users
|
Code analysis with PHPStan PHP 8.1:
src/Linna/Authorization/UserExtended.php#L42
Constructor of class Linna\Authorization\UserExtended has an unused parameter $email.
|
Code analysis with PHPStan PHP 8.1:
src/Linna/Authorization/UserExtended.php#L44
Property Linna\Authorization\UserExtended::$passwordUtility is never read, only written.
|
Code analysis with PHPStan PHP 8.1:
src/Linna/Cache/RedisCache.php#L164
Comparison operation ">" between (bool|int|Redis) and 0 results in an error.
|
Code analysis with PHPStan PHP 8.1
Process completed with exit code 1.
|
Code analysis with PHPStan PHP 8.3:
src/Linna/Authorization/PermissionExtended.php#L35
Method Linna\Authorization\PermissionExtended::__construct() has parameter $roles with no value type specified in iterable type array.
|
Code analysis with PHPStan PHP 8.3:
src/Linna/Authorization/PermissionExtended.php#L35
Method Linna\Authorization\PermissionExtended::__construct() has parameter $users with no value type specified in iterable type array.
|
Code analysis with PHPStan PHP 8.3:
src/Linna/Authorization/Role.php#L33
PHPDoc tag @param references unknown parameter: $permissions
|
Code analysis with PHPStan PHP 8.3:
src/Linna/Authorization/Role.php#L33
PHPDoc tag @param references unknown parameter: $users
|
Code analysis with PHPStan PHP 8.3:
src/Linna/Authorization/UserExtended.php#L42
Constructor of class Linna\Authorization\UserExtended has an unused parameter $email.
|
Code analysis with PHPStan PHP 8.3:
src/Linna/Authorization/UserExtended.php#L44
Property Linna\Authorization\UserExtended::$passwordUtility is never read, only written.
|
Code analysis with PHPStan PHP 8.3:
src/Linna/Cache/RedisCache.php#L164
Comparison operation ">" between (bool|int|Redis) and 0 results in an error.
|
Code analysis with PHPStan PHP 8.3
Process completed with exit code 1.
|
Code analysis with PHPStan PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Code analysis with PHPStan PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Code analysis with PHPStan PHP 8.3
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|