Completed
Pull Request — master (#50)
by Jonathan
04:15 queued 01:55
created
tests/Doctrine/Tests/Persistence/ManagerRegistryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/TestInit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.