Skip to content

Merge pull request #6 from simplesamlphp/feature/replace-superlinter #85

Merge pull request #6 from simplesamlphp/feature/replace-superlinter

Merge pull request #6 from simplesamlphp/feature/replace-superlinter #85

Triggered via push May 26, 2025 19:21
Status Failure
Total duration 1m 33s
Artifacts

php.yml

on: push
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
Quality control
41s
Quality control
Security checks
16s
Security checks
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
10s
Code coverage
Cleanup artifacts
5s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
Quality control
Process completed with exit code 2.
MissingOverrideAttribute: tests/src/Controller/ExampleControllerTest.php#L30
tests/src/Controller/ExampleControllerTest.php:30:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\negotiate\Controller\ExampleControllerTest::setup should have the "Override" attribute (see https://psalm.dev/358)
UnusedClass: tests/src/Controller/ExampleControllerTest.php#L18
tests/src/Controller/ExampleControllerTest.php:18:13: UnusedClass: Class SimpleSAML\Test\Module\negotiate\Controller\ExampleControllerTest is never used (see https://psalm.dev/075)
Quality control
Process completed with exit code 2.
PossiblyUnusedParam: src/Controller/ExampleController.php#L53
src/Controller/ExampleController.php:53:37: PossiblyUnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/134)
ClassMustBeFinal: src/Controller/ExampleController.php#L19
src/Controller/ExampleController.php:19:7: ClassMustBeFinal: Class SimpleSAML\Module\examplecomposer\Controller\ExampleController is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
PropertyNotSetInConstructor: tests/src/Controller/ExampleControllerTest.php#L24
tests/src/Controller/ExampleControllerTest.php:24:23: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\negotiate\Controller\ExampleControllerTest::$session is not defined in constructor of SimpleSAML\Test\Module\negotiate\Controller\ExampleControllerTest or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/src/Controller/ExampleControllerTest.php#L21
tests/src/Controller/ExampleControllerTest.php:21:29: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\negotiate\Controller\ExampleControllerTest::$config is not defined in constructor of SimpleSAML\Test\Module\negotiate\Controller\ExampleControllerTest or in any methods called in the constructor (see https://psalm.dev/074)
UnusedClass: src/Controller/ExampleController.php#L19
src/Controller/ExampleController.php:19:7: UnusedClass: Class SimpleSAML\Module\examplecomposer\Controller\ExampleController is never used (see https://psalm.dev/075)