Skip to content

[BUGFIX] Catch E_WARNING when unserialize() fails #1870

[BUGFIX] Catch E_WARNING when unserialize() fails

[BUGFIX] Catch E_WARNING when unserialize() fails #1870

Triggered via pull request January 14, 2025 12:12
Status Failure
Total duration 2m 25s
Artifacts

StaticAnalysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 12 warnings
PHPstan: Classes/Backend/Helper/ResultHandler.php#L1
ParseError (syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE)) thrown while looking for class AOE\Crawler\Converter\JsonCompatibilityConverter.
PHPstan: Classes/Backend/Helper/ResultHandler.php#L22
ParseError (syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE)) thrown while looking for class AOE\Crawler\Converter\JsonCompatibilityConverter.
PHPstan: Classes/Backend/RequestForm/LogRequestForm.php#L1
Ignored error pattern #^Call to deprecated method fetch\(\) of class Doctrine\\DBAL\\ForwardCompatibility\\Result\: Use fetchNumeric\(\), fetchAssociative\(\) or fetchOne\(\) instead\.$# in path /home/runner/work/crawler/crawler/Classes/Backend/RequestForm/LogRequestForm.php was not matched in reported errors.
PHPstan: Classes/Backend/RequestForm/LogRequestForm.php#L1
Ignored error pattern #^Call to deprecated method get\(\) of class TYPO3\\CMS\\Extbase\\Object\\ObjectManager\: since TYPO3 10\.4, will be removed in version 12\.0$# in path /home/runner/work/crawler/crawler/Classes/Backend/RequestForm/LogRequestForm.php was not matched in reported errors.
PHPstan: Classes/Backend/RequestForm/LogRequestForm.php#L1
Ignored error pattern #^Cannot access offset 'alturl' on array\|bool\.$# in path /home/runner/work/crawler/crawler/Classes/Backend/RequestForm/LogRequestForm.php was not matched in reported errors.
PHPstan: Classes/Backend/RequestForm/LogRequestForm.php#L1
Ignored error pattern #^Cannot access offset 'feUserGroupList' on array\|bool\.$# in path /home/runner/work/crawler/crawler/Classes/Backend/RequestForm/LogRequestForm.php was not matched in reported errors.
PHPstan: Classes/Backend/RequestForm/LogRequestForm.php#L1
Ignored error pattern #^Cannot access offset 'procInstructions' on array\|bool\.$# in path /home/runner/work/crawler/crawler/Classes/Backend/RequestForm/LogRequestForm.php was not matched in reported errors.
PHPstan: Classes/Backend/RequestForm/LogRequestForm.php#L1
Ignored error pattern #^Cannot access offset 'url' on array\|bool\.$# in path /home/runner/work/crawler/crawler/Classes/Backend/RequestForm/LogRequestForm.php was not matched in reported errors.
PHPstan: Classes/Backend/RequestForm/LogRequestForm.php#L1
Ignored error pattern #^Cannot call method fetch\(\) on Doctrine\\DBAL\\ForwardCompatibility\\Result\|int\|string\.$# in path /home/runner/work/crawler/crawler/Classes/Backend/RequestForm/LogRequestForm.php was not matched in reported errors.
PHPstan: Classes/Backend/RequestForm/LogRequestForm.php#L1
Ignored error pattern #^Class cognitive complexity is 72, keep it under 60$# in path /home/runner/work/crawler/crawler/Classes/Backend/RequestForm/LogRequestForm.php was not matched in reported errors.
Code Style
Process completed with exit code 1.
Rector
Process completed with exit code 1.
PHPstan
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Psalm
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Rector
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Code Style
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
PHPstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPstan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Psalm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Psalm
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Code Style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code Style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rector
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Rector
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/