Fix #126
php.yml
on: push
Annotations
5 errors and 13 warnings
PossiblyNullArrayAccess:
src/Auth/Source/X509userCert.php#L217
src/Auth/Source/X509userCert.php:217:64: PossiblyNullArrayAccess: Cannot access array value on possibly null variable $ldap_certs[0] of type array<array-key, mixed>|null (see https://psalm.dev/079)
|
PossiblyNullArgument:
src/Auth/Source/X509userCert.php#L217
src/Auth/Source/X509userCert.php:217:64: PossiblyNullArgument: Argument 2 of array_merge cannot be null, possibly null value provided (see https://psalm.dev/078)
|
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)
|
Quality control
Process completed with exit code 2.
|
PossiblyNullOperand:
src/Auth/Source/X509userCert.php#L207
src/Auth/Source/X509userCert.php:207:78: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)
|
PossiblyNullOperand:
src/Auth/Source/X509userCert.php#L226
src/Auth/Source/X509userCert.php:226:77: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)
|
PossiblyNullOperand:
src/Auth/Source/X509userCert.php#L242
src/Auth/Source/X509userCert.php:242:70: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)
|
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.2, ubuntu-latest:
vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php#L819
Undefined array key "REQUEST_URI"
|
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, windows-latest:
vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php#L819
Undefined array key "REQUEST_URI"
|
Unit tests, PHP 8.3, windows-latest:
vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php#L819
Undefined array key "REQUEST_URI"
|
Unit tests, PHP 8.1, windows-latest:
vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php#L819
Undefined array key "REQUEST_URI"
|