@@ -161,7 +161,7 @@ |
||
| 161 | 161 | |
| 162 | 162 | $cache = $this->getConfigCacheFactory()->cache( |
| 163 | 163 | $this->options['cache_dir'] . '/rpc/' . $this->options['matcher_cache_class'] . '.php', |
| 164 | - function (ConfigCacheInterface $cache) { |
|
| 164 | + function(ConfigCacheInterface $cache) { |
|
| 165 | 165 | $dumper = new MatcherDumper(); |
| 166 | 166 | |
| 167 | 167 | $options = [ |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | CONTENT; |
| 29 | 29 | |
| 30 | 30 | foreach ($collection->all() as $name => $method) { |
| 31 | - $ret = var_export(AttributesHelper::getAttributes($method, $name), true); |
|
| 31 | + $ret = var_export(AttributesHelper::getAttributes($method, $name), true); |
|
| 32 | 32 | $content .= PHP_EOL . |
| 33 | 33 | <<<CONTENT |
| 34 | 34 | '{$method->getMethod()}' => {$ret}, |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | // Trim the trailing period of the previous message. We only want 1 period remove so no rtrim... |
| 43 | 43 | if ('.' === substr($previous->getMessage(), -1)) { |
| 44 | 44 | $trimmedMessage = substr($previous->getMessage(), 0, -1); |
| 45 | - $message .= sprintf('%s', $trimmedMessage) . ' in '; |
|
| 45 | + $message .= sprintf('%s', $trimmedMessage) . ' in '; |
|
| 46 | 46 | } else { |
| 47 | 47 | $message .= sprintf('%s', $previous->getMessage()) . ' in '; |
| 48 | 48 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | ); |
| 42 | 42 | usort( |
| 43 | 43 | $files, |
| 44 | - function (\SplFileInfo $a, \SplFileInfo $b) { |
|
| 44 | + function(\SplFileInfo $a, \SplFileInfo $b) { |
|
| 45 | 45 | return (string)$a > (string)$b ? 1 : -1; |
| 46 | 46 | } |
| 47 | 47 | ); |
@@ -154,7 +154,7 @@ |
||
| 154 | 154 | private function findAlternative($nonExistentBundleName) |
| 155 | 155 | { |
| 156 | 156 | $bundleNames = array_map( |
| 157 | - function (BundleInterface $b) { |
|
| 157 | + function(BundleInterface $b) { |
|
| 158 | 158 | return $b->getName(); |
| 159 | 159 | }, |
| 160 | 160 | $this->kernel->getBundles() |
@@ -114,7 +114,7 @@ |
||
| 114 | 114 | 'object' => $request, |
| 115 | 115 | 'request' => $request, |
| 116 | 116 | 'roles' => array_map( |
| 117 | - function (RoleInterface $role) { |
|
| 117 | + function(RoleInterface $role) { |
|
| 118 | 118 | return $role->getRole(); |
| 119 | 119 | }, |
| 120 | 120 | $roles |