Skip to content

[WIP] Fork6 blog

[WIP] Fork6 blog #1156

Triggered via pull request November 14, 2023 12:24
Status Failure
Total duration 3m 54s
Artifacts

run-tests.yml

on: pull_request
PHPStan - Static Code Analysis
1m 1s
PHPStan - Static Code Analysis
PHP Code Sniffer
21s
PHP Code Sniffer
npm test
21s
npm test
Docker
3m 45s
Docker
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 10 warnings
PHP Code Sniffer
Process completed with exit code 2.
PHPUnit - installer (PHP 8.2)
Process completed with exit code 1.
PHPUnit - installer (PHP 8.2)
Process completed with exit code 2.
PHPStan - Static Code Analysis: src/Core/Domain/Twig/RoutingExtension.php#L103
Method ForkCMS\Core\Domain\Twig\RoutingExtension::getUrlForBlock() has parameter $parameters with no value type specified in iterable type array.
PHPStan - Static Code Analysis: src/Modules/Blog/Domain/Article/Article.php#L44
Property ForkCMS\Modules\Blog\Domain\Article\Article::$revisionId is never written, only read.
PHPStan - Static Code Analysis: src/Modules/Blog/Domain/Article/ArticleType.php#L43
Access to an undefined property ForkCMS\Modules\Blog\Domain\Article\Command\ArticleDataTransferObject::$cretedBy.
PHPStan - Static Code Analysis: src/Modules/Blog/Domain/Category/Category.php#L43
Property ForkCMS\Modules\Blog\Domain\Category\Category::$id is never written, only read.
PHPStan - Static Code Analysis: src/Modules/Blog/Domain/Category/Category.php#L61
Property ForkCMS\Modules\Blog\Domain\Category\Category::$posts is never written, only read.
PHPStan - Static Code Analysis: src/Modules/Blog/Domain/Category/Category.php#L61
Property ForkCMS\Modules\Blog\Domain\Category\Category::$posts with generic interface Doctrine\Common\Collections\Collection does not specify its types: TKey, T
PHPStan - Static Code Analysis: src/Modules/Blog/Domain/Category/Category.php#L99
Method ForkCMS\Modules\Blog\Domain\Category\Category::getPosts() return type with generic interface Doctrine\Common\Collections\Collection does not specify its types: TKey, T
PHPStan - Static Code Analysis: src/Modules/Blog/Domain/Category/CategoryRepository.php#L15
Class ForkCMS\Modules\Blog\Domain\Category\CategoryRepository extends generic class Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository but does not specify its types: TEntityClass
PHPStan - Static Code Analysis: src/Modules/Blog/Domain/Category/CategoryRepository.php#L27
Parameter #2 $subject of method ForkCMS\Modules\Blog\Domain\Category\CategoryRepository::slugify() expects ForkCMS\Modules\Pages\Domain\Revision\Revision|null, ForkCMS\Modules\Blog\Domain\Category\Category given.
PHPStan - Static Code Analysis: src/Modules/Blog/Domain/Category/CategoryRepository.php#L66
Method ForkCMS\Modules\Blog\Domain\Category\CategoryRepository::getAllCategories() return type has no value type specified in iterable type array.
PHPUnit - functional (PHP 8.2)
Process completed with exit code 2.
PHPUnit - functional (PHP 8.2)
Process completed with exit code 1.
PHPUnit - unit (PHP 8.1)
Process completed with exit code 1.
PHPUnit - unit (PHP 8.1)
Process completed with exit code 2.
PHPUnit - unit (PHP 8.2)
Process completed with exit code 1.
PHPUnit - unit (PHP 8.2)
Process completed with exit code 2.
PHPUnit - installer (PHP 8.1)
Process completed with exit code 1.
PHPUnit - installer (PHP 8.1)
Process completed with exit code 2.
PHPUnit - functional (PHP 8.1)
Process completed with exit code 2.
PHPUnit - functional (PHP 8.1)
Process completed with exit code 1.
Docker
Process completed with exit code 2.
npm test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Code Sniffer
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit - installer (PHP 8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan - Static Code Analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit - functional (PHP 8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit - unit (PHP 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit - unit (PHP 8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit - installer (PHP 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit - functional (PHP 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Docker
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/