Skip to content

Replace super-linter with a reusable workflow #111

Replace super-linter with a reusable workflow

Replace super-linter with a reusable workflow #111

Triggered via pull request April 30, 2025 19:56
Status Failure
Total duration 1m 50s
Artifacts

php.yml

on: pull_request
Matrix: PHP-Linter
Linter  /  ecmascript-linter
Linter / ecmascript-linter
Linter  /  json-linter
Linter / json-linter
Linter  /  style-linter
Linter / style-linter
Linter  /  yaml-linter
Linter / yaml-linter
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
6s
Code coverage
Quality control
42s
Quality control
Security checks
16s
Security checks
Cleanup artifacts
5s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 3 warnings
Quality control
Process completed with exit code 2.
UnusedIssueHandlerSuppression: psalm-dev.xml#L0
/home/runner/work/simplesamlphp-module-cdc/simplesamlphp-module-cdc/psalm-dev.xml:0:0: UnusedIssueHandlerSuppression: Suppressed issue type "UnresolvableInclude" for /tests/bootstrap.php was not thrown. (see https://psalm.dev/326)
UnusedVariable: tests/src/Controller/CDCTest.php#L185
tests/src/Controller/CDCTest.php:185:9: UnusedVariable: $response is never referenced or the value is not used (see https://psalm.dev/077)
MissingOverrideAttribute: tests/src/Controller/CDCTest.php#L32
tests/src/Controller/CDCTest.php:32:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\cdc\Controller\CDCTest::setupbeforeclass should have the "Override" attribute (see https://psalm.dev/358)
UnusedClass: tests/src/Controller/CDCTest.php#L20
tests/src/Controller/CDCTest.php:20:7: UnusedClass: Class SimpleSAML\Test\Module\cdc\Controller\CDCTest is never used (see https://psalm.dev/075)
UnusedParam: src/Server.php#L244
src/Server.php:244:39: UnusedParam: Param request is never referenced in this method (see https://psalm.dev/135)
UnusedParam: src/Server.php#L223
src/Server.php:223:41: UnusedParam: Param request is never referenced in this method (see https://psalm.dev/135)
ClassMustBeFinal: src/Server.php#L20
src/Server.php:20:7: ClassMustBeFinal: Class SimpleSAML\Module\cdc\Server is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
DocblockTypeContradiction: src/Controller/CDC.php#L91
src/Controller/CDC.php:91:13: DocblockTypeContradiction: Cannot resolve types for $state - docblock-defined type array<array-key, mixed> does not contain null (see https://psalm.dev/155)
ArgumentTypeCoercion: src/Controller/CDC.php#L79
src/Controller/CDC.php:79:30: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Module\cdc\Client::__construct expects string, but parent type scalar provided (see https://psalm.dev/193)
ClassMustBeFinal: src/Controller/CDC.php#L23
src/Controller/CDC.php:23:7: ClassMustBeFinal: Class SimpleSAML\Module\cdc\Controller\CDC is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
UnusedProperty: src/Client.php#L20
src/Client.php:20:20: UnusedProperty: Cannot find any references to private property SimpleSAML\Module\cdc\Client::$domain (see https://psalm.dev/150)
ClassMustBeFinal: src/Client.php#L13
src/Client.php:13:7: ClassMustBeFinal: Class SimpleSAML\Module\cdc\Client is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
MissingOverrideAttribute: src/Auth/Process/CDC.php#L59
src/Auth/Process/CDC.php:59:5: MissingOverrideAttribute: Method SimpleSAML\module\cdc\Auth\Process\CDC::process should have the "Override" attribute (see https://psalm.dev/358)
ClassMustBeFinal: src/Auth/Process/CDC.php#L18
src/Auth/Process/CDC.php:18:7: ClassMustBeFinal: Class SimpleSAML\module\cdc\Auth\Process\CDC is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
ClassMustBeFinal: tests/src/Controller/CDCTest.php#L20
tests/src/Controller/CDCTest.php:20:7: ClassMustBeFinal: Class SimpleSAML\Test\Module\cdc\Controller\CDCTest is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
UnusedClass: src/Controller/CDC.php#L23
src/Controller/CDC.php:23:7: UnusedClass: Class SimpleSAML\Module\cdc\Controller\CDC is never used (see https://psalm.dev/075)
UnusedClass: src/Auth/Process/CDC.php#L18
src/Auth/Process/CDC.php:18:7: UnusedClass: Class SimpleSAML\module\cdc\Auth\Process\CDC is never used (see https://psalm.dev/075)