Skip to content

Add ArticleReferenceProvider and ArticleReferenceRefresher #1017

Add ArticleReferenceProvider and ArticleReferenceRefresher

Add ArticleReferenceProvider and ArticleReferenceRefresher #1017

Triggered via pull request March 28, 2024 13:31
Status Failure
Total duration 6m 44s
Artifacts

test-application.yaml

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

Annotations

11 errors and 18 warnings
PHP Lint: DependencyInjection/SuluArticleExtension.php#L308
Call to function array_key_exists() with 'SuluReferenceBundle' and array{FrameworkBundle: string, TwigBundle: string, SuluCoreBundle: string, DoctrineBundle: string, DoctrinePHPCRBundle: string, PhpcrMigrationsBundle: string, StofDoctrineExtensionsBundle: string, JMSSerializerBundle: string, ...} will always evaluate to false.
PHP Lint: Reference/Provider/ArticleReferenceProvider.php#L28
Class Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider extends unknown class Sulu\Bundle\DocumentManagerBundle\Reference\Provider\AbstractDocumentReferenceProvider.
PHP Lint: Reference/Provider/ArticleReferenceProvider.php#L34
Parameter $referenceRepository of method Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider::__construct() has invalid type Sulu\Bundle\ReferenceBundle\Domain\Repository\ReferenceRepositoryInterface.
PHP Lint: Reference/Provider/ArticleReferenceProvider.php#L36
Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider::__construct() calls parent::__construct() but Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider does not extend any class.
PHP Lint: Reference/Provider/ArticleReferenceProvider.php#L50
Method Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider::getReferenceRouterAttributes() has parameter $document with no type specified.
PHP Lint: Reference/Provider/ArticleReferenceProvider.php#L50
Method Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider::getReferenceRouterAttributes() return type has no value type specified in iterable type array.
PHP Lint: Reference/Provider/ArticleReferenceProvider.php#L52
Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider::getReferenceRouterAttributes() calls parent::getReferenceRouterAttributes() but Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider does not extend any class.
PHP Lint
Internal error: Internal error: Interface "Sulu\Bundle\ReferenceBundle\Application\Refresh\ReferenceRefresherInterface" not found while analysing file /home/runner/work/SuluArticleBundle/SuluArticleBundle/Reference/Refresh/ArticleReferenceRefresher.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP Lint
<error>Child process error</error> (exit code 1):
PHP Lint
Process completed with exit code 1.
PHP 8.2 (elasticsearch 7.11.1, jackrabbit, highest)
Process completed with exit code 2.
PHP Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, 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: 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.2 (elasticsearch 7.11.1, jackrabbit, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, 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 (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 7.4 (elasticsearch 7.9.3, doctrinedbal, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, 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 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 8.1 (elasticsearch 7.11.1, doctrinedbal, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, 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.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.0 (elasticsearch 7.11.1, jackrabbit, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, 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 (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 7.3 (elasticsearch 5.6.14, doctrinedbal, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, 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 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/