Migrate to v2 of the ldap-module #117
php.yml
on: pull_request
Annotations
18 errors and 12 warnings
PossiblyNullArgument:
src/Auth/Source/X509userCert.php#L216
src/Auth/Source/X509userCert.php:216:64: PossiblyNullArgument: Argument 2 of array_merge cannot be null, possibly null value provided (see https://psalm.dev/078)
|
MissingDependency:
src/Auth/Source/X509userCert.php#L284
src/Auth/Source/X509userCert.php:284:37: MissingDependency: Symfony\Component\Ldap\Security\LdapUserProvider depends on class or interface symfony\component\security\core\user\userproviderinterface that does not exist (see https://psalm.dev/157)
|
MissingDependency:
src/Auth/Source/X509userCert.php#L284
src/Auth/Source/X509userCert.php:284:37: MissingDependency: Symfony\Component\Ldap\Security\LdapUserProvider depends on class or interface symfony\component\security\core\user\passwordupgraderinterface that does not exist (see https://psalm.dev/157)
|
InvalidArgument:
src/Auth/Source/X509userCert.php#L284
src/Auth/Source/X509userCert.php:284:54: InvalidArgument: Argument 1 of Symfony\Component\Ldap\Security\LdapUserProvider::__construct expects Symfony\Component\Ldap\LdapInterface, but SimpleSAML\Module\ldap\ConnectorInterface provided (see https://psalm.dev/004)
|
MissingDependency:
src/Auth/Source/X509userCert.php#L286
src/Auth/Source/X509userCert.php:286:24: MissingDependency: Symfony\Component\Ldap\Security\LdapUserProvider depends on class or interface symfony\component\security\core\user\userproviderinterface that does not exist (see https://psalm.dev/157)
|
MissingDependency:
src/Auth/Source/X509userCert.php#L286
src/Auth/Source/X509userCert.php:286:24: MissingDependency: Symfony\Component\Ldap\Security\LdapUserProvider depends on class or interface symfony\component\security\core\user\passwordupgraderinterface that does not exist (see https://psalm.dev/157)
|
UndefinedClass:
src/Auth/Source/X509userCert.php#L286
src/Auth/Source/X509userCert.php:286:24: UndefinedClass: Class, interface or enum named Symfony\Component\Security\Core\User\UserInterface does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Auth/Source/X509userCert.php#L287
src/Auth/Source/X509userCert.php:287:22: UndefinedClass: Class, interface or enum named Symfony\Component\Security\Core\Exception\UserNotFoundException does not exist (see https://psalm.dev/019)
|
ArgumentTypeCoercion:
src/Controller/ExpiryWarning.php#L78
src/Controller/ExpiryWarning.php:78:46: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Auth\State::loadState expects string, but parent type scalar provided (see https://psalm.dev/193)
|
DocblockTypeContradiction:
src/Controller/ExpiryWarning.php#L80
src/Controller/ExpiryWarning.php:80:13: DocblockTypeContradiction: Cannot resolve types for $state - docblock-defined type array<array-key, mixed> does not contain null (see https://psalm.dev/155)
|
Unit tests, PHP 8.1, windows-latest
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires symfony/ldap ^6.4 -> satisfiable by symfony/ldap[v6.4.0, v6.4.3].
- symfony/ldap[v6.4.0, ..., v6.4.3] require ext-ldap * -> it is missing from your system. Install or enable PHP's ldap extension.
Problem 2
- simplesamlphp/simplesamlphp-module-ldap[v2.2.0, ..., v2.3.5] require ext-ldap * -> it is missing from your system. Install or enable PHP's ldap extension.
- Root composer.json requires simplesamlphp/simplesamlphp-module-ldap ^2.2 -> satisfiable by simplesamlphp/simplesamlphp-module-ldap[v2.2.0, ..., v2.3.5].
To enable extensions, verify that they are enabled in your .ini files:
- C:\tools\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-ldap` to temporarily ignore these required extensions.
|
Unit tests, PHP 8.1, windows-latest
Process completed with exit code 1.
|
Unit tests, PHP 8.3, windows-latest
The job was canceled because "windows-latest_8_1" failed.
|
Unit tests, PHP 8.3, windows-latest
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires symfony/ldap ^6.4 -> satisfiable by symfony/ldap[v6.4.0, v6.4.3].
- symfony/ldap[v6.4.0, ..., v6.4.3] require ext-ldap * -> it is missing from your system. Install or enable PHP's ldap extension.
Problem 2
- simplesamlphp/simplesamlphp-module-ldap[v2.2.0, ..., v2.3.5] require ext-ldap * -> it is missing from your system. Install or enable PHP's ldap extension.
- Root composer.json requires simplesamlphp/simplesamlphp-module-ldap ^2.2 -> satisfiable by simplesamlphp/simplesamlphp-module-ldap[v2.2.0, ..., v2.3.5].
To enable extensions, verify that they are enabled in your .ini files:
- C:\tools\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-ldap` to temporarily ignore these required extensions.
|
Unit tests, PHP 8.3, windows-latest
Process completed with exit code 1.
|
Unit tests, PHP 8.2, windows-latest
The job was canceled because "windows-latest_8_1" failed.
|
Unit tests, PHP 8.2, windows-latest
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires symfony/ldap ^6.4 -> satisfiable by symfony/ldap[v6.4.0, v6.4.3].
- symfony/ldap[v6.4.0, ..., v6.4.3] require ext-ldap * -> it is missing from your system. Install or enable PHP's ldap extension.
Problem 2
- simplesamlphp/simplesamlphp-module-ldap[v2.2.0, ..., v2.3.5] require ext-ldap * -> it is missing from your system. Install or enable PHP's ldap extension.
- Root composer.json requires simplesamlphp/simplesamlphp-module-ldap ^2.2 -> satisfiable by simplesamlphp/simplesamlphp-module-ldap[v2.2.0, ..., v2.3.5].
To enable extensions, verify that they are enabled in your .ini files:
- C:\tools\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-ldap` to temporarily ignore these required extensions.
|
Unit tests, PHP 8.2, windows-latest
Process completed with exit code 1.
|
DeprecatedMethod:
src/Auth/Source/X509userCert.php#L119
src/Auth/Source/X509userCert.php:119:23: DeprecatedMethod: The method SimpleSAML\Error\ErrorCodes::getAllErrorCodeMessages has been marked as deprecated (see https://psalm.dev/001)
|
PossiblyNullOperand:
src/Auth/Source/X509userCert.php#L206
src/Auth/Source/X509userCert.php:206:78: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)
|
PossiblyNullOperand:
src/Auth/Source/X509userCert.php#L225
src/Auth/Source/X509userCert.php:225:77: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)
|
PossiblyNullOperand:
src/Auth/Source/X509userCert.php#L241
src/Auth/Source/X509userCert.php:241:70: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)
|
DeprecatedMethod:
src/Controller/ExpiryWarning.php#L92
src/Controller/ExpiryWarning.php:92:34: DeprecatedMethod: The method SimpleSAML\Error\ErrorCodes::getAllErrorCodeMessages has been marked as deprecated (see https://psalm.dev/001)
|
PropertyNotSetInConstructor:
tests/src/Controller/AuthX509Test.php#L25
tests/src/Controller/AuthX509Test.php:25:29: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\authX509\Controller\AuthX509Test::$config is not defined in constructor of SimpleSAML\Test\Module\authX509\Controller\AuthX509Test or in any methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/src/Controller/AuthX509Test.php#L28
tests/src/Controller/AuthX509Test.php:28:23: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\authX509\Controller\AuthX509Test::$session is not defined in constructor of SimpleSAML\Test\Module\authX509\Controller\AuthX509Test or in any methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/src/Controller/AuthX509Test.php#L25
tests/src/Controller/AuthX509Test.php:25:29: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\authX509\Controller\AuthX509Test::$config is not defined in constructor of SimpleSAML\Test\Module\authX509\Controller\AuthX509Test or in any methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/src/Controller/AuthX509Test.php#L28
tests/src/Controller/AuthX509Test.php:28:23: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\authX509\Controller\AuthX509Test::$session is not defined in constructor of SimpleSAML\Test\Module\authX509\Controller\AuthX509Test or in any methods called in the constructor (see https://psalm.dev/074)
|
Unit tests, PHP 8.3, ubuntu-latest:
vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php#L819
Undefined array key "REQUEST_URI"
|
Unit tests, PHP 8.1, ubuntu-latest:
vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php#L819
Undefined array key "REQUEST_URI"
|
Unit tests, PHP 8.2, ubuntu-latest:
vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php#L819
Undefined array key "REQUEST_URI"
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-data
Expired
|
213 KB |
|