Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Bundles/Price/tests/SprykerTest/Zed/Price/Business/PriceFacadeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $quoteValidationResponseTransfer = $this->getQuoteValidationResponseTransfer($quoteTransfer);
44 44
 
45 45
         //Act
46
-        $errors = array_map(function ($quoteErrorTransfer) {
46
+        $errors = array_map(function($quoteErrorTransfer) {
47 47
             return $quoteErrorTransfer->getMessage();
48 48
         }, (array)$quoteValidationResponseTransfer->getErrors());
49 49
 
Please login to merge, or discard this patch.
Zed/CompanyUsersRestApi/Business/CompanyUser/CompanyUserReaderInterface.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 
13 13
 interface CompanyUserReaderInterface
14 14
 {
15
-   /**
16
-    * @param \Generated\Shared\Transfer\CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer
17
-    *
18
-    * @return \Generated\Shared\Transfer\CompanyUserCollectionTransfer
19
-    */
15
+    /**
16
+     * @param \Generated\Shared\Transfer\CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer
17
+     *
18
+     * @return \Generated\Shared\Transfer\CompanyUserCollectionTransfer
19
+     */
20 20
     public function getCompanyUserCollection(
21 21
         CompanyUserCriteriaFilterTransfer $companyUserCriteriaFilterTransfer
22 22
     ): CompanyUserCollectionTransfer;
Please login to merge, or discard this patch.
Spryker/Zed/OauthPermission/Business/Filter/OauthUserIdentifierFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function filter(array $userIdentifier): array
33 33
     {
34
-        return array_filter($userIdentifier, function ($key) {
34
+        return array_filter($userIdentifier, function($key) {
35 35
             return !in_array($key, $this->config->getOauthUserIdentifierFilterKeys());
36 36
         }, ARRAY_FILTER_USE_KEY);
37 37
     }
Please login to merge, or discard this patch.
Redis/tests/SprykerTest/Client/Redis/Adapter/RedisAdapterProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     {
128 128
         $clientAdapterFactory = ($this->createMock(RedisAdapterFactoryInterface::class));
129 129
         $clientAdapterFactory->method('create')
130
-            ->willReturnCallback(function () {
130
+            ->willReturnCallback(function() {
131 131
                     return $this->createMock(RedisAdapterInterface::class);
132 132
             });
133 133
 
Please login to merge, or discard this patch.
src/Spryker/Shared/SessionRedis/Handler/Lock/SessionSpinLockLocker.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@
 block discarded – undo
237 237
     return redis.call("DEL", KEYS[1])
238 238
 end
239 239
 return 0
240
-LUA;
240
+lua;
241 241
     }
242 242
 
243 243
     /**
Please login to merge, or discard this patch.
Zed/ContentProductSetGui/Communication/Form/ProductSetContentTermForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function configureOptions(OptionsResolver $resolver): void
36 36
     {
37 37
         $resolver->setDefaults([
38
-            'validation_groups' => function (FormInterface $form) {
38
+            'validation_groups' => function(FormInterface $form) {
39 39
                 /** @var \Generated\Shared\Transfer\LocalizedContentTransfer $localizedContentTransfer */
40 40
                 $localizedContentTransfer = $form->getParent()->getData();
41 41
                 if ($localizedContentTransfer->getFkLocale() === null) {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
             'label' => false,
102 102
         ])->get(static::FIELD_ID_PRODUCT_SET)->addEventListener(
103 103
             FormEvents::PRE_SUBMIT,
104
-            function (FormEvent $event): void {
104
+            function(FormEvent $event): void {
105 105
                 if (!$event->getData()) {
106 106
                     return;
107 107
                 }
Please login to merge, or discard this patch.
Spryker/Zed/CartsRestApi/Business/QuoteItem/QuoteItemReaderInterface.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 
13 13
 interface QuoteItemReaderInterface
14 14
 {
15
-  /**
16
-   * @param \Generated\Shared\Transfer\CartItemRequestTransfer $cartItemRequestTransfer
17
-   *
18
-   * @return \Generated\Shared\Transfer\QuoteResponseTransfer
19
-   */
15
+    /**
16
+     * @param \Generated\Shared\Transfer\CartItemRequestTransfer $cartItemRequestTransfer
17
+     *
18
+     * @return \Generated\Shared\Transfer\QuoteResponseTransfer
19
+     */
20 20
     public function readItem(CartItemRequestTransfer $cartItemRequestTransfer): QuoteResponseTransfer;
21 21
 }
Please login to merge, or discard this patch.
Communication/Form/PriceProductScheduleImportFormType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,10 +115,10 @@
 block discarded – undo
115 115
         $builder->get(static::FIELD_FILE_UPLOAD)
116 116
             ->addModelTransformer(
117 117
                 new CallbackTransformer(
118
-                    function ($data) {
118
+                    function($data) {
119 119
                         return $data;
120 120
                     },
121
-                    function (?SymfonyUploadedFile $uploadedFile = null) {
121
+                    function(?SymfonyUploadedFile $uploadedFile = null) {
122 122
                         if ($uploadedFile === null) {
123 123
                             return $uploadedFile;
124 124
                         }
Please login to merge, or discard this patch.
Spryker/Zed/ContentFileGui/Communication/Table/ContentFileListViewTable.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,7 @@
 block discarded – undo
84 84
         $this->tableClass = static::TABLE_CLASS;
85 85
 
86 86
         $identifierSuffix = !$this->identifierSuffix ?
87
-            static::TABLE_IDENTIFIER :
88
-            sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
87
+            static::TABLE_IDENTIFIER : sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
89 88
         $this->setTableIdentifier($identifierSuffix);
90 89
 
91 90
         $config->setHeader([
Please login to merge, or discard this patch.