Skip to content

Bump lock-threads action #169

Bump lock-threads action

Bump lock-threads action #169

Triggered via push January 17, 2024 19:51
Status Failure
Total duration 1m 31s
Artifacts

php.yml

on: push
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
0s
Code coverage
Cleanup artifacts
0s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 8 warnings
RedundantCondition: src/ARP.php#L39
src/ARP.php:39:13: RedundantCondition: Type string for $attributemap_filename is never null (see https://psalm.dev/122)
PossiblyUndefinedArrayOffset: src/MetaLoader.php#L121
src/MetaLoader.php:121:52: PossiblyUndefinedArrayOffset: Possibly undefined array key $source['src'] on array<array-key, mixed> (see https://psalm.dev/167)
PossiblyUndefinedArrayOffset: src/MetaLoader.php#L131
src/MetaLoader.php:131:46: PossiblyUndefinedArrayOffset: Possibly undefined array key $source['src'] on array<array-key, mixed> (see https://psalm.dev/167)
PossiblyUndefinedVariable: src/MetaLoader.php#L148
src/MetaLoader.php:148:40: PossiblyUndefinedVariable: Possibly undefined variable $data defined in try block (see https://psalm.dev/018)
InvalidArgument: src/MetaLoader.php#L200
src/MetaLoader.php:200:25: InvalidArgument: Argument 2 of SimpleSAML\Module\metarefresh\MetaLoader::addMetadata expects array<array-key, SAML2\XML\md\AttributeAuthorityDescriptor>|null, but SAML2\XML\md\AttributeAuthorityDescriptor provided (see https://psalm.dev/004)
ArgumentTypeCoercion: src/MetaLoader.php#L345
src/MetaLoader.php:345:50: ArgumentTypeCoercion: Argument 1 of preg_grep expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/MetaLoader.php#L368
src/MetaLoader.php:368:32: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/MetaLoader.php#L368
src/MetaLoader.php:368:45: PossiblyInvalidArgument: Argument 1 of strval expects null|object|scalar, but possibly different type array<array-key, mixed>|string provided (see https://psalm.dev/092)
ArgumentTypeCoercion: src/MetaLoader.php#L462
src/MetaLoader.php:462:51: ArgumentTypeCoercion: Argument 1 of SimpleSAML\XML\DOMDocumentFactory::fromString expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
TooManyArguments: src/MetaLoader.php#L674
src/MetaLoader.php:674:24: TooManyArguments: Too many arguments for SimpleSAML\Metadata\MetaDataStorageHandlerPdo::__construct - expecting 1 but saw 2 (see https://psalm.dev/026)
TooManyArguments: tests/src/Controller/MetaRefreshTest.php#L107
tests/src/Controller/MetaRefreshTest.php:107:25: TooManyArguments: Too many arguments for method SimpleSAML\Module\metarefresh\Controller\MetaRefresh::main - saw 1 (see https://psalm.dev/026)
Quality control
Process completed with exit code 2.
PropertyNotSetInConstructor: tests/src/Controller/MetaRefreshTest.php#L21
tests/src/Controller/MetaRefreshTest.php:21:15: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest::$authsources is not defined in constructor of SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/src/Controller/MetaRefreshTest.php#L24
tests/src/Controller/MetaRefreshTest.php:24:15: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest::$config is not defined in constructor of SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/src/Controller/MetaRefreshTest.php#L27
tests/src/Controller/MetaRefreshTest.php:27:15: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest::$module_config is not defined in constructor of SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/src/Controller/MetaRefreshTest.php#L30
tests/src/Controller/MetaRefreshTest.php:30:15: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest::$authUtils is not defined in constructor of SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest or in any methods called in the constructor (see https://psalm.dev/074)
MissingReturnType: tests/src/Controller/MetaRefreshTest.php#L90
tests/src/Controller/MetaRefreshTest.php:90:21: MissingReturnType: Method SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest::testMetaRefresh does not have a return type, expecting void (see https://psalm.dev/050)
MissingPropertyType: tests/src/MetaLoaderTest.php#L13
tests/src/MetaLoaderTest.php:13:13: MissingPropertyType: Property SimpleSAML\Test\Module\metarefresh\MetaLoaderTest::$metaloader does not have a declared type - consider SimpleSAML\Module\metarefresh\MetaLoader|null (see https://psalm.dev/045)
PropertyNotSetInConstructor: tests/src/MetaLoaderTest.php#L16
tests/src/MetaLoaderTest.php:16:13: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\metarefresh\MetaLoaderTest::$config is not defined in constructor of SimpleSAML\Test\Module\metarefresh\MetaLoaderTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/src/MetaLoaderTest.php#L19
tests/src/MetaLoaderTest.php:19:13: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\metarefresh\MetaLoaderTest::$tmpdir is not defined in constructor of SimpleSAML\Test\Module\metarefresh\MetaLoaderTest or in any private or final methods called in the constructor (see https://psalm.dev/074)