Bump dependencies #111
php.yml
on: push
Annotations
17 errors and 2 warnings
|
Linter
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires PHP extension ext-posix * but it is missing from your system. Install or enable PHP's posix extension.
Problem 2
- Root composer.json requires PHP extension ext-sockets * but it is missing from your system. Install or enable PHP's sockets extension.
Problem 3
- 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 4
- 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-posix --ignore-platform-req=ext-sockets --ignore-platform-req=ext-session --ignore-platform-req=ext-xml` to temporarily ignore these required extensions.
|
|
Quality control
Process completed with exit code 2.
|
|
UnusedIssueHandlerSuppression:
psalm-dev.xml#L0
/home/runner/work/simplesamlphp-module-fticks/simplesamlphp-module-fticks/psalm-dev.xml:0:0: UnusedIssueHandlerSuppression: Suppressed issue type "UnresolvableInclude" for /tests/bootstrap.php was not thrown. (see https://psalm.dev/326)
|
|
UnusedVariable:
tests/src/Auth/Process/FticksTest.php#L425
tests/src/Auth/Process/FticksTest.php:425:9: UnusedVariable: $result is never referenced or the value is not used (see https://psalm.dev/077)
|
|
UnusedVariable:
tests/src/Auth/Process/FticksTest.php#L416
tests/src/Auth/Process/FticksTest.php:416:9: UnusedVariable: $result is never referenced or the value is not used (see https://psalm.dev/077)
|
|
UnusedVariable:
tests/src/Auth/Process/FticksTest.php#L415
tests/src/Auth/Process/FticksTest.php:415:9: UnusedVariable: $result is never referenced or the value is not used (see https://psalm.dev/077)
|
|
MissingOverrideAttribute:
tests/src/Auth/Process/FticksTest.php#L66
tests/src/Auth/Process/FticksTest.php:66:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\fticks\Auth\Process\FticksTest::setup should have the "Override" attribute (see https://psalm.dev/358)
|
|
UnusedClass:
tests/src/Auth/Process/FticksTest.php#L18
tests/src/Auth/Process/FticksTest.php:18:7: UnusedClass: Class SimpleSAML\Test\Module\fticks\Auth\Process\FticksTest is never used (see https://psalm.dev/075)
|
|
Quality control
Process completed with exit code 2.
|
|
MissingOverrideAttribute:
src/Auth/Process/Fticks.php#L350
src/Auth/Process/Fticks.php:350:5: MissingOverrideAttribute: Method SimpleSAML\Module\fticks\Auth\Process\Fticks::process should have the "Override" attribute (see https://psalm.dev/358)
|
|
NullableReturnStatement:
src/Auth/Process/Fticks.php#L205
src/Auth/Process/Fticks.php:205:16: NullableReturnStatement: The declared return type 'string' for SimpleSAML\Module\fticks\Auth\Process\Fticks::escapeFticks is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
|
|
InvalidNullableReturnType:
src/Auth/Process/Fticks.php#L201
src/Auth/Process/Fticks.php:201:16: InvalidNullableReturnType: The declared return type 'string' for SimpleSAML\Module\fticks\Auth\Process\Fticks::escapeFticks is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
|
|
PossiblyFalseArgument:
src/Auth/Process/Fticks.php#L184
src/Auth/Process/Fticks.php:184:33: PossiblyFalseArgument: Argument 1 of strlen cannot be false, possibly string value expected (see https://psalm.dev/104)
|
|
PossiblyFalseArgument:
src/Auth/Process/Fticks.php#L124
src/Auth/Process/Fticks.php:124:21: PossiblyFalseArgument: Argument 1 of socket_sendto cannot be false, possibly Socket value expected (see https://psalm.dev/104)
|
|
UnusedFunctionCall:
src/Auth/Process/Fticks.php#L123
src/Auth/Process/Fticks.php:123:17: UnusedFunctionCall: The call to socket_sendto is not used (see https://psalm.dev/206)
|
|
PossiblyFalseOperand:
src/Auth/Process/Fticks.php#L115
src/Auth/Process/Fticks.php:115:37: PossiblyFalseOperand: Cannot concatenate with a possibly false false|string (see https://psalm.dev/162)
|
|
ClassMustBeFinal:
src/Auth/Process/Fticks.php#L51
src/Auth/Process/Fticks.php:51:7: ClassMustBeFinal: Class SimpleSAML\Module\fticks\Auth\Process\Fticks is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
ClassMustBeFinal:
tests/src/Auth/Process/FticksTest.php#L18
tests/src/Auth/Process/FticksTest.php:18:7: ClassMustBeFinal: Class SimpleSAML\Test\Module\fticks\Auth\Process\FticksTest is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
UnusedClass:
src/Auth/Process/Fticks.php#L51
src/Auth/Process/Fticks.php:51:7: UnusedClass: Class SimpleSAML\Module\fticks\Auth\Process\Fticks is never used (see https://psalm.dev/075)
|