Skip to content

Fix indexing of unpublished documents #929

Fix indexing of unpublished documents

Fix indexing of unpublished documents #929

Triggered via pull request September 13, 2023 22:17
Status Failure
Total duration 8m 52s
Artifacts

test-application.yaml

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

Annotations

10 errors and 22 warnings
PHP Lint: Document/Index/ArticleIndexer.php#L1
Ignored error pattern #^If condition is always true\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Document/Index/ArticleIndexer.php was not matched in reported errors.
PHP Lint: Document/Index/ArticleIndexer.php#L1
Ignored error pattern #^Parameter \#1 \$document of method Sulu\\Bundle\\ArticleBundle\\Document\\Index\\ArticleIndexer\:\:createOrUpdateArticle\(\) expects Sulu\\Bundle\\ArticleBundle\\Document\\ArticleDocument, object given\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Document/Index/ArticleIndexer.php was not matched in reported errors.
PHP Lint: Document/Index/ArticleIndexer.php#L1
Ignored error pattern #^Parameter \#1 \$document of method Sulu\\Bundle\\ArticleBundle\\Document\\Index\\ArticleIndexer\:\:dispatchIndexEvent\(\) expects Sulu\\Bundle\\ArticleBundle\\Document\\ArticleDocument, object given\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Document/Index/ArticleIndexer.php was not matched in reported errors.
PHP Lint: Document/Index/ArticleIndexer.php#L1
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Document/Index/ArticleIndexer.php was not matched in reported errors.
PHP Lint: Document/Initializer/ArticleNodeType.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\ArticleBundle\\Document\\Initializer\\ArticleNodeType\:\:getDeclaredSupertypeNames\(\) return type has no value type specified in iterable type array\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Document/Initializer/ArticleNodeType.php was not matched in reported errors.
PHP Lint: Document/Initializer/ArticlePageNodeDefinition.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\ArticleBundle\\Document\\Initializer\\ArticlePageNodeDefinition\:\:getRequiredPrimaryTypeNames\(\) return type has no value type specified in iterable type array\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Document/Initializer/ArticlePageNodeDefinition.php was not matched in reported errors.
PHP Lint: Document/Initializer/ArticlePageNodeDefinition.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\ArticleBundle\\Document\\Initializer\\ArticlePageNodeDefinition\:\:getRequiredPrimaryTypeNames\(\) should return array but returns null\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Document/Initializer/ArticlePageNodeDefinition.php was not matched in reported errors.
PHP Lint: Document/Initializer/ArticlePageNodeDefinition.php#L59
Method Sulu\Bundle\ArticleBundle\Document\Initializer\ArticlePageNodeDefinition::getRequiredPrimaryTypeNames() should return array<string> but returns null.
PHP Lint: Document/Initializer/ArticlePageNodeType.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\ArticleBundle\\Document\\Initializer\\ArticlePageNodeType\:\:getDeclaredSupertypeNames\(\) return type has no value type specified in iterable type array\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Document/Initializer/ArticlePageNodeType.php was not matched in reported errors.
PHP Lint: Document/Subscriber/ArticleSubscriber.php#L1
Ignored error pattern #^Cannot call method getIdentifier\(\) on mixed\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Document/Subscriber/ArticleSubscriber.php was not matched in reported errors.
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 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.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.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/
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 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/