Passed
Branch master (7a7cfe)
by Fabian
45:14
created
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/AssetsPathFunction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     protected function getFunction()
27 27
     {
28
-        return function ($path) {
28
+        return function($path) {
29 29
             $path = ltrim($path, '/');
30 30
 
31 31
             return '/assets/' . $path;
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/GuiTwigExtensionServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $this->provideFormTypeExtension($app);
31 31
 
32 32
         $app['twig'] = $app->share(
33
-            $app->extend('twig', function (\Twig_Environment $twig) {
33
+            $app->extend('twig', function(\Twig_Environment $twig) {
34 34
 
35 35
                 $this->registerTwigFunctions($twig);
36 36
                 $this->registerTwigFilters($twig);
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      */
99 99
     protected function provideFormTypeExtension(Application $app)
100 100
     {
101
-        $app['form.type.extensions'] = $app->share(function () {
101
+        $app['form.type.extensions'] = $app->share(function() {
102 102
             return [
103 103
                 new NoValidateTypeExtension(),
104 104
             ];
Please login to merge, or discard this patch.
Bundles/Gui/src/Spryker/Zed/Gui/GuiDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     protected function addTwigFunctions(Container $container)
52 52
     {
53
-        $container[static::GUI_TWIG_FUNCTIONS] = function () {
53
+        $container[static::GUI_TWIG_FUNCTIONS] = function() {
54 54
             return $this->getTwigFunctions();
55 55
         };
56 56
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     protected function addTwigFilter(Container $container)
66 66
     {
67
-        $container[static::GUI_TWIG_FILTERS] = function () {
67
+        $container[static::GUI_TWIG_FILTERS] = function() {
68 68
             return $this->getTwigFilters();
69 69
         };
70 70
 
Please login to merge, or discard this patch.
Bundles/Gui/tests/SprykerTest/Zed/Gui/_support/GuiCommunicationTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 
24 24
     use _generated\GuiCommunicationTesterActions;
25 25
 
26
-   /**
27
-    * Define custom actions here
28
-    */
26
+    /**
27
+     * Define custom actions here
28
+     */
29 29
 
30 30
 }
Please login to merge, or discard this patch.
Gui/tests/SprykerTest/Zed/Gui/Communication/Table/AbstractTableTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
             static::COL_TWO => 'Two',
83 83
         ]);
84 84
         $config->setSortable([
85
-           static::COL_ONE,
86
-           static::COL_TWO,
85
+            static::COL_ONE,
86
+            static::COL_TWO,
87 87
         ]);
88 88
 
89 89
         $config->setDefaultSortField(static::COL_TWO);
@@ -91,8 +91,8 @@  discard block
 block discarded – undo
91 91
         $result = $this->table->getOrders($config);
92 92
         $expected = [
93 93
             [
94
-              'column' => 1,
95
-              'dir' => 'asc',
94
+                'column' => 1,
95
+                'dir' => 'asc',
96 96
             ],
97 97
         ];
98 98
         $this->assertSame($expected, $result);
Please login to merge, or discard this patch.
Bundles/Quote/src/Spryker/Client/Quote/QuoteDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     protected function addSessionClient(Container $container)
40 40
     {
41
-        $container[static::CLIENT_SESSION] = function (Container $container) {
41
+        $container[static::CLIENT_SESSION] = function(Container $container) {
42 42
             return $container->getLocator()->session()->client();
43 43
         };
44 44
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     protected function addCurrencyPlugin(Container $container)
54 54
     {
55
-        $container[static::CURRENCY_PLUGIN] = function (Container $container) {
55
+        $container[static::CURRENCY_PLUGIN] = function(Container $container) {
56 56
             return new QuoteToCurrencyBridge(new CurrencyPlugin());
57 57
         };
58 58
 
Please login to merge, or discard this patch.
Bundles/Quote/tests/SprykerTest/Client/Quote/_support/QuoteClientTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 
24 24
     use _generated\QuoteClientTesterActions;
25 25
 
26
-   /**
27
-    * Define custom actions here
28
-    */
26
+    /**
27
+     * Define custom actions here
28
+     */
29 29
 
30 30
 }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductAttribute/ProductAttributeDependencyProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected function addUtilEncodingService($container)
47 47
     {
48
-        $container[static::SERVICE_UTIL_ENCODING] = function (Container $container) {
48
+        $container[static::SERVICE_UTIL_ENCODING] = function(Container $container) {
49 49
             return new ProductAttributeToUtilEncodingBridge($container->getLocator()->utilEncoding()->service());
50 50
         };
51 51
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     protected function addLocaleFacade(Container $container)
61 61
     {
62
-        $container[static::FACADE_LOCALE] = function (Container $container) {
62
+        $container[static::FACADE_LOCALE] = function(Container $container) {
63 63
             return new ProductAttributeToLocaleBridge($container->getLocator()->locale()->facade());
64 64
         };
65 65
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     protected function addGlossaryFacade(Container $container)
75 75
     {
76
-        $container[static::FACADE_GLOSSARY] = function (Container $container) {
76
+        $container[static::FACADE_GLOSSARY] = function(Container $container) {
77 77
             return new ProductAttributeToGlossaryBridge($container->getLocator()->glossary()->facade());
78 78
         };
79 79
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     protected function addProductFacade(Container $container)
89 89
     {
90
-        $container[static::FACADE_PRODUCT] = function (Container $container) {
90
+        $container[static::FACADE_PRODUCT] = function(Container $container) {
91 91
             return new ProductAttributeToProductBridge($container->getLocator()->product()->facade());
92 92
         };
93 93
 
Please login to merge, or discard this patch.
SprykerTest/Zed/ProductAttribute/Business/ProductAttributeFacadeTest.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -93,10 +93,10 @@
 block discarded – undo
93 93
         $productManagementAttributeTransfer = $this->tester->generateProductManagementAttributeTransfer()
94 94
             ->setIdProductManagementAttribute($productAttributeKeyEntity->getIdProductManagementAttribute())
95 95
             ->setLocalizedKeys(new ArrayObject([
96
-               $this->tester->generateLocalizedProductManagementAttributeKeyTransfer([
97
-                   'locale_name' => 'aa_AA',
98
-                   'key_translation' => 'Foo',
99
-               ]),
96
+                $this->tester->generateLocalizedProductManagementAttributeKeyTransfer([
97
+                    'locale_name' => 'aa_AA',
98
+                    'key_translation' => 'Foo',
99
+                ]),
100 100
                 $this->tester->generateLocalizedProductManagementAttributeKeyTransfer([
101 101
                     'locale_name' => 'bb_BB',
102 102
                     'key_translation' => 'Bar',
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@
 block discarded – undo
472 472
                 $glossaryKeyBuilderMock,
473 473
             ])->setMethods(['getLocaleByName'])->getMock();
474 474
 
475
-        $attributeTranslatorMock->method('getLocaleByName')->willReturnCallback(function ($localeName) {
475
+        $attributeTranslatorMock->method('getLocaleByName')->willReturnCallback(function($localeName) {
476 476
             return $this->tester->getLocale($localeName);
477 477
         });
478 478
 
Please login to merge, or discard this patch.