@@ -65,7 +65,7 @@ |
||
| 65 | 65 | $objects = $this->loadFixturesFromFile('books.yml'); |
| 66 | 66 | |
| 67 | 67 | $data = |
| 68 | - <<<EOT |
|
| 68 | + <<<EOT |
|
| 69 | 69 | { |
| 70 | 70 | "title": "Star Wars: Dark Disciple" |
| 71 | 71 | } |
@@ -200,7 +200,7 @@ |
||
| 200 | 200 | */ |
| 201 | 201 | public function iChangeExchangeRateTo($exchangeRate) |
| 202 | 202 | { |
| 203 | - $this->updatePage->changeExchangeRate($exchangeRate); |
|
| 203 | + $this->updatePage->changeExchangeRate($exchangeRate); |
|
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | /** |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | protected function getCodeElement() |
| 44 | 44 | { |
| 45 | - return $this->getElement('code'); |
|
| 45 | + return $this->getElement('code'); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | function it_is_initializable() |
| 33 | 33 | { |
| 34 | 34 | $this->shouldHaveType('Sylius\Component\Inventory\Operator\BackordersHandler'); |
| 35 | - } |
|
| 35 | + } |
|
| 36 | 36 | |
| 37 | 37 | function it_implements_Sylius_inventory_backorders_handler_interface() |
| 38 | 38 | { |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | */ |
| 152 | 152 | public function theTypeFieldShouldBeDisabled() |
| 153 | 153 | { |
| 154 | - $currentPage = $this->currentPageResolver->getCurrentPageWithForm([$this->createPage, $this->updatePage]); |
|
| 154 | + $currentPage = $this->currentPageResolver->getCurrentPageWithForm([$this->createPage, $this->updatePage]); |
|
| 155 | 155 | |
| 156 | 156 | Assert::true( |
| 157 | 157 | $currentPage->isTypeDisabled(), |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | $this->summaryPage->open(); |
| 83 | 83 | |
| 84 | 84 | Assert::true( |
| 85 | - $this->summaryPage->isEmpty(), |
|
| 85 | + $this->summaryPage->isEmpty(), |
|
| 86 | 86 | 'There should appear information about empty cart, but it does not.' |
| 87 | 87 | ); |
| 88 | 88 | } |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Behat\Mink\Exception\ElementNotFoundException; |
| 15 | 15 | use Sylius\Behat\Page\PageInterface; |
| 16 | -use Sylius\Component\Product\Model\ProductOptionInterface; |
|
| 17 | 16 | use Sylius\Component\Product\Model\ProductInterface; |
| 17 | +use Sylius\Component\Product\Model\ProductOptionInterface; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @author Łukasz Chruściel <[email protected]> |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | */ |
| 133 | 133 | public function hasItemNamed($name) |
| 134 | 134 | { |
| 135 | - return $this->hasItemWith($name, '.sylius-product-name'); |
|
| 135 | + return $this->hasItemWith($name, '.sylius-product-name'); |
|
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | /** |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | */ |
| 141 | 141 | public function hasItemWithVariantNamed($variantName) |
| 142 | 142 | { |
| 143 | - return $this->hasItemWith($variantName, '.sylius-product-variant-name'); |
|
| 143 | + return $this->hasItemWith($variantName, '.sylius-product-variant-name'); |
|
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | /** |
@@ -13,8 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Behat\Mink\Element\NodeElement; |
| 15 | 15 | use Behat\Mink\Session; |
| 16 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
| 17 | -use Symfony\Component\Routing\RequestContext; |
|
| 18 | 16 | use Symfony\Component\Routing\RouterInterface; |
| 19 | 17 | |
| 20 | 18 | /** |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | use Sylius\Bundle\ReviewBundle\Doctrine\ORM\ReviewRepository; |
| 17 | 17 | use Sylius\Bundle\ReviewBundle\Form\Type\ReviewType; |
| 18 | 18 | use Sylius\Component\Resource\Factory\Factory; |
| 19 | -use Sylius\Component\Review\Model\ReviewerInterface; |
|
| 20 | 19 | use Sylius\Component\Review\Model\ReviewInterface; |
| 20 | +use Sylius\Component\Review\Model\ReviewerInterface; |
|
| 21 | 21 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
| 22 | 22 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
| 23 | 23 | use Symfony\Component\Config\Definition\ConfigurationInterface; |