@@ -60,7 +60,7 @@ |
||
| 60 | 60 | ], |
| 61 | 61 | ], |
| 62 | 62 | ]; |
| 63 | - $configs = $processor->processConfiguration( |
|
| 63 | + $configs = $processor->processConfiguration( |
|
| 64 | 64 | $configuration, |
| 65 | 65 | $rawConfigs |
| 66 | 66 | ); |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | DIRECTORY_SEPARATOR, |
| 46 | 46 | ] |
| 47 | 47 | ); |
| 48 | - $driverDef = new Definition(YmlMetadataDriver::class, [$locatorDef]); |
|
| 48 | + $driverDef = new Definition(YmlMetadataDriver::class, [$locatorDef]); |
|
| 49 | 49 | |
| 50 | 50 | $driver->addMethodCall('addDriver', [$driverDef, $namespace]); |
| 51 | 51 | } |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | 'sub-payload' => 'sub-payload', |
| 53 | 53 | ] |
| 54 | 54 | ), |
| 55 | - function () { |
|
| 55 | + function() { |
|
| 56 | 56 | usleep(1000); |
| 57 | 57 | |
| 58 | 58 | return true; |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | /** {@inheritdoc} */ |
| 98 | 98 | protected function getCacheDir() |
| 99 | 99 | { |
| 100 | - return __DIR__.'/../build/cache/'; |
|
| 100 | + return __DIR__ . '/../build/cache/'; |
|
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | private function getSuccessResponseMock($result) |
@@ -55,6 +55,6 @@ |
||
| 55 | 55 | /** {@inheritdoc} */ |
| 56 | 56 | protected function getCacheDir() |
| 57 | 57 | { |
| 58 | - return __DIR__.'/../build/cache/'; |
|
| 58 | + return __DIR__ . '/../build/cache/'; |
|
| 59 | 59 | } |
| 60 | 60 | } |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | $logger->canBeEnabled(); |
| 20 | 20 | $logger->addDefaultsIfNotSet(); |
| 21 | 21 | $logger->beforeNormalization()->ifString()->then( |
| 22 | - function ($v) { |
|
| 22 | + function($v) { |
|
| 23 | 23 | return ['service' => $v, 'enabled' => true]; |
| 24 | 24 | } |
| 25 | 25 | ); |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | Cache::class . ' Implementation service id. Required if enabled' |
| 35 | 35 | )->defaultNull(); |
| 36 | 36 | $metadataCache->beforeNormalization()->ifString()->then( |
| 37 | - function ($v) { |
|
| 37 | + function($v) { |
|
| 38 | 38 | return ['service' => $v, 'enabled' => true]; |
| 39 | 39 | } |
| 40 | 40 | ); |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | $cache->children()->scalarNode('service')->info('PSR-6 Cache service. Required if enabled'); |
| 45 | 45 | $cache->children()->scalarNode('logger')->defaultNull()->info('PSR-3 Log service for cache'); |
| 46 | 46 | $cache->beforeNormalization()->ifString()->then( |
| 47 | - function ($v) { |
|
| 47 | + function($v) { |
|
| 48 | 48 | return ['service' => $v, 'enabled' => true]; |
| 49 | 49 | } |
| 50 | 50 | ); |
@@ -55,12 +55,12 @@ discard block |
||
| 55 | 55 | $confProto->children()->scalarNode('ttl')->isRequired(); |
| 56 | 56 | $confProto->beforeNormalization() |
| 57 | 57 | ->ifTrue( |
| 58 | - function ($v) { |
|
| 58 | + function($v) { |
|
| 59 | 59 | return is_int($v); |
| 60 | 60 | } |
| 61 | 61 | ) |
| 62 | 62 | ->then( |
| 63 | - function ($v) { |
|
| 63 | + function($v) { |
|
| 64 | 64 | return ['ttl' => $v]; |
| 65 | 65 | } |
| 66 | 66 | ); |
@@ -55,6 +55,6 @@ |
||
| 55 | 55 | /** {@inheritdoc} */ |
| 56 | 56 | protected function getCacheDir() |
| 57 | 57 | { |
| 58 | - return __DIR__.'/../build/cache/'; |
|
| 58 | + return __DIR__ . '/../build/cache/'; |
|
| 59 | 59 | } |
| 60 | 60 | } |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | return; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - $this->calls[spl_object_hash($request)]['stop'] = $time; |
|
| 55 | + $this->calls[spl_object_hash($request)]['stop'] = $time; |
|
| 56 | 56 | |
| 57 | 57 | // @todo: fix profiler memory issue |
| 58 | 58 | //$this->calls[spl_object_hash($request)]['response'] = $response; |