@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | |
167 | 167 | private function getManagerFactory() : callable |
168 | 168 | { |
169 | - return function (string $name) { |
|
169 | + return function(string $name) { |
|
170 | 170 | $mock = $this->createMock(ObjectManager::class); |
171 | 171 | |
172 | 172 | $driver = $this->createMock(MappingDriver::class); |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | |
213 | 213 | protected function getService(string $name) : object |
214 | 214 | { |
215 | - if (! isset($this->services[$name])) { |
|
215 | + if (!isset($this->services[$name])) { |
|
216 | 216 | $this->services[$name] = call_user_func($this->managerFactory, $name); |
217 | 217 | } |
218 | 218 |
@@ -16,12 +16,12 @@ |
||
16 | 16 | error_reporting(E_ALL | E_STRICT); |
17 | 17 | |
18 | 18 | // register silently failing autoloader |
19 | -spl_autoload_register(static function ($class) : bool { |
|
19 | +spl_autoload_register(static function($class) : bool { |
|
20 | 20 | if (strpos($class, 'Doctrine\Tests\\') !== 0) { |
21 | 21 | return false; |
22 | 22 | } |
23 | 23 | |
24 | - $path = __DIR__ . '/../../' . strtr($class, '\\', '/') . '.php'; |
|
24 | + $path = __DIR__.'/../../'.strtr($class, '\\', '/').'.php'; |
|
25 | 25 | if (is_file($path) && is_readable($path)) { |
26 | 26 | require_once $path; |
27 | 27 |