Completed
Push — master ( f49a7d...951264 )
by Kamil
01:21 queued 12s
created
src/Sylius/Bundle/ApiBundle/spec/Serializer/CommandNormalizerSpec.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,9 @@  discard block
 block discarded – undo
33 33
     function it_supports_normalization_if_data_has_get_class_method_and_it_is_missing_constructor_arguments_exception(): void
34 34
     {
35 35
         $this->supportsNormalization(
36
-            new class() { public function getClass(): string { return MissingConstructorArgumentsException::class; }}
36
+            new class()
37
+            {
38
+public function getClass(): string { return MissingConstructorArgumentsException::class; }}
37 39
         )->shouldReturn(true);
38 40
     }
39 41
 
@@ -45,7 +47,9 @@  discard block
 block discarded – undo
45 47
     function it_does_not_support_normalization_if_data_class_is_not_missing_constructor_arguments_exception(): void
46 48
     {
47 49
         $this
48
-            ->supportsNormalization(new class() { public function getClass(): string { return \Exception::class; }})
50
+            ->supportsNormalization(new class()
51
+            {
52
+public function getClass(): string { return \Exception::class; }})
49 53
             ->shouldReturn(false)
50 54
         ;
51 55
     }
@@ -54,7 +58,9 @@  discard block
 block discarded – undo
54 58
     {
55 59
         $this
56 60
             ->supportsNormalization(
57
-                new class() { public function getClass(): string { return MissingConstructorArgumentsException::class; }},
61
+                new class()
62
+                {
63
+public function getClass(): string { return MissingConstructorArgumentsException::class; }},
58 64
                 null,
59 65
                 ['command_normalizer_already_called' => true]
60 66
             )
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Shop/LocaleContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function iGetAvailableLocales(): void
40 40
     {
41
-       $this->client->index();
41
+        $this->client->index();
42 42
     }
43 43
 
44 44
     /**
Please login to merge, or discard this patch.
Bundle/ApiBundle/Tests/CommandHandler/ChangeAddressOrderHandlerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         $orderRepository = $container->get('sylius.repository.order');
48 48
 
49 49
         /** @var FactoryInterface $customerFactory */
50
-        $customerFactory =  $container->get('sylius.factory.customer');
50
+        $customerFactory = $container->get('sylius.factory.customer');
51 51
 
52 52
         /** @var ObjectManager $manager */
53 53
         $manager = $container->get('doctrine.orm.default_entity_manager');
Please login to merge, or discard this patch.