Completed
Push — master ( 5d5b03...4c05ee )
by Kamil
01:34 queued 12s
created
ApiBundle/spec/Validator/Constraints/CorrectOrderAddressValidatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,8 @@
 block discarded – undo
52 52
             ->shouldThrow(\InvalidArgumentException::class)
53 53
             ->during('validate', [
54 54
                 new AddressOrder('[email protected]', $billingAddress->getWrappedObject(), $shippingAddress->getWrappedObject()),
55
-                new class() extends Constraint {
55
+                new class() extends Constraint
56
+                {
56 57
                 }
57 58
             ])
58 59
         ;
Please login to merge, or discard this patch.
ApiBundle/spec/Validator/Constraints/UniqueReviewerEmailValidatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,8 @@
 block discarded – undo
46 46
     {
47 47
         $this
48 48
             ->shouldThrow(\InvalidArgumentException::class)
49
-            ->during('validate', ['', new class() extends Constraint {
49
+            ->during('validate', ['', new class() extends Constraint
50
+            {
50 51
             }])
51 52
         ;
52 53
     }
Please login to merge, or discard this patch.
spec/Validator/Constraints/ChosenShippingMethodEligibilityValidatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,8 @@
 block discarded – undo
49 49
     {
50 50
         $this
51 51
             ->shouldThrow(\InvalidArgumentException::class)
52
-            ->during('validate', [new ChooseShippingMethod('SHIPPING_METHOD_CODE'), new class() extends Constraint {
52
+            ->during('validate', [new ChooseShippingMethod('SHIPPING_METHOD_CODE'), new class() extends Constraint
53
+            {
53 54
             }])
54 55
         ;
55 56
     }
Please login to merge, or discard this patch.
spec/Validator/Constraints/ChangedItemQuantityInCartValidatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,8 @@
 block discarded – undo
58 58
             ->shouldThrow(\InvalidArgumentException::class)
59 59
             ->during('validate', [
60 60
                 new ChangeItemQuantityInCart(2),
61
-                new class() extends Constraint {
61
+                new class() extends Constraint
62
+                {
62 63
                 }
63 64
             ])
64 65
         ;
Please login to merge, or discard this patch.
ApiBundle/spec/Validator/Constraints/OrderItemAvailabilityValidatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,8 @@
 block discarded – undo
49 49
             ->shouldThrow(\InvalidArgumentException::class)
50 50
             ->during('validate', [
51 51
                 new CompleteOrder(),
52
-                new class() extends Constraint {
52
+                new class() extends Constraint
53
+                {
53 54
                 }
54 55
             ])
55 56
         ;
Please login to merge, or discard this patch.
Validator/Constraints/AddingEligibleProductVariantToCartValidatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,8 @@
 block discarded – undo
58 58
             ->shouldThrow(\InvalidArgumentException::class)
59 59
             ->during('validate', [
60 60
                 new AddItemToCart('productVariantCode', 1),
61
-                new class() extends Constraint {
61
+                new class() extends Constraint
62
+                {
62 63
                 }
63 64
             ])
64 65
         ;
Please login to merge, or discard this patch.
spec/Validator/Constraints/PromotionCouponEligibilityValidatorSpec.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,9 @@
 block discarded – undo
67 67
     {
68 68
         $this
69 69
             ->shouldThrow(\InvalidArgumentException::class)
70
-            ->during('validate', ['', new class() extends Constraint {}])
70
+            ->during('validate', ['', new class() extends Constraint
71
+            {
72
+}])
71 73
         ;
72 74
     }
73 75
 
Please login to merge, or discard this patch.
ApiBundle/ApiPlatform/Factory/MergingExtractorResourceMetadataFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             ;
77 77
         }
78 78
 
79
-        if ($resource['attributes'] ==! null || !empty($this->defaults['attributes'])) {
79
+        if ($resource['attributes'] == !null || !empty($this->defaults['attributes'])) {
80 80
             $resource['attributes'] = (array) $resource['attributes'];
81 81
             foreach ($this->defaults['attributes'] as $key => $value) {
82 82
                 if (!isset($resource['attributes'][$key])) {
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Resolver/TaxationAddressResolver.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 use Sylius\Component\Core\Model\AddressInterface;
17 17
 use Sylius\Component\Core\Model\OrderInterface;
18 18
 
19
-final class TaxationAddressResolver Implements TaxationAddressResolverInterface
19
+final class TaxationAddressResolver implements TaxationAddressResolverInterface
20 20
 {
21 21
     /** @var bool */
22 22
     private $shippingAddressBasedTaxation;
Please login to merge, or discard this patch.