Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Oct 8, 2024
1 parent 91941e2 commit c95816a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"security-checker security:check": "script"
},
"ecs": "ecs check",
"phpstan": "phpstan analyse -c phpstan.neon -l max src/",
"phpstan": "phpstan analyse",
"psalm": "vendor/bin/psalm",
"phpunit": "phpunit",
"phpspec": "phpspec run",
Expand Down
5 changes: 4 additions & 1 deletion tests/Behat/Context/Db/ProductContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

namespace Tests\Webgriffe\SyliusAkeneoPlugin\Behat\Context\Db;

if (!interface_exists(\Sylius\Resource\Doctrine\Persistence\RepositoryInterface::class)) {
class_alias(\Sylius\Resource\Doctrine\Persistence\RepositoryInterface::class, \Sylius\Component\Resource\Repository\RepositoryInterface::class);
}
use Behat\Behat\Context\Context;
use Sylius\Component\Core\Model\ProductInterface;
use Sylius\Component\Core\Model\ProductVariantInterface;
Expand All @@ -12,7 +15,7 @@
use Sylius\Component\Product\Model\ProductAssociationInterface;
use Sylius\Component\Product\Model\ProductAssociationTypeInterface;
use Sylius\Component\Product\Repository\ProductAssociationTypeRepositoryInterface;
use Sylius\Component\Resource\Repository\RepositoryInterface;
use Sylius\Resource\Doctrine\Persistence\RepositoryInterface;
use Webmozart\Assert\Assert;

final class ProductContext implements Context
Expand Down

0 comments on commit c95816a

Please sign in to comment.