@@ -25,7 +25,7 @@ |
||
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; |
@@ -30,7 +30,7 @@ discard block |
||
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 |
||
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 | ]; |
@@ -50,7 +50,7 @@ discard block |
||
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 |
||
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 |
@@ -23,8 +23,8 @@ |
||
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 | } |
@@ -82,8 +82,8 @@ discard block |
||
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 |
||
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); |
@@ -38,7 +38,7 @@ discard block |
||
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 |
||
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 |
@@ -23,8 +23,8 @@ |
||
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 | } |
@@ -45,7 +45,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
@@ -93,10 +93,10 @@ |
||
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', |
@@ -472,7 +472,7 @@ |
||
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 |