Add ArticleReferenceProvider and ArticleReferenceRefresher #1017
Annotations
10 errors and 3 warnings
Lint code:
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.
|
Lint code:
Reference/Provider/ArticleReferenceProvider.php#L28
Class Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider extends unknown class Sulu\Bundle\DocumentManagerBundle\Reference\Provider\AbstractDocumentReferenceProvider.
|
Lint code:
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.
|
Lint code:
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.
|
Lint code:
Reference/Provider/ArticleReferenceProvider.php#L50
Method Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider::getReferenceRouterAttributes() has parameter $document with no type specified.
|
Lint code:
Reference/Provider/ArticleReferenceProvider.php#L50
Method Sulu\Bundle\ArticleBundle\Reference\Provider\ArticleReferenceProvider::getReferenceRouterAttributes() return type has no value type specified in iterable type array.
|
Lint code:
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.
|
Lint code
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
|
Lint code
<error>Child process error</error> (exit code 1):
|
Lint code
Process completed with exit code 1.
|
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/.
|
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/
|
Install composer dependencies
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/
|
Loading