Skip to content

Fix CI

Fix CI #136

Triggered via push August 26, 2025 17:41
Status Failure
Total duration 1m 31s
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
54s
Quality control
Security checks
26s
Security checks
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
0s
Code coverage
Cleanup artifacts
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

23 errors, 4 warnings, and 3 notices
Unit tests, PHP 8.4, ubuntu-latest
Process completed with exit code 2.
Unit tests, PHP 8.3, ubuntu-latest
Process completed with exit code 2.
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)
Unit tests, PHP 8.3, windows-latest
Process completed with exit code 1.
Unit tests, PHP 8.4, windows-latest
The operation was canceled.
Unit tests, PHP 8.4, windows-latest
The strategy configuration was canceled because "unit-tests-windows.windows-latest_8_3" failed
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)
Unit tests, PHP 8.2, windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Unit tests, PHP 8.3, windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
Unit tests, PHP 8.4, windows-latest
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677