Skip to content

fix: make shopware 6.6 compatible #11

fix: make shopware 6.6 compatible

fix: make shopware 6.6 compatible #11

Triggered via push January 22, 2024 21:48
Status Failure
Total duration 28s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
lint: src/Controller/RobotsController.php#L12
Attribute class Symfony\Component\Routing\Attribute\Route does not exist.
lint: src/Controller/RobotsController.php#L19
Attribute class Symfony\Component\Routing\Attribute\Route does not exist.
lint: src/Page/Robots/RobotsPageLoader.php#L23
PHPDoc tag @param for parameter $salesChannelDomainRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\System\SalesChannel\Aggregate\SalesChannelDomain\SalesChannelDomainCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
lint: src/Page/Robots/RobotsPageLoader.php#L25
PHPDoc type for property Frosh\RobotsTxt\Page\Robots\RobotsPageLoader::$salesChannelDomainRepository contains generic type Shopware\Core\Framework\DataAbstractionLayer\EntityRepository<Shopware\Core\System\SalesChannel\Aggregate\SalesChannelDomain\SalesChannelDomainCollection> but class Shopware\Core\Framework\DataAbstractionLayer\EntityRepository is not generic.
lint
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/