@@ -127,7 +127,7 @@ |
||
| 127 | 127 | */ |
| 128 | 128 | private function getPaymentMethods(PaymentInterface $payment, $locale) |
| 129 | 129 | { |
| 130 | - $paymentMethods = $this->paymentMethodResolver->getSupportedMethods($payment); |
|
| 130 | + $paymentMethods = $this->paymentMethodResolver->getSupportedMethods($payment); |
|
| 131 | 131 | |
| 132 | 132 | $rawPaymentMethods = []; |
| 133 | 133 | |
@@ -136,7 +136,7 @@ |
||
| 136 | 136 | */ |
| 137 | 137 | private function getCalculatedShippingMethods(ShipmentInterface $shipment, $locale) |
| 138 | 138 | { |
| 139 | - $shippingMethods = $this->shippingMethodsResolver->getSupportedMethods($shipment); |
|
| 139 | + $shippingMethods = $this->shippingMethodsResolver->getSupportedMethods($shipment); |
|
| 140 | 140 | |
| 141 | 141 | $rawShippingMethods = []; |
| 142 | 142 | |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | public function load(array $config, ContainerBuilder $container) |
| 28 | 28 | { |
| 29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
| 30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 31 | 31 | |
| 32 | 32 | $this->registerResources('sylius', $config['driver'], $config['resources'], $container); |
| 33 | 33 | |
@@ -340,7 +340,7 @@ |
||
| 340 | 340 | $this->client->request('DELETE', $this->getAdminUserUrl($user['admin']), [], [], static::$authorizedHeaderWithContentType); |
| 341 | 341 | |
| 342 | 342 | $response = $this->client->getResponse(); |
| 343 | - $this->assertResponse($response, 'admin_user/deletion_fail_response', Response::HTTP_UNPROCESSABLE_ENTITY); |
|
| 343 | + $this->assertResponse($response, 'admin_user/deletion_fail_response', Response::HTTP_UNPROCESSABLE_ENTITY); |
|
| 344 | 344 | } |
| 345 | 345 | |
| 346 | 346 | /** |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | return $this->createQueryBuilder('o') |
| 44 | 44 | ->innerJoin('o.translations', 'translation', 'WITH', 'translation.locale = :locale') |
| 45 | 45 | ->andWhere('translation.name LIKE :name') |
| 46 | - ->setParameter('name', '%'.$phrase.'%') |
|
| 46 | + ->setParameter('name', '%' . $phrase . '%') |
|
| 47 | 47 | ->setParameter('locale', $locale) |
| 48 | 48 | ->getQuery() |
| 49 | 49 | ->getResult() |
@@ -145,7 +145,7 @@ |
||
| 145 | 145 | 'translation.name LIKE :phrase', |
| 146 | 146 | 'o.code LIKE :phrase' |
| 147 | 147 | )) |
| 148 | - ->setParameter('phrase', '%'.$phrase.'%') |
|
| 148 | + ->setParameter('phrase', '%' . $phrase . '%') |
|
| 149 | 149 | ->setParameter('locale', $locale) |
| 150 | 150 | ->setParameter('productCode', $productCode) |
| 151 | 151 | ->getQuery() |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | */ |
| 157 | 157 | public function iSetItsPriceTo($price = null, $channelName = null) |
| 158 | 158 | { |
| 159 | - $this->createPage->specifyPrice($price, (null === $channelName) ? $this->sharedStorage->get('channel') :$channelName); |
|
| 159 | + $this->createPage->specifyPrice($price, (null === $channelName) ? $this->sharedStorage->get('channel') : $channelName); |
|
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | /** |
@@ -519,7 +519,7 @@ discard block |
||
| 519 | 519 | */ |
| 520 | 520 | public function theVariantWithCodeShouldNotHaveShippingRequired(ProductVariantInterface $productVariant) |
| 521 | 521 | { |
| 522 | - $this->updatePage->open(['productId' => $productVariant->getProduct()->getId(),'id' => $productVariant->getId()]); |
|
| 522 | + $this->updatePage->open(['productId' => $productVariant->getProduct()->getId(), 'id' => $productVariant->getId()]); |
|
| 523 | 523 | |
| 524 | 524 | Assert::false($this->updatePage->isShippingRequired()); |
| 525 | 525 | } |
@@ -99,6 +99,6 @@ |
||
| 99 | 99 | { |
| 100 | 100 | $basename = preg_replace('/Plugin$/', '', $this->getName()); |
| 101 | 101 | |
| 102 | - return $this->getNamespace().'\\DependencyInjection\\'.$basename.'Extension'; |
|
| 102 | + return $this->getNamespace() . '\\DependencyInjection\\' . $basename . 'Extension'; |
|
| 103 | 103 | } |
| 104 | 104 | } |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | public function load(array $config, ContainerBuilder $container) |
| 28 | 28 | { |
| 29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
| 30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 31 | 31 | |
| 32 | 32 | $container->setParameter('sylius.admin.notification.enabled', $config['notifications']['enabled']); |
| 33 | 33 | $container->setParameter('sylius.admin.notification.frequency', $config['notifications']['frequency']); |