Failed Conditions
Push — master ( e1d726...46c63a )
by mark
50:35
created
Dependency/Facade/PersistentCartShareToQuoteFacadeInterface.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
      */
20 20
     public function findQuoteById($idQuote): QuoteResponseTransfer;
21 21
 
22
-   /**
23
-    * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
24
-    *
25
-    * @return bool
26
-    */
22
+    /**
23
+     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
24
+     *
25
+     * @return bool
26
+     */
27 27
     public function isQuoteLocked(QuoteTransfer $quoteTransfer): bool;
28 28
 }
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/SchedulerTwigServiceProviderTest.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
     protected function getApplicationMock(): Application
48 48
     {
49 49
         $application = new Application();
50
-        $application['twig'] = function () {
50
+        $application['twig'] = function() {
51 51
             return new Environment(new FilesystemLoader());
52 52
         };
53 53
 
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/SchedulerTwigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function register(Application $app): void
29 29
     {
30 30
         $app['twig'] = $app->share(
31
-            $app->extend('twig', function (Environment $twig) {
31
+            $app->extend('twig', function(Environment $twig) {
32 32
                 $twig->addExtension(new SchedulerTwigPlugin());
33 33
 
34 34
                 return $twig;
Please login to merge, or discard this patch.
ContentProductGui/Communication/Form/ProductAbstractListContentTermForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public function configureOptions(OptionsResolver $resolver): void
38 38
     {
39 39
         $resolver->setDefaults([
40
-            'validation_groups' => function (FormInterface $form) {
40
+            'validation_groups' => function(FormInterface $form) {
41 41
                 /** @var \Generated\Shared\Transfer\LocalizedContentTransfer $localizedContentTransfer */
42 42
                 $localizedContentTransfer = $form->getParent()->getData();
43 43
                 if ($localizedContentTransfer->getFkLocale() === null) {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
             ],
119 119
         ])->get(static::FIELD_ID_ABSTRACT_PRODUCTS)->addEventListener(
120 120
             FormEvents::PRE_SUBMIT,
121
-            function (FormEvent $event): void {
121
+            function(FormEvent $event): void {
122 122
                 if (!$event->getData()) {
123 123
                     return;
124 124
                 }
Please login to merge, or discard this patch.
Bundles/Quote/src/Spryker/Zed/Quote/Business/Model/QuoteWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
         $quoteTransfer = $this->reloadStoreForQuote($quoteTransfer);
112 112
 
113
-        return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) {
113
+        return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) {
114 114
             return $this->executeCreateTransaction($quoteTransfer);
115 115
         });
116 116
     }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 
137 137
         $quoteTransfer = $this->reloadStoreForQuote($quoteTransfer);
138 138
 
139
-        return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) {
139
+        return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) {
140 140
             return $this->executeUpdateTransaction($quoteTransfer);
141 141
         });
142 142
     }
Please login to merge, or discard this patch.
CmsBlockProductConnector/Communication/Form/CmsBlockProductAbstractType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      */
93 93
     protected function getProductSearchPreSubmitCallback(): callable
94 94
     {
95
-        return function (FormEvent $formEvent) {
95
+        return function(FormEvent $formEvent) {
96 96
             $data = $formEvent->getData();
97 97
             $form = $formEvent->getForm();
98 98
 
Please login to merge, or discard this patch.
Spryker/Zed/ContentBannerGui/Communication/Form/BannerContentTermForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public function configureOptions(OptionsResolver $resolver): void
43 43
     {
44 44
         $resolver->setDefaults([
45
-            'validation_groups' => function (FormInterface $form) {
45
+            'validation_groups' => function(FormInterface $form) {
46 46
                 /** @var \Generated\Shared\Transfer\LocalizedContentTransfer $localizedContentTransfer */
47 47
                 $localizedContentTransfer = $form->getParent()->getData();
48 48
                 if ($localizedContentTransfer->getFkLocale() === null) {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             },
62 62
         ]);
63 63
 
64
-        $resolver->setNormalizer('constraints', function (Options $options, $value) {
64
+        $resolver->setNormalizer('constraints', function(Options $options, $value) {
65 65
                 return array_merge($value, [
66 66
                     $this->getFactory()->createContentBannerConstraint(),
67 67
                 ]);
Please login to merge, or discard this patch.
Testify/src/Spryker/Glue/Testify/OpenApi3/Collection/AbstractCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      */
84 84
     public function getIterator()
85 85
     {
86
-        return new ArrayIterator(array_map(function (PropertyValueInterface $element) {
86
+        return new ArrayIterator(array_map(function(PropertyValueInterface $element) {
87 87
             return $element->getValue()->export();
88 88
         }, $this->elements));
89 89
     }
Please login to merge, or discard this patch.
Bundles/Testify/tests/SprykerTest/Glue/Testify/_support/Helper/JsonPath.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,15 +35,15 @@
 block discarded – undo
35 35
      */
36 36
     protected function initializeAdditionalJsonConstrains(): self
37 37
     {
38
-        JsonType::addCustomFilter('/equal\(("[^"\\\\]*(?:\\\\.[^"\\\\]*)*")\)/s', function ($value, $expected) {
38
+        JsonType::addCustomFilter('/equal\(("[^"\\\\]*(?:\\\\.[^"\\\\]*)*")\)/s', function($value, $expected) {
39 39
             return (string)$value === (string)json_decode($expected);
40 40
         });
41 41
 
42
-        JsonType::addCustomFilter('/equal\((\d+)\)/s', function ($value, $expected) {
42
+        JsonType::addCustomFilter('/equal\((\d+)\)/s', function($value, $expected) {
43 43
             return (int)$value === (int)$expected;
44 44
         });
45 45
 
46
-        JsonType::addCustomFilter('/equal\((\d+\.\d+)\)/s', function ($value, $expected) {
46
+        JsonType::addCustomFilter('/equal\((\d+\.\d+)\)/s', function($value, $expected) {
47 47
             return (float)$value === (float)$expected;
48 48
         });
49 49
 
Please login to merge, or discard this patch.