Skip to content

Replace super-linter with a reusable workflow #105

Replace super-linter with a reusable workflow

Replace super-linter with a reusable workflow #105

Triggered via push May 27, 2025 21:15
Status Failure
Total duration 1m 45s
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
47s
Quality control
Security checks
16s
Security checks
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
9s
Code coverage
Cleanup artifacts
5s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 4 warnings
Quality control
Process completed with exit code 2.
MissingOverrideAttribute: tests/src/Controller/MetaEditorTest.php#L159
tests/src/Controller/MetaEditorTest.php:159:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\metaedit\Controller\_home_runner_work_simplesamlphp_module_metaedit_simplesamlphp_module_metaedit_tests_src_Controller_MetaEditorTest_php_158_4029::login should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: tests/src/Controller/MetaEditorTest.php#L114
tests/src/Controller/MetaEditorTest.php:114:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\metaedit\Controller\_home_runner_work_simplesamlphp_module_metaedit_simplesamlphp_module_metaedit_tests_src_Controller_MetaEditorTest_php_109_2700::getattributes should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: tests/src/Controller/MetaEditorTest.php#L110
tests/src/Controller/MetaEditorTest.php:110:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\metaedit\Controller\_home_runner_work_simplesamlphp_module_metaedit_simplesamlphp_module_metaedit_tests_src_Controller_MetaEditorTest_php_109_2700::login should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: tests/src/Controller/MetaEditorTest.php#L83
tests/src/Controller/MetaEditorTest.php:83:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\metaedit\Controller\_home_runner_work_simplesamlphp_module_metaedit_simplesamlphp_module_metaedit_tests_src_Controller_MetaEditorTest_php_78_1895::getattributes should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: tests/src/Controller/MetaEditorTest.php#L79
tests/src/Controller/MetaEditorTest.php:79:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\metaedit\Controller\_home_runner_work_simplesamlphp_module_metaedit_simplesamlphp_module_metaedit_tests_src_Controller_MetaEditorTest_php_78_1895::login should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: tests/src/Controller/MetaEditorTest.php#L33
tests/src/Controller/MetaEditorTest.php:33:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\metaedit\Controller\MetaEditorTest::setup should have the "Override" attribute (see https://psalm.dev/358)
UnusedClass: tests/src/Controller/MetaEditorTest.php#L21
tests/src/Controller/MetaEditorTest.php:21:13: UnusedClass: Class SimpleSAML\Test\Module\metaedit\Controller\MetaEditorTest is never used (see https://psalm.dev/075)
PossiblyNullArgument: src/Controller/MetaEditor.php#L172
src/Controller/MetaEditor.php:172:21: PossiblyNullArgument: Argument 1 of SimpleSAML\Utils\Config\Metadata::getDefaultEndpoint cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArrayAccess: src/Controller/MetaEditor.php#L172
src/Controller/MetaEditor.php:172:21: PossiblyNullArrayAccess: Cannot access array value on possibly null variable $metadata of type array<array-key, mixed>|null (see https://psalm.dev/079)
PossiblyNullReference: src/Controller/MetaEditor.php#L167
src/Controller/MetaEditor.php:167:34: PossiblyNullReference: Cannot call method getMetadata20SP on possibly null value (see https://psalm.dev/083)
PossiblyNullArgument: src/Controller/MetaEditor.php#L161
src/Controller/MetaEditor.php:161:37: PossiblyNullArgument: Argument 1 of SimpleSAML\Module\metaedit\Controller\MetaEditor::requireOwnership cannot be null, possibly null value provided (see https://psalm.dev/078)
TooManyArguments: src/Controller/MetaEditor.php#L157
src/Controller/MetaEditor.php:157:82: TooManyArguments: Too many arguments for method SimpleSAML\Configuration::getarray - saw 2 (see https://psalm.dev/026)
InternalMethod: src/Controller/MetaEditor.php#L155
src/Controller/MetaEditor.php:155:34: InternalMethod: The method Symfony\Component\HttpFoundation\Request::get is internal to Symfony but called from SimpleSAML\Module\metaedit\Controller\MetaEditor::edit (see https://psalm.dev/175)
InternalMethod: src/Controller/MetaEditor.php#L154
src/Controller/MetaEditor.php:154:31: InternalMethod: The method Symfony\Component\HttpFoundation\Request::get is internal to Symfony but called from SimpleSAML\Module\metaedit\Controller\MetaEditor::edit (see https://psalm.dev/175)
PossiblyNullArgument: src/Controller/MetaEditor.php#L107
src/Controller/MetaEditor.php:107:37: PossiblyNullArgument: Argument 1 of SimpleSAML\Module\metaedit\Controller\MetaEditor::requireOwnership cannot be null, possibly null value provided (see https://psalm.dev/078)
InternalMethod: src/Controller/MetaEditor.php#L104
src/Controller/MetaEditor.php:104:29: InternalMethod: The method Symfony\Component\HttpFoundation\Request::get is internal to Symfony but called from SimpleSAML\Module\metaedit\Controller\MetaEditor::main (see https://psalm.dev/175)
ClassMustBeFinal: src/Controller/MetaEditor.php#L29
src/Controller/MetaEditor.php:29:7: ClassMustBeFinal: Class SimpleSAML\Module\metaedit\Controller\MetaEditor 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/MetaEditorTest.php#L27
tests/src/Controller/MetaEditorTest.php:27:23: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\metaedit\Controller\MetaEditorTest::$session is not defined in constructor of SimpleSAML\Test\Module\metaedit\Controller\MetaEditorTest or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/src/Controller/MetaEditorTest.php#L24
tests/src/Controller/MetaEditorTest.php:24:29: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\metaedit\Controller\MetaEditorTest::$config is not defined in constructor of SimpleSAML\Test\Module\metaedit\Controller\MetaEditorTest or in any methods called in the constructor (see https://psalm.dev/074)
PossiblyUnusedMethod: src/MetaEditor.php#L114
src/MetaEditor.php:114:24: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Module\metaedit\MetaEditor::header (see https://psalm.dev/087)
UnusedClass: src/Controller/MetaEditor.php#L29
src/Controller/MetaEditor.php:29:7: UnusedClass: Class SimpleSAML\Module\metaedit\Controller\MetaEditor is never used (see https://psalm.dev/075)