Update dependencies #281
php.yml
on: push
Matrix: PHP-Linter
Linter
/
ecmascript-linter
Linter
/
json-linter
Linter
/
style-linter
Linter
/
yaml-linter
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Cleanup artifacts
3s
Annotations
28 errors and 13 warnings
|
Unit tests, PHP 8.4, windows-latest
Process completed with exit code 1.
|
|
Unit tests, PHP 8.4, windows-latest
Failed to extract simplesamlphp/simplesamlphp: (2) C:\ProgramData\Chocolatey\bin\7z.EXE x -bb0 -y D:\a\simplesamlphp-module-metarefresh\simplesamlphp-module-metarefresh\vendor\composer\tmp-7fc75c605b6eeb37c2a03a00750d3308.zip -oD:\a\simplesamlphp-module-metarefresh\simplesamlphp-module-metarefresh\vendor\composer\0cf32a4d
ERROR: Dangerous link path was ignored : simplesamlphp-simplesamlphp-f40b40c\lib\_autoload.php : ..\src\_autoload.php
|
|
Unit tests, PHP 8.2, windows-latest
The strategy configuration was canceled because "unit-tests-windows.windows-latest_8_4" failed
|
|
Unit tests, PHP 8.2, windows-latest
Process completed with exit code 1.
|
|
Unit tests, PHP 8.2, windows-latest
Failed to extract simplesamlphp/simplesamlphp: (2) C:\ProgramData\Chocolatey\bin\7z.EXE x -bb0 -y D:\a\simplesamlphp-module-metarefresh\simplesamlphp-module-metarefresh\vendor\composer\tmp-b9cb61fc446565d20351fc42a1fb8cb5.zip -oD:\a\simplesamlphp-module-metarefresh\simplesamlphp-module-metarefresh\vendor\composer\ab83bf3f
ERROR: Dangerous link path was ignored : simplesamlphp-simplesamlphp-f40b40c\lib\_autoload.php : ..\src\_autoload.php
|
|
Unit tests, PHP 8.1, windows-latest
The strategy configuration was canceled because "unit-tests-windows.windows-latest_8_4" failed
|
|
Unit tests, PHP 8.1, windows-latest
The operation was canceled.
|
|
Unit tests, PHP 8.3, windows-latest
The strategy configuration was canceled because "unit-tests-windows.windows-latest_8_4" failed
|
|
Unit tests, PHP 8.3, windows-latest
The operation was canceled.
|
|
Quality control
Process completed with exit code 2.
|
|
UnusedIssueHandlerSuppression:
psalm-dev.xml#L0
/home/runner/work/simplesamlphp-module-metarefresh/simplesamlphp-module-metarefresh/psalm-dev.xml:0:0: UnusedIssueHandlerSuppression: Suppressed issue type "MissingOverrideAttribute" for /tests was not thrown. (see https://psalm.dev/326)
|
|
MissingOverrideAttribute:
tests/src/MetaLoaderTest.php#L89
tests/src/MetaLoaderTest.php:89:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\metarefresh\MetaLoaderTest::teardown should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/MetaLoaderTest.php#L76
tests/src/MetaLoaderTest.php:76:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\metarefresh\MetaLoaderTest::setup should have the "Override" attribute (see https://psalm.dev/358)
|
|
UnusedClass:
tests/src/MetaLoaderTest.php#L11
tests/src/MetaLoaderTest.php:11:13: UnusedClass: Class SimpleSAML\Test\Module\metarefresh\MetaLoaderTest is never used (see https://psalm.dev/075)
|
|
MissingOverrideAttribute:
tests/src/Controller/MetaRefreshTest.php#L76
tests/src/Controller/MetaRefreshTest.php:76:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\metarefresh\Controller\_home_runner_work_simplesamlphp_module_metarefresh_simplesamlphp_module_metarefresh_tests_src_Controller_MetaRefreshTest_php_75_1948::requireadmin should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/MetaRefreshTest.php#L35
tests/src/Controller/MetaRefreshTest.php:35:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest::setup should have the "Override" attribute (see https://psalm.dev/358)
|
|
UnusedClass:
tests/src/Controller/MetaRefreshTest.php#L17
tests/src/Controller/MetaRefreshTest.php:17:13: UnusedClass: Class SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest is never used (see https://psalm.dev/075)
|
|
UnusedClass:
tests/src/ARPTest.php#L11
tests/src/ARPTest.php:11:13: UnusedClass: Class SimpleSAML\Test\Module\metarefresh\ARPTest is never used (see https://psalm.dev/075)
|
|
PossiblyFalseArgument:
src/MetaLoader.php#L149
src/MetaLoader.php:149:40: PossiblyFalseArgument: Argument 1 of SimpleSAML\Module\metarefresh\MetaLoader::loadXML cannot be false, possibly string value expected (see https://psalm.dev/104)
|
|
PossiblyUndefinedVariable:
src/MetaLoader.php#L149
src/MetaLoader.php:149:40: PossiblyUndefinedVariable: Possibly undefined variable $data defined in try block (see https://psalm.dev/018)
|
|
PossiblyUndefinedArrayOffset:
src/MetaLoader.php#L132
src/MetaLoader.php:132:46: PossiblyUndefinedArrayOffset: Possibly undefined array key $source['src'] on array<array-key, mixed> (see https://psalm.dev/167)
|
|
PossiblyUndefinedArrayOffset:
src/MetaLoader.php#L122
src/MetaLoader.php:122:52: PossiblyUndefinedArrayOffset: Possibly undefined array key $source['src'] on array<array-key, mixed> (see https://psalm.dev/167)
|
|
RiskyTruthyFalsyComparison:
src/MetaLoader.php#L66
src/MetaLoader.php:66:14: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
|
ClassMustBeFinal:
src/MetaLoader.php#L18
src/MetaLoader.php:18:7: ClassMustBeFinal: Class SimpleSAML\Module\metarefresh\MetaLoader is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
ClassMustBeFinal:
src/Controller/MetaRefresh.php#L22
src/Controller/MetaRefresh.php:22:7: ClassMustBeFinal: Class SimpleSAML\Module\metarefresh\Controller\MetaRefresh is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
RedundantCondition:
src/ARP.php#L39
src/ARP.php:39:13: RedundantCondition: Type string for $attributemap_filename is never null (see https://psalm.dev/122)
|
|
ClassMustBeFinal:
src/ARP.php#L10
src/ARP.php:10:7: ClassMustBeFinal: Class SimpleSAML\Module\metarefresh\ARP is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
UnusedVariable:
config-templates/module_metarefresh.php#L3
config-templates/module_metarefresh.php:3:1: UnusedVariable: $config is never referenced or the value is not used (see https://psalm.dev/077)
|
|
PossiblyFalsePropertyAssignmentValue:
tests/src/MetaLoaderTest.php#L131
tests/src/MetaLoaderTest.php:131:25: PossiblyFalsePropertyAssignmentValue: $this->tmpdir with non-falsable declared type 'string' cannot be assigned possibly false type 'false|string' (see https://psalm.dev/146)
|
|
PossiblyFalseArgument:
tests/src/MetaLoaderTest.php#L92
tests/src/MetaLoaderTest.php:92:33: PossiblyFalseArgument: Argument 1 of array_diff cannot be false, possibly array<array-key, mixed> value expected (see https://psalm.dev/104)
|
|
PropertyNotSetInConstructor:
tests/src/MetaLoaderTest.php#L20
tests/src/MetaLoaderTest.php:20: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)
|
|
PropertyNotSetInConstructor:
tests/src/MetaLoaderTest.php#L17
tests/src/MetaLoaderTest.php:17: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)
|
|
MissingPropertyType:
tests/src/MetaLoaderTest.php#L14
tests/src/MetaLoaderTest.php:14: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)
|
|
MissingReturnType:
tests/src/Controller/MetaRefreshTest.php#L89
tests/src/Controller/MetaRefreshTest.php:89:21: MissingReturnType: Method SimpleSAML\Test\Module\metarefresh\Controller\MetaRefreshTest::testMetaRefresh does not have a return type, expecting void (see https://psalm.dev/050)
|
|
PropertyNotSetInConstructor:
tests/src/Controller/MetaRefreshTest.php#L29
tests/src/Controller/MetaRefreshTest.php:29: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)
|
|
PropertyNotSetInConstructor:
tests/src/Controller/MetaRefreshTest.php#L26
tests/src/Controller/MetaRefreshTest.php:26: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#L23
tests/src/Controller/MetaRefreshTest.php:23: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#L20
tests/src/Controller/MetaRefreshTest.php:20: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)
|
|
PossiblyUnusedMethod:
src/MetaLoader.php#L495
src/MetaLoader.php:495:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Module\metarefresh\MetaLoader::dumpMetadataStdOut (see https://psalm.dev/087)
|
|
PossiblyUnusedMethod:
src/MetaLoader.php#L77
src/MetaLoader.php:77:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Module\metarefresh\MetaLoader::getTypes (see https://psalm.dev/087)
|
|
UnusedClass:
src/Controller/MetaRefresh.php#L22
src/Controller/MetaRefresh.php:22:7: UnusedClass: Class SimpleSAML\Module\metarefresh\Controller\MetaRefresh is never used (see https://psalm.dev/075)
|