ECS fixes (#19043)
Some checks are pending
Continuous Integration (Minimal) / Static checks (push) Waiting to run
Continuous Integration (Minimal) / Tests (MariaDB) (push) Blocked by required conditions
Continuous Integration (Minimal) / Tests (MySQL) (push) Blocked by required conditions
Continuous Integration (Minimal) / Javascript Tests (MySQL) (push) Blocked by required conditions
Continuous Integration (Minimal) / Tests (PostgreSQL) (push) Blocked by required conditions
Continuous Integration (Minimal) / Frontend (push) Blocked by required conditions
Continuous Integration (Minimal) / Packages (push) Blocked by required conditions

| Q               | A
|-----------------|-----
| Branch?         | 2.3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| License         | MIT
This commit is contained in:
Kamil Grygierzec 2026-06-02 15:48:04 +02:00 committed by GitHub
commit 297e5a06ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
327 changed files with 895 additions and 737 deletions

View file

@ -93,7 +93,7 @@ interface ResponseCheckerInterface
public function hasViolationWithMessage(Response $response, string $message, ?string $property = null): bool;
public function appendError(Response $response): ResponseCheckerInterface;
public function appendError(Response $response): self;
public function cleanErrors(): void;

View file

@ -13,11 +13,11 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Context\Api\Resources;
use Sylius\Component\Core\Formatter\StringInflector;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Component\Core\Model\ChannelInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin\Helper;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Component\Core\Formatter\StringInflector;
use Webmozart\Assert\Assert;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiSecurityClientInterface;
use Sylius\Behat\Service\SharedStorageInterface;
use Symfony\Component\BrowserKit\Exception\BadMethodCallException;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestBuilder;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Service\Converter\IriConverterInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestFactoryInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Ramsey\Uuid\Uuid;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestBuilder;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,11 +13,11 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Behat\Context\Context;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Context\Api\Resources;
use Sylius\Component\Core\Model\ChannelInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestBuilder;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestFactoryInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestBuilder;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Admin\Helper\ValidationTrait;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestFactoryInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Webmozart\Assert\Assert;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Common;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Webmozart\Assert\Assert;

View file

@ -13,11 +13,11 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api;
use Behat\Hook\AfterStep;
use Behat\Hook\AfterScenario;
use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\AfterStepScope;
use Behat\Hook\AfterScenario;
use Behat\Hook\AfterStep;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
use Symfony\Component\Console\Output\ConsoleOutput;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Sylius\Behat\Service\Checker\EmailCheckerInterface;
use Sylius\Behat\Service\SharedStorageInterface;
use Sylius\Component\Core\Model\OrderInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\Given;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop\Checkout;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestFactoryInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop\Checkout;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestFactoryInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestFactoryInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Doctrine\Persistence\ObjectManager;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,11 +13,11 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\Given;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ApiSecurityClientInterface;
use Sylius\Behat\Client\RequestFactoryInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestFactoryInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Service\SharedStorageInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\Request;
use Sylius\Behat\Client\RequestFactoryInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Persistence\ObjectManager;
use Sylius\Behat\Client\ApiClientInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Context\Api\Resources;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\RequestFactoryInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;
use Sylius\Behat\Service\SharedStorageInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Shop;
use Behat\Step\When;
use Behat\Step\Then;
use ApiPlatform\Metadata\IriConverterInterface;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Doctrine\Persistence\ObjectManager;
use Sylius\Behat\Client\ApiClientInterface;
use Sylius\Behat\Client\ResponseCheckerInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Cli;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Component\Core\OrderPaymentStates;
use Sylius\Component\Core\Repository\OrderRepositoryInterface;
use Symfony\Bundle\FrameworkBundle\Console\Application;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Cli;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Behat\Context\Ui\Admin\Helper\SecurePasswordTrait;
use Sylius\Behat\Service\SharedStorageInterface;
use Sylius\Component\Core\Model\AdminUserInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Cli;
use Behat\Step\When;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\When;
use Doctrine\ORM\EntityManagerInterface;
use Sylius\Bundle\CoreBundle\Console\Command\InstallSampleDataCommand;
use Sylius\Bundle\CoreBundle\Console\Command\SetupCommand;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Doctrine\Persistence\ObjectManager;
use Sylius\Component\Core\Model\OrderInterface;
use Sylius\Component\Order\Remover\ExpiredCartsRemoverInterface;

View file

@ -13,10 +13,10 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Step\Given;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Behat\Step\Then;
use Behat\Step\When;
use Doctrine\Persistence\ObjectManager;
use Sylius\Behat\Service\SharedStorageInterface;
use Sylius\Component\Core\Model\AdjustmentInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Sylius\Component\Core\Repository\PaymentRepositoryInterface;
use Sylius\Component\Payment\Model\PaymentMethodInterface;
use Webmozart\Assert\Assert;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Sylius\Bundle\CoreBundle\PriceHistory\Remover\ChannelPricingLogEntriesRemoverInterface;
use Sylius\Component\Core\Model\ChannelPricingInterface;
use Sylius\Component\Core\Model\ProductInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Doctrine\DBAL\Exception as DBALException;
use Sylius\Behat\Service\SharedStorageInterface;
use Sylius\Component\Core\Model\ProductInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
use Sylius\Behat\Service\SharedStorageInterface;
use Sylius\Component\Core\Model\PromotionInterface;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
use Doctrine\Persistence\ObjectManager;
use Sylius\Behat\Service\SharedStorageInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Sylius\Component\Core\Repository\ShipmentRepositoryInterface;
use Sylius\Component\Shipping\Model\ShippingMethodInterface;
use Webmozart\Assert\Assert;

View file

@ -13,9 +13,9 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Step\When;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
use Behat\Step\When;
use Doctrine\Persistence\ObjectManager;
use Sylius\Component\Shipping\Model\ShippingMethodInterface;
use Sylius\Resource\Doctrine\Persistence\RepositoryInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Step\Then;
use Behat\Behat\Context\Context;
use Behat\Step\Then;
final class NotificationContext implements Context
{

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Domain;
use Behat\Step\Given;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
final class SecurityContext implements Context
{

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Hook;
use Behat\Hook\BeforeScenario;
use Behat\Behat\Context\Context;
use Behat\Hook\BeforeScenario;
use Symfony\Contracts\Cache\CacheInterface;
final class CacheContext implements Context

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Hook;
use Behat\Hook\AfterScenario;
use Behat\Behat\Context\Context;
use Behat\Hook\AfterScenario;
final class CalendarContext implements Context
{

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Hook;
use Behat\Hook\BeforeScenario;
use Behat\Behat\Context\Context;
use Behat\Hook\BeforeScenario;
use Doctrine\Common\DataFixtures\Purger\ORMPurger;
use Doctrine\ORM\EntityManagerInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Hook;
use Behat\Hook\AfterScenario;
use Behat\Behat\Context\Context;
use Behat\Hook\AfterScenario;
final class GuestCartContext implements Context
{

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Hook;
use Behat\Hook\BeforeScenario;
use Behat\Behat\Context\Context;
use Behat\Hook\BeforeScenario;
use Psr\Cache\CacheItemPoolInterface;
final class MailerContext implements Context

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Hook;
use Behat\Hook\BeforeScenario;
use Behat\Behat\Context\Context;
use Behat\Hook\BeforeScenario;
use Symfony\Component\HttpFoundation\Exception\SessionNotFoundException;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Hook;
use Behat\Hook\BeforeScenario;
use Behat\Behat\Context\Context;
use Behat\Hook\BeforeScenario;
use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface;
final class TestThemeContext implements Context

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Hybrid\Setup;
use Behat\Step\When;
use Behat\Behat\Context\Context;
use Behat\Step\When;
use Sylius\Behat\Context\Api\Shop\CartContext as ApiShopCartContext;
use Sylius\Behat\Context\Ui\Shop\CartContext as UiCartContext;
use Sylius\Component\Core\Model\ProductInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Hybrid\Setup;
use Behat\Step\Given;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Sylius\Behat\Context\Setup\ShopSecurityContext;
use Sylius\Behat\Service\SharedStorageInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Setup;
use Behat\Step\Given;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Doctrine\Persistence\ObjectManager;
use Sylius\Behat\Service\SharedStorageInterface;
use Sylius\Component\Core\Model\AddressInterface;

View file

@ -13,8 +13,8 @@ declare(strict_types=1);
namespace Sylius\Behat\Context\Setup;
use Behat\Step\Given;
use Behat\Behat\Context\Context;
use Behat\Step\Given;
use Sylius\Behat\Service\SecurityServiceInterface;
use Sylius\Behat\Service\SharedStorageInterface;
use Sylius\Bundle\CoreBundle\Fixture\Factory\ExampleFactoryInterface;

Some files were not shown because too many files have changed in this diff Show more