Passed
Push — master ( 5c7090...383a84 )
by
unknown
36:47
created
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.
Zed/ContentFileGui/Communication/Table/ContentFileListSelectedTable.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@
 block discarded – undo
98 98
         $this->defaultUrl = Url::generate(static::TABLE_IDENTIFIER, $parameters)->build();
99 99
         $this->tableClass = static::TABLE_CLASS;
100 100
         $identifierSuffix = !$this->identifierSuffix ?
101
-            static::TABLE_IDENTIFIER :
102
-            sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
101
+            static::TABLE_IDENTIFIER : sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
103 102
         $this->setTableIdentifier($identifierSuffix);
104 103
 
105 104
         $this->disableSearch();
Please login to merge, or discard this patch.
SprykerTest/Zed/CompanyBusinessUnit/_support/CompanyBusinessUnitTester.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     {
47 47
         return [
48 48
             'tree structure: null -> A -> B, C' => [
49
-                (function (): ArrayObject {
49
+                (function(): ArrayObject {
50 50
                     $companyBusinessUnits = new ArrayObject();
51 51
 
52 52
                     $companyBusinessUnits->append((new CompanyBusinessUnitBuilder([CompanyBusinessUnitTransfer::ID_COMPANY_BUSINESS_UNIT => 1, CompanyBusinessUnitTransfer::NAME => 'A', CompanyBusinessUnitTransfer::FK_PARENT_COMPANY_BUSINESS_UNIT => null]))->build());
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
                 ],
73 73
             ],
74 74
             'tree structure: null -> D -> E -> G ; D -> F' => [
75
-                (function (): ArrayObject {
75
+                (function(): ArrayObject {
76 76
                     $companyBusinessUnits = new ArrayObject();
77 77
 
78 78
                     $companyBusinessUnits->append((new CompanyBusinessUnitBuilder([CompanyBusinessUnitTransfer::ID_COMPANY_BUSINESS_UNIT => 4, CompanyBusinessUnitTransfer::NAME => 'D', CompanyBusinessUnitTransfer::FK_PARENT_COMPANY_BUSINESS_UNIT => null]))->build());
Please login to merge, or discard this patch.
_support/Helper/CompanyUnitAddressLabelDataHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 
57 57
         /** @var \SprykerTest\Shared\Testify\Helper\DataCleanupHelper $dataCleanupHelper */
58 58
         $dataCleanupHelper = $this->getDataCleanupHelper();
59
-        $dataCleanupHelper->_addCleanup(function () use ($companyUnitAddressTransfer): void {
59
+        $dataCleanupHelper->_addCleanup(function() use ($companyUnitAddressTransfer): void {
60 60
             $companyUnitAddressTransfer->setLabelCollection();
61 61
             $this->getCompanyUnitAddressLabelFacade()
62 62
                 ->saveLabelToAddressRelations($companyUnitAddressTransfer);
Please login to merge, or discard this patch.
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.