Skip to content

Fix php 8.4 deprecation notices #31

Fix php 8.4 deprecation notices

Fix php 8.4 deprecation notices #31

Re-run triggered November 25, 2024 06:14
Status Failure
Total duration 28s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

static.yml

on: pull_request
Matrix: static
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 1 warning
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L59
src/SapiNormalizer.php:59:19: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L67
src/SapiNormalizer.php:67:13: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L71
src/SapiNormalizer.php:71:19: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L75
src/SapiNormalizer.php:75:13: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PHP 8.0-ubuntu-latest
Process completed with exit code 2.
PHP 7.4-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L59
src/SapiNormalizer.php:59:19: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L67
src/SapiNormalizer.php:67:13: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L71
src/SapiNormalizer.php:71:19: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L75
src/SapiNormalizer.php:75:13: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PHP 7.4-ubuntu-latest
Process completed with exit code 2.
PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L59
src/SapiNormalizer.php:59:19: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L67
src/SapiNormalizer.php:67:13: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L71
src/SapiNormalizer.php:71:19: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/SapiNormalizer.php#L75
src/SapiNormalizer.php:75:13: RiskyTruthyFalsyComparison: Operand of type ''|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PHP 8.1-ubuntu-latest
Process completed with exit code 2.
PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
PHP 8.2-ubuntu-latest
The operation was canceled.
PHP 8.0-ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/