Skip to content

Fix phpcr migrations for Symfony 7 without ContainerAwareInterface #1154

Fix phpcr migrations for Symfony 7 without ContainerAwareInterface

Fix phpcr migrations for Symfony 7 without ContainerAwareInterface #1154

Triggered via pull request August 27, 2024 07:47
Status Failure
Total duration 9m 44s
Artifacts

test-application.yaml

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

Annotations

9 errors and 8 warnings
PHP Lint: Content/ArticleDataItem.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\ArticleBundle\\Content\\ArticleDataItem\:\:getImage\(\) should return string but empty return statement found\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Content/ArticleDataItem.php was not matched in reported errors.
PHP Lint: Content/ArticleDataItem.php#L69
Method Sulu\Bundle\ArticleBundle\Content\ArticleDataItem::getImage() should return string|null but empty return statement found.
PHP Lint: Content/ArticleDataProvider.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\ArticleBundle\\Content\\ArticleDataProvider\:\:resolveDatasource\(\) should return Sulu\\Component\\SmartContent\\DatasourceItemInterface but empty return statement found\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Content/ArticleDataProvider.php was not matched in reported errors.
PHP Lint: Content/ArticleDataProvider.php#L228
Method Sulu\Bundle\ArticleBundle\Content\ArticleDataProvider::resolveDatasource() should return Sulu\Component\SmartContent\DatasourceItemInterface|null but empty return statement found.
PHP Lint: Content/PageTreeArticleDataProvider.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\ArticleBundle\\Content\\PageTreeArticleDataProvider\:\:resolveDatasource\(\) should return Sulu\\Component\\SmartContent\\DatasourceItemInterface but returns null\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Content/PageTreeArticleDataProvider.php was not matched in reported errors.
PHP Lint: Export/ArticleExport.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\ArticleBundle\\Export\\ArticleExport\:\:__construct\(\) has parameter \$formatFilePaths with no value type specified in iterable type array\.$# in path /home/runner/work/SuluArticleBundle/SuluArticleBundle/Export/ArticleExport.php was not matched in reported errors.
PHP Lint: Infrastructure/Sulu/Headless/DataProviderResolver/AbstractArticleDataProviderResolver.php#L114
Parameter #1 $articleIds of method Sulu\Bundle\ArticleBundle\Infrastructure\Sulu\Headless\DataProviderResolver\AbstractArticleDataProviderResolver::loadArticleStructures() expects array<string>, array<int<0, max>, int|string> given.
PHP Lint: Infrastructure/SuluHeadlessBundle/DataProviderResolver/AbstractArticleDataProviderResolver.php#L114
Parameter #1 $articleIds of method Sulu\Bundle\ArticleBundle\Infrastructure\SuluHeadlessBundle\DataProviderResolver\AbstractArticleDataProviderResolver::loadArticleStructures() expects array<string>, array<int<0, max>, int|string> given.
PHP Lint
Process completed with exit code 1.
PHP Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 7.4 (elasticsearch 7.9.3, doctrinedbal, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.3 (elasticsearch 7.17.2, doctrinedbal, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.4 (elasticsearch 8.14.3, doctrinedbal, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.0 (elasticsearch 7.11.1, jackrabbit, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.1 (elasticsearch 7.11.1, doctrinedbal, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.2 (elasticsearch 7.11.1, jackrabbit, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 7.3 (elasticsearch 5.6.14, doctrinedbal, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/