Skip to content

WIP

WIP #97

Triggered via push February 18, 2024 12:19
Status Failure
Total duration 49s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 4 warnings
phpstan: src-dev/Common/Infrastructure/Cache/RecordingCache.php#L21
Property Dev\Common\Infrastructure\Cache\RecordingCache::$deletes is never read, only written.
phpstan: src-dev/Common/Infrastructure/Cache/RecordingCache.php#L30
Method Dev\Common\Infrastructure\Cache\RecordingCache::get() has parameter $metadata with no value type specified in iterable type array.
phpstan: src/Feed/Application/Listener/Article/InvalidateTotalArticlesCountCacheListener.php#L19
Method App\Feed\Application\Listener\Article\InvalidateTotalArticlesCountCacheListener::onArticleAdded() has no return type specified.
phpstan: src/Feed/Infrastructure/Persistence/Doctrine/Article/DoctrineArticleRepository.php#L1
Ignored error pattern #^Method App\\Feed\\Infrastructure\\Persistence\\Doctrine\\Article\\DoctrineArticleRepository\:\:findLatest\(\) should return array\<int, App\\Feed\\Domain\\Article\\Article\> but returns mixed\.$# in path /app/src/Feed/Infrastructure/Persistence/Doctrine/Article/DoctrineArticleRepository.php was not matched in reported errors.
phpstan: src/Feed/Infrastructure/Persistence/Doctrine/Article/DoctrineArticleRepository.php#L60
Parameter #1 $id of class App\Feed\Domain\Article\ArticleId constructor expects string, mixed given.
phpstan: tests/Unit/Feed/Application/Query/Article/Handler/LatestUpdatedArticlesHandlerTest.php#L132
Method Unit\Feed\Application\Query\Article\Handler\LatestUpdatedArticlesHandlerTest::it_should_return_results_from_cache() has no return type specified.
phpstan
Process completed with exit code 1.
phpcs: src-dev/Common/Infrastructure/Cache/RecordingCache.php#L27
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
phpcs: src-dev/Common/Infrastructure/Cache/RecordingCache.php#L48
There must not be a space before the colon in a return type declaration
phpcs: src/Feed/Domain/Article/Exception/ArticleNotFoundException.php#L9
There must not be a space before the colon in a return type declaration
phpcs: src/Feed/Application/Event/Article/ArticleUpdatedEvent.php#L12
Expected 1 newline at end of file; 0 found
phpcs: src/Feed/Application/Event/Article/ArticleAddedEvent.php#L11
Expected 1 newline at end of file; 0 found
phpcs: src/Feed/Application/Listener/Article/InvalidateTotalArticlesCountCacheListener.php#L16
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
phpcs: src/Feed/Application/Listener/Article/InvalidateArticleCacheListener.php#L15
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
phpcs: src/Feed/Application/Listener/Article/InvalidateArticleCacheListener.php#L19
There must not be a space before the colon in a return type declaration
phpcs: tests/Functional/Feed/Infrastructure/Persistence/Doctrine/Article/DoctrineArticleRepositoryTest.php#L111
There must not be a space before the colon in a return type declaration
phpcs: tests/Unit/Feed/Application/Query/Article/Handler/CountArticlesHandlerTest.php#L37
There must not be a space before the colon in a return type declaration
unit_tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpcs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
functional_tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.