@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\NewRelicCommunicationTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $request->attributes->set('controller', 'bar'); |
| 44 | 44 | $request->attributes->set('action', 'baz'); |
| 45 | 45 | |
| 46 | - $controller = function () {}; |
|
| 46 | + $controller = function() {}; |
|
| 47 | 47 | $filterControllerEvent = new FilterControllerEvent( |
| 48 | 48 | $this->getKernelMock(), |
| 49 | 49 | $controller, |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Shared\NewRelicApi\NewRelicApiInterface |
|
| 54 | + * @return \Spryker\Shared\NewRelicApi\NewRelicApiInterface |
|
| 55 | 55 | */ |
| 56 | 56 | protected function getNewRelicApiMock() |
| 57 | 57 | { |
@@ -137,7 +137,7 @@ |
||
| 137 | 137 | ->setMethods(['addCustomParameter']) |
| 138 | 138 | ->getMock(); |
| 139 | 139 | |
| 140 | - $newRelicApiMock->expects($this->exactly(5))->method('addCustomParameter')->willReturnCallback(function ($key, $value) { |
|
| 140 | + $newRelicApiMock->expects($this->exactly(5))->method('addCustomParameter')->willReturnCallback(function($key, $value) { |
|
| 141 | 141 | if (is_array($value)) { |
| 142 | 142 | $this->fail('Input value of addCustomParameter() is not allowed to be an array'); |
| 143 | 143 | } |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | public function testShouldCommitWhenNoErrors() |
| 45 | 45 | { |
| 46 | - $callback = function () {}; |
|
| 46 | + $callback = function() {}; |
|
| 47 | 47 | |
| 48 | 48 | $this->connection |
| 49 | 49 | ->expects($this->once()) |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | */ |
| 66 | 66 | public function testShouldCatchExceptionAndRollback() |
| 67 | 67 | { |
| 68 | - $callback = function () { |
|
| 68 | + $callback = function() { |
|
| 69 | 69 | throw new Exception('Error when saving'); |
| 70 | 70 | }; |
| 71 | 71 | |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\PropelOrmBusinessTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | */ |
| 61 | 61 | public function provideCommunicationLayerDependencies(Container $container) |
| 62 | 62 | { |
| 63 | - $container[static::SERVICE_DATE_FORMATTER] = function (Container $container) { |
|
| 63 | + $container[static::SERVICE_DATE_FORMATTER] = function(Container $container) { |
|
| 64 | 64 | return $container->getLocator()->utilDateTime()->service(); |
| 65 | 65 | }; |
| 66 | 66 | |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | */ |
| 75 | 75 | protected function provideApiQueryContainer(Container $container) |
| 76 | 76 | { |
| 77 | - $container[static::QUERY_CONTAINER_API] = function (Container $container) { |
|
| 77 | + $container[static::QUERY_CONTAINER_API] = function(Container $container) { |
|
| 78 | 78 | return new CustomerApiToApiBridge($container->getLocator()->api()->queryContainer()); |
| 79 | 79 | }; |
| 80 | 80 | |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | protected function provideApiQueryBuilderQueryContainer(Container $container) |
| 90 | 90 | { |
| 91 | - $container[static::QUERY_CONTAINER_API_QUERY_BUILDER] = function (Container $container) { |
|
| 91 | + $container[static::QUERY_CONTAINER_API_QUERY_BUILDER] = function(Container $container) { |
|
| 92 | 92 | return new CustomerApiToApiQueryBuilderBridge($container->getLocator()->apiQueryBuilder()->queryContainer()); |
| 93 | 93 | }; |
| 94 | 94 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | */ |
| 103 | 103 | protected function provideCustomerFacade(Container $container) |
| 104 | 104 | { |
| 105 | - $container[static::FACADE_CUSTOMER] = function (Container $container) { |
|
| 105 | + $container[static::FACADE_CUSTOMER] = function(Container $container) { |
|
| 106 | 106 | return new CustomerApiToCustomerBridge($container->getLocator()->customer()->facade()); |
| 107 | 107 | }; |
| 108 | 108 | return $container; |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\CustomerApiBusinessTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |
@@ -136,7 +136,7 @@ |
||
| 136 | 136 | |
| 137 | 137 | $countries = array_filter( |
| 138 | 138 | array_flip($countries), |
| 139 | - function ($value) { |
|
| 139 | + function($value) { |
|
| 140 | 140 | return preg_match('~^(?!' . implode('|', $this->countrySettings->getTerritoriesBlacklist()) . '$)[A-Z]{2}$~i', $value); |
| 141 | 141 | } |
| 142 | 142 | ); |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\CountryBusinessTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |