diff --git a/tests/Application/config/bundles.php b/tests/Application/config/bundles.php index 70ab974..8c4f575 100644 --- a/tests/Application/config/bundles.php +++ b/tests/Application/config/bundles.php @@ -66,5 +66,4 @@ League\FlysystemBundle\FlysystemBundle::class => ['all' => true], BabDev\PagerfantaBundle\BabDevPagerfantaBundle::class => ['all' => true], SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle::class => ['all' => true], - ]; diff --git a/tests/Behat/Context/Ui/Shop/MailChimpContext.php b/tests/Behat/Context/Ui/Shop/MailChimpContext.php index 7cd86d6..36ab382 100644 --- a/tests/Behat/Context/Ui/Shop/MailChimpContext.php +++ b/tests/Behat/Context/Ui/Shop/MailChimpContext.php @@ -36,8 +36,11 @@ final class MailChimpContext implements Context * @param string $apiKey * @param string $listId */ - public function __construct(SharedStorageInterface $sharedStorage, $apiKey, $listId) - { + public function __construct( + SharedStorageInterface $sharedStorage, + $apiKey, + $listId + ) { $this->sharedStorage = $sharedStorage; $this->mailChimp = new AlwaysSuccessMailChimpClient($apiKey); $this->listId = $listId; diff --git a/tests/Behat/Fake/AlwaysSuccessMailChimpClient.php b/tests/Behat/Fake/AlwaysSuccessMailChimpClient.php index 0d979b9..74d91d3 100644 --- a/tests/Behat/Fake/AlwaysSuccessMailChimpClient.php +++ b/tests/Behat/Fake/AlwaysSuccessMailChimpClient.php @@ -14,17 +14,23 @@ final class AlwaysSuccessMailChimpClient extends MailChimp { - public function post($method, $args = [], $timeout = self::TIMEOUT) - { + public function post( + $method, + $args = [], + $timeout = self::TIMEOUT + ) { return ['status' => 'subscribed']; } - public function get($method, $args = [], $timeout = self::TIMEOUT) - { + public function get( + $method, + $args = [], + $timeout = self::TIMEOUT + ) { return ['status' => 'subscribed']; } - public function getLastError():bool + public function getLastError(): bool { return false; }