Completed
Push — resource-classnames ( 503d2e )
by Kamil
18:12
created
src/Sylius/Bundle/ResourceBundle/test/src/Tests/Controller/BookApiTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/CartContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/spec/Translation/ThemeAwareTranslatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,8 @@
 block discarded – undo
28 28
  */
29 29
 class ThemeAwareTranslatorSpec extends ObjectBehavior
30 30
 {
31
-    function let(TranslatorInterface $translator, ThemeContextInterface $themeContext) {
31
+    function let(TranslatorInterface $translator, ThemeContextInterface $themeContext)
32
+    {
32 33
         $translator->implement(TranslatorBagInterface::class);
33 34
 
34 35
         $this->beConstructedWith($translator, $themeContext);
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserOAuthInterface.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@
 block discarded – undo
52 52
     /**
53 53
      * @return string
54 54
      */
55
-   public function getRefreshToken();
55
+    public function getRefreshToken();
56 56
 
57
-   /**
58
-    * @param string $refreshToken
59
-    */
60
-   public function setRefreshToken($refreshToken);
57
+    /**
58
+     * @param string $refreshToken
59
+     */
60
+    public function setRefreshToken($refreshToken);
61 61
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/CheckoutContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1261,7 +1261,7 @@
 block discarded – undo
1261 1261
     {
1262 1262
         Assert::true(
1263 1263
             $this->selectPaymentPage->isNextStepButtonUnavailable(),
1264
-           'The "next step" button should be disabled.'
1264
+            'The "next step" button should be disabled.'
1265 1265
         );
1266 1266
     }
1267 1267
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/spec/Context/SessionBasedCartContextSpec.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         SessionInterface $session,
46 46
         OrderRepositoryInterface $orderRepository,
47 47
         OrderInterface $cart
48
-    )  {
48
+    ) {
49 49
         $session->has('session_key_name')->willReturn(true);
50 50
         $session->get('session_key_name')->willReturn(12345);
51 51
         $orderRepository->findCartById(12345)->willReturn($cart);
Please login to merge, or discard this patch.
src/Sylius/Bundle/InventoryBundle/Twig/InventoryExtension.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
     public function getFunctions()
38 38
     {
39 39
         return [
40
-             new \Twig_SimpleFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']),
41
-             new \Twig_SimpleFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']),
40
+                new \Twig_SimpleFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']),
41
+                new \Twig_SimpleFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']),
42 42
         ];
43 43
     }
44 44
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/spec/Routing/ResourceLoaderSpec.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -969,7 +969,7 @@  discard block
 block discarded – undo
969 969
             ],
970 970
         ];
971 971
         $routeFactory->createRoute('/products/new', $createDefaults, [], [], '', [], ['GET', 'POST'])
972
-                     ->willReturn($createRoute);
972
+                        ->willReturn($createRoute);
973 973
         $routeCollection->add('sylius_product_create', $createRoute)->shouldBeCalled();
974 974
 
975 975
         $updateDefaults = [
@@ -979,7 +979,7 @@  discard block
 block discarded – undo
979 979
             ],
980 980
         ];
981 981
         $routeFactory->createRoute('/products/{id}/edit', $updateDefaults, [], [], '', [], ['GET', 'PUT', 'PATCH'])
982
-                     ->willReturn($updateRoute);
982
+                        ->willReturn($updateRoute);
983 983
         $routeCollection->add('sylius_product_update', $updateRoute)->shouldBeCalled();
984 984
 
985 985
         $deleteDefaults = [
@@ -989,7 +989,7 @@  discard block
 block discarded – undo
989 989
             ],
990 990
         ];
991 991
         $routeFactory->createRoute('/products/{id}', $deleteDefaults, [], [], '', [], ['DELETE'])
992
-                     ->willReturn($deleteRoute);
992
+                        ->willReturn($deleteRoute);
993 993
         $routeCollection->add('sylius_product_delete', $deleteRoute)->shouldBeCalled();
994 994
 
995 995
         $this->load($configuration, 'sylius.resource')->shouldReturn($routeCollection);
Please login to merge, or discard this patch.
ProductBundle/spec/Validator/UniqueSimpleProductCodeValidatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@
 block discarded – undo
24 24
 
25 25
 final class UniqueSimpleProductCodeValidatorSpec extends ObjectBehavior
26 26
 {
27
-    function let(ExecutionContextInterface $context, ProductVariantRepositoryInterface $productVariantRepository) {
27
+    function let(ExecutionContextInterface $context, ProductVariantRepositoryInterface $productVariantRepository)
28
+    {
28 29
         $this->beConstructedWith($productVariantRepository);
29 30
         $this->initialize($context);
30 31
     }
Please login to merge, or discard this patch.