Skip to content

Refactor phpunit dataprovider to be static and change some test methods with stricter types #9729

Refactor phpunit dataprovider to be static and change some test methods with stricter types

Refactor phpunit dataprovider to be static and change some test methods with stricter types #9729

Triggered via pull request May 16, 2024 16:57
Status Failure
Total duration 30m 47s
Artifacts

test-application.yaml

on: pull_request
Matrix: js-css
Matrix: php
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 23 warnings
PHP Lint: src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\AudienceTargetingBundle\\Tests\\Unit\\Rule\\TargetGroupEvaluatorTest\:\:testEvaluate\(\) has parameter \$currentTargetGroup with no type specified\.$# in path /home/runner/work/sulu/sulu/src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php was not matched in reported errors.
PHP Lint: src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\AudienceTargetingBundle\\Tests\\Unit\\Rule\\TargetGroupEvaluatorTest\:\:testEvaluate\(\) has parameter \$evaluatedTargetGroup with no type specified\.$# in path /home/runner/work/sulu/sulu/src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php was not matched in reported errors.
PHP Lint: src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\AudienceTargetingBundle\\Tests\\Unit\\Rule\\TargetGroupEvaluatorTest\:\:testEvaluate\(\) has parameter \$frequency with no type specified\.$# in path /home/runner/work/sulu/sulu/src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php was not matched in reported errors.
PHP Lint: src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\AudienceTargetingBundle\\Tests\\Unit\\Rule\\TargetGroupEvaluatorTest\:\:testEvaluate\(\) has parameter \$ruleWhitelists with no type specified\.$# in path /home/runner/work/sulu/sulu/src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php was not matched in reported errors.
PHP Lint: src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\AudienceTargetingBundle\\Tests\\Unit\\Rule\\TargetGroupEvaluatorTest\:\:testEvaluate\(\) has parameter \$targetGroups with no type specified\.$# in path /home/runner/work/sulu/sulu/src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php was not matched in reported errors.
PHP Lint: src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\AudienceTargetingBundle\\Tests\\Unit\\Rule\\TargetGroupEvaluatorTest\:\:testEvaluate\(\) has parameter \$webspaceKey with no type specified\.$# in path /home/runner/work/sulu/sulu/src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php was not matched in reported errors.
PHP Lint: src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php#L66
Method Sulu\Bundle\AudienceTargetingBundle\Tests\Unit\Rule\TargetGroupEvaluatorTest::testEvaluate() has parameter $ruleWhitelists with no value type specified in iterable type array.
PHP Lint: src/Sulu/Bundle/AudienceTargetingBundle/Tests/Unit/Rule/TargetGroupEvaluatorTest.php#L66
Method Sulu\Bundle\AudienceTargetingBundle\Tests\Unit\Rule\TargetGroupEvaluatorTest::testEvaluate() has parameter $targetGroups with no value type specified in iterable type array.
PHP Lint: src/Sulu/Bundle/WebsiteBundle/Tests/Unit/EventListener/SegmentCacheListenerTest.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\WebsiteBundle\\Tests\\Unit\\EventListener\\SegmentCacheListenerTests\:\:providePostHandleVary\(\) has no return type specified\.$# in path /home/runner/work/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/Tests/Unit/EventListener/SegmentCacheListenerTest.php was not matched in reported errors.
PHP Lint: src/Sulu/Bundle/WebsiteBundle/Tests/Unit/EventListener/SegmentCacheListenerTest.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\WebsiteBundle\\Tests\\Unit\\EventListener\\SegmentCacheListenerTests\:\:providePreHandleCookieValue\(\) has no return type specified\.$# in path /home/runner/work/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/Tests/Unit/EventListener/SegmentCacheListenerTest.php was not matched in reported errors.
PHP 8.3 (mysql-80, doctrinedbal, highest)
Process completed with exit code 255.
PHP 8.0 (mysql-57, doctrinedbal, lowest)
Process completed with exit code 255.
PHP 8.2 (postgres-14, doctrinedbal, highest)
Process completed with exit code 255.
PHP 8.1 (mysql-57, jackrabbit, highest)
The job running on runner GitHub Actions 4 has exceeded the maximum execution time of 30 minutes.
PHP 8.1 (mysql-57, jackrabbit, highest)
The operation was canceled.
PHP Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Lint
The `save-state` 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/
PHP Lint
The `save-state` 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/
PHP Lint
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/
PHP 8.3 (mysql-80, doctrinedbal, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.3 (mysql-80, doctrinedbal, highest)
The following actions uses node12 which is deprecated and will be forced to run on node16: ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.3 (mysql-80, doctrinedbal, highest)
The `save-state` 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/
PHP 8.3 (mysql-80, doctrinedbal, highest)
The `save-state` 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/
PHP 8.3 (mysql-80, doctrinedbal, highest)
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/
PHP 8.0 (mysql-57, doctrinedbal, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.0 (mysql-57, doctrinedbal, lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.0 (mysql-57, doctrinedbal, lowest)
The `save-state` 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/
PHP 8.0 (mysql-57, doctrinedbal, lowest)
The `save-state` 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/
PHP 8.0 (mysql-57, doctrinedbal, lowest)
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/
PHP 8.2 (postgres-14, doctrinedbal, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2 (postgres-14, doctrinedbal, highest)
The following actions uses node12 which is deprecated and will be forced to run on node16: ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.2 (postgres-14, doctrinedbal, highest)
The `save-state` 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/
PHP 8.2 (postgres-14, doctrinedbal, highest)
The `save-state` 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/
PHP 8.2 (postgres-14, doctrinedbal, highest)
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/
PHP 8.1 (mysql-57, jackrabbit, highest)
The `save-state` 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/
PHP 8.1 (mysql-57, jackrabbit, highest)
The `save-state` 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/
PHP 8.1 (mysql-57, jackrabbit, highest)
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/