Skip to content

Index correct ghost content when deleting the locale of an article #939

Index correct ghost content when deleting the locale of an article

Index correct ghost content when deleting the locale of an article #939

Triggered via pull request December 14, 2023 15:16
Status Failure
Total duration 5m 44s
Artifacts

test-application.yaml

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

Annotations

11 errors and 22 warnings
PHP Lint: Admin/ArticleAdmin.php#L433
Method Sulu\Bundle\ArticleBundle\Admin\ArticleAdmin::getSecurityContexts() should return array<string, array<string, array<string, array<string>>>> but returns array<string, array<string, array<int|string, array<int, string>>>>.
PHP Lint: Document/Index/ArticleIndexer.php#L464
Cannot access offset 'locale' on mixed.
PHP Lint: Document/Index/ArticleIndexer.php#L464
Parameter #2 $locale of method Sulu\Bundle\ArticleBundle\Document\Index\ArticleIndexer::replaceWithGhostData() expects string, mixed given.
PHP Lint: Document/Subscriber/ArticleSubscriber.php#L478
Parameter #1 $document of method Sulu\Bundle\ArticleBundle\Document\Index\IndexerInterface::replaceWithGhostData() expects Sulu\Bundle\ArticleBundle\Document\ArticleDocument, object given.
PHP Lint: Preview/ArticleObjectProvider.php#L160
Ignored error pattern #^Cannot access offset 'pageNumber' on mixed\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Preview/ArticleObjectProvider.php is expected to occur 2 times, but occurred only 1 time.
PHP Lint
Process completed with exit code 1.
PHP 7.4 (elasticsearch 7.9.3, doctrinedbal, highest)
Process completed with exit code 2.
PHP 8.1 (elasticsearch 7.11.1, doctrinedbal, highest)
Process completed with exit code 2.
PHP 7.3 (elasticsearch 5.6.14, doctrinedbal, lowest)
Process completed with exit code 2.
PHP 8.0 (elasticsearch 7.11.1, jackrabbit, highest)
Process completed with exit code 2.
PHP 8.2 (elasticsearch 7.11.1, jackrabbit, highest)
Process completed with exit code 2.
PHP Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 7.4 (elasticsearch 7.9.3, doctrinedbal, highest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 7.4 (elasticsearch 7.9.3, 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 7.4 (elasticsearch 7.9.3, 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 7.4 (elasticsearch 7.9.3, 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 (elasticsearch 7.11.1, doctrinedbal, highest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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.1 (elasticsearch 7.11.1, 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.1 (elasticsearch 7.11.1, 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.1 (elasticsearch 7.11.1, 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 7.3 (elasticsearch 5.6.14, doctrinedbal, lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 7.3 (elasticsearch 5.6.14, 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 7.3 (elasticsearch 5.6.14, 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 7.3 (elasticsearch 5.6.14, 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.0 (elasticsearch 7.11.1, jackrabbit, highest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 (elasticsearch 7.11.1, 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.0 (elasticsearch 7.11.1, 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.0 (elasticsearch 7.11.1, 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/
PHP 8.2 (elasticsearch 7.11.1, jackrabbit, highest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 (elasticsearch 7.11.1, 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.2 (elasticsearch 7.11.1, 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.2 (elasticsearch 7.11.1, 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/