Feature/redaxo5/ldap auth #8304
static-analysis.yml
on: pull_request
psalm static code analysis
44s
psalm taint analysis
47s
phpstan static code analysis
1m 10s
Annotations
21 errors
MixedAssignment:
redaxo/src/core/backend.php#L77
redaxo/src/core/backend.php:77:5: MixedAssignment: Unable to determine the type that $loginClass is being assigned to (see https://psalm.dev/032)
|
MixedMethodCall:
redaxo/src/core/backend.php#L78
redaxo/src/core/backend.php:78:14: MixedMethodCall: Cannot call constructor on an unknown class (see https://psalm.dev/015)
|
UndefinedClass:
redaxo/src/core/backend.php#L78
redaxo/src/core/backend.php:78:14: UndefinedClass: Type null cannot be called as a class (see https://psalm.dev/019)
|
MixedMethodCall:
redaxo/src/core/backend.php#L87
redaxo/src/core/backend.php:87:17: MixedMethodCall: Cannot determine the type of $login when calling method setLogout (see https://psalm.dev/015)
|
MixedMethodCall:
redaxo/src/core/backend.php#L88
redaxo/src/core/backend.php:88:17: MixedMethodCall: Cannot determine the type of $login when calling method checkLogin (see https://psalm.dev/015)
|
MixedMethodCall:
redaxo/src/core/backend.php#L118
redaxo/src/core/backend.php:118:17: MixedMethodCall: Cannot determine the type of $login when calling method setLogin (see https://psalm.dev/015)
|
MixedMethodCall:
redaxo/src/core/backend.php#L119
redaxo/src/core/backend.php:119:17: MixedMethodCall: Cannot determine the type of $login when calling method setPasskey (see https://psalm.dev/015)
|
MixedMethodCall:
redaxo/src/core/backend.php#L120
redaxo/src/core/backend.php:120:17: MixedMethodCall: Cannot determine the type of $login when calling method setStayLoggedIn (see https://psalm.dev/015)
|
MixedAssignment:
redaxo/src/core/backend.php#L121
redaxo/src/core/backend.php:121:9: MixedAssignment: Unable to determine the type that $loginCheck is being assigned to (see https://psalm.dev/032)
|
MixedMethodCall:
redaxo/src/core/backend.php#L121
redaxo/src/core/backend.php:121:31: MixedMethodCall: Cannot determine the type of $login when calling method checkLogin (see https://psalm.dev/015)
|
psalm taint analysis
Process completed with exit code 2.
|
phpstan static code analysis:
redaxo/src/core/lib/login/backend_login_ldap.php#L6
Property rex_backend_login_ldap::$bindDn has no type specified.
|
phpstan static code analysis:
redaxo/src/core/lib/login/backend_login_ldap.php#L7
Property rex_backend_login_ldap::$clearTextPassword has no type specified.
|
phpstan static code analysis:
redaxo/src/core/lib/login/backend_login_ldap.php#L8
Property rex_backend_login_ldap::$ignorePassword has no type specified.
|
phpstan static code analysis:
redaxo/src/core/lib/login/backend_login_ldap.php#L9
Property rex_backend_login_ldap::$config has no type specified.
|
phpstan static code analysis:
redaxo/src/core/lib/login/backend_login_ldap.php#L9
Property rex_backend_login_ldap::$config is never read, only written.
|
phpstan static code analysis:
redaxo/src/core/lib/login/backend_login_ldap.php#L62
Method rex_backend_login_ldap::doAuthLdap() has no return type specified.
|
phpstan static code analysis:
redaxo/src/core/lib/login/backend_login_ldap.php#L82
Method rex_backend_login_ldap::openLdapConnection() has no return type specified.
|
phpstan static code analysis:
redaxo/src/core/lib/login/backend_login_ldap.php#L105
Method rex_backend_login_ldap::fetchLdapAttributes() return type has no value type specified in iterable type array.
|
phpstan static code analysis:
redaxo/src/core/lib/login/backend_login_ldap.php#L146
Variable $config might not be defined.
|
phpstan static code analysis:
redaxo/src/core/lib/login/backend_login_ldap.php#L166
Variable $config might not be defined.
|