Skip to content

Bump dependencies

Bump dependencies #78

Triggered via push May 15, 2025 09:01
Status Failure
Total duration 1m 24s
Artifacts

php.yml

on: push
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
0s
Code coverage
Cleanup artifacts
0s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 5 warnings
UnevaluatedCode: tests/src/Controller/MemcacheMonitorTest.php#L89
tests/src/Controller/MemcacheMonitorTest.php:89:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
UnevaluatedCode: tests/src/Controller/MemcacheMonitorTest.php#L88
tests/src/Controller/MemcacheMonitorTest.php:88:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
UnevaluatedCode: tests/src/Controller/MemcacheMonitorTest.php#L87
tests/src/Controller/MemcacheMonitorTest.php:87:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
UnevaluatedCode: tests/src/Controller/MemcacheMonitorTest.php#L82
tests/src/Controller/MemcacheMonitorTest.php:82:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
UnevaluatedCode: tests/src/Controller/MemcacheMonitorTest.php#L80
tests/src/Controller/MemcacheMonitorTest.php:80:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
UnevaluatedCode: tests/src/Controller/MemcacheMonitorTest.php#L79
tests/src/Controller/MemcacheMonitorTest.php:79:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
UnevaluatedCode: tests/src/Controller/MemcacheMonitorTest.php#L78
tests/src/Controller/MemcacheMonitorTest.php:78:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
MissingOverrideAttribute: tests/src/Controller/MemcacheMonitorTest.php#L64
tests/src/Controller/MemcacheMonitorTest.php:64:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\memcacheMonitor\Controller\_home_runner_work_simplesamlphp_module_memcachemonitor_simplesamlphp_module_memcachemonitor_tests_src_Controller_MemcacheMonitorTest_php_63_1508::requireadmin should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: tests/src/Controller/MemcacheMonitorTest.php#L35
tests/src/Controller/MemcacheMonitorTest.php:35:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\memcacheMonitor\Controller\MemcacheMonitorTest::setup should have the "Override" attribute (see https://psalm.dev/358)
UnusedClass: tests/src/Controller/MemcacheMonitorTest.php#L20
tests/src/Controller/MemcacheMonitorTest.php:20:7: UnusedClass: Class SimpleSAML\Test\Module\memcacheMonitor\Controller\MemcacheMonitorTest is never used (see https://psalm.dev/075)
UnusedMethod: src/MemcacheMonitor.php#L182
src/MemcacheMonitor.php:182:22: UnusedMethod: Cannot find any calls to private method SimpleSAML\Module\memcacheMonitor\MemcacheMonitor::humanreadable (see https://psalm.dev/076)
UnusedMethod: src/MemcacheMonitor.php#L160
src/MemcacheMonitor.php:160:22: UnusedMethod: Cannot find any calls to private method SimpleSAML\Module\memcacheMonitor\MemcacheMonitor::hours (see https://psalm.dev/076)
UnusedMethod: src/MemcacheMonitor.php#L150
src/MemcacheMonitor.php:150:22: UnusedMethod: Cannot find any calls to private method SimpleSAML\Module\memcacheMonitor\MemcacheMonitor::tdate (see https://psalm.dev/076)
InvalidOperand: src/MemcacheMonitor.php#L130
src/MemcacheMonitor.php:130:32: InvalidOperand: Cannot concatenate with a float (see https://psalm.dev/058)
UnusedForeachValue: src/MemcacheMonitor.php#L128
src/MemcacheMonitor.php:128:52: UnusedForeachValue: $row_data is never referenced or the value is not used (see https://psalm.dev/275)
UnusedForeachValue: src/MemcacheMonitor.php#L118
src/MemcacheMonitor.php:118:47: UnusedForeachValue: $foo is never referenced or the value is not used (see https://psalm.dev/275)
UnusedVariable: src/MemcacheMonitor.php#L117
src/MemcacheMonitor.php:117:28: UnusedVariable: $rowTitle is never referenced or the value is not used (see https://psalm.dev/077)
ClassMustBeFinal: src/MemcacheMonitor.php#L15
src/MemcacheMonitor.php:15:7: ClassMustBeFinal: Class SimpleSAML\Module\memcacheMonitor\MemcacheMonitor is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
PossiblyUnusedParam: src/Controller/MemcacheMonitorController.php#L71
src/Controller/MemcacheMonitorController.php:71:34: PossiblyUnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/134)
ClassMustBeFinal: src/Controller/MemcacheMonitorController.php#L21
src/Controller/MemcacheMonitorController.php:21:7: ClassMustBeFinal: Class SimpleSAML\Module\memcacheMonitor\Controller\MemcacheMonitorController is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
Linter
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires simplesamlphp/simplesamlphp ~2.4.0 -> satisfiable by simplesamlphp/simplesamlphp[v2.4.0, v2.4.1]. - simplesamlphp/simplesamlphp[v2.4.0, ..., v2.4.1] require ext-session * -> it is missing from your system. Install or enable PHP's session extension. Problem 2 - Root composer.json requires simplesamlphp/simplesamlphp-test-framework ~1.9.2 -> satisfiable by simplesamlphp/simplesamlphp-test-framework[v1.9.2]. - phpunit/phpunit[10.0.0, ..., 10.5.46, 11.0.0, ..., 11.5.20] require ext-xml * -> it is missing from your system. Install or enable PHP's xml extension. Alternatively you can require one of these packages that provide the extension (or parts of it): Keep in mind that the suggestions are automated and may not be valid or safe to use - nephre/php-dbus DBUS bindings for PHP language - simplesamlphp/simplesamlphp-test-framework v1.9.2 requires phpunit/phpunit ^10.0 || ^11.0 -> satisfiable by phpunit/phpunit[10.0.0, ..., 10.5.46, 11.0.0, ..., 11.5.20]. To enable extensions, verify that they are enabled in your .ini files: - /etc/php84/php.ini - /etc/php84/conf.d/00_ctype.ini - /etc/php84/conf.d/00_curl.ini - /etc/php84/conf.d/00_dom.ini - /etc/php84/conf.d/00_iconv.ini - /etc/php84/conf.d/00_intl.ini - /etc/php84/conf.d/00_mbstring.ini - /etc/php84/conf.d/00_openssl.ini - /etc/php84/conf.d/00_simplexml.ini - /etc/php84/conf.d/00_tokenizer.ini - /etc/php84/conf.d/00_xmlwriter.ini - /etc/php84/conf.d/01_phar.ini - /etc/php84/conf.d/10_igbinary.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-session --ignore-platform-req=ext-xml` to temporarily ignore these required extensions.
PropertyNotSetInConstructor: tests/src/Controller/MemcacheMonitorTest.php#L29
tests/src/Controller/MemcacheMonitorTest.php:29:26: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\memcacheMonitor\Controller\MemcacheMonitorTest::$authUtils is not defined in constructor of SimpleSAML\Test\Module\memcacheMonitor\Controller\MemcacheMonitorTest or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/src/Controller/MemcacheMonitorTest.php#L26
tests/src/Controller/MemcacheMonitorTest.php:26:23: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\memcacheMonitor\Controller\MemcacheMonitorTest::$session is not defined in constructor of SimpleSAML\Test\Module\memcacheMonitor\Controller\MemcacheMonitorTest or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/src/Controller/MemcacheMonitorTest.php#L23
tests/src/Controller/MemcacheMonitorTest.php:23:29: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\memcacheMonitor\Controller\MemcacheMonitorTest::$config is not defined in constructor of SimpleSAML\Test\Module\memcacheMonitor\Controller\MemcacheMonitorTest or in any methods called in the constructor (see https://psalm.dev/074)
ClassMustBeFinal: tests/src/Controller/MemcacheMonitorTest.php#L20
tests/src/Controller/MemcacheMonitorTest.php:20:7: ClassMustBeFinal: Class SimpleSAML\Test\Module\memcacheMonitor\Controller\MemcacheMonitorTest 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/MemcacheMonitorController.php#L21
src/Controller/MemcacheMonitorController.php:21:7: UnusedClass: Class SimpleSAML\Module\memcacheMonitor\Controller\MemcacheMonitorController is never used (see https://psalm.dev/075)