Completed
Push — remove-codeowners ( c2a3b4 )
by Kamil
35:29 queued 21:05
created
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.
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
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $objects = $this->loadFixturesFromFile('books.yml');
77 77
 
78 78
         $data =
79
- <<<EOT
79
+    <<<EOT
80 80
         {
81 81
             "author": "Christie Golden"
82 82
         }
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/test/src/Tests/Controller/ComicBookApiTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
         $objects = $this->loadFixturesFromFile('comic_books.yml');
86 86
 
87 87
         $data =
88
- <<<EOT
88
+    <<<EOT
89 89
         {
90 90
             "authorFirstName": "Joe",
91 91
             "authorLastName": "Kelly"
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
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
     public function getFunctions(): array
40 40
     {
41 41
         return [
42
-             new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']),
43
-             new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']),
42
+                new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']),
43
+                new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']),
44 44
         ];
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
test/src/Tests/DependencyInjection/SyliusResourceExtensionTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
                     'translation' => [
41 41
                         'classes' => [
42 42
                             'model' => BookTranslation::class,
43
-                         ],
43
+                            ],
44 44
                     ],
45 45
                 ],
46 46
             ],
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
         $this->setParameter('kernel.bundles', []);
78 78
 
79 79
         $this->load([
80
-             'translation' => [
81
-                 'locale_provider' => 'test.custom_locale_provider',
82
-             ],
83
-         ]);
80
+                'translation' => [
81
+                    'locale_provider' => 'test.custom_locale_provider',
82
+                ],
83
+            ]);
84 84
 
85 85
         $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider');
86 86
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Updater/UnpaidOrdersStateUpdaterSpec.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
         StateMachineInterface $secondOrderStateMachine
47 47
     ): void {
48 48
         $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([
49
-           $firstOrder,
50
-           $secondOrder,
49
+            $firstOrder,
50
+            $secondOrder,
51 51
         ]);
52 52
 
53 53
         $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine);
Please login to merge, or discard this patch.