Completed
Pull Request — master (#51)
by Jonathan
05:14 queued 02:11
created
tests/Doctrine/Tests/Persistence/Mapping/FileDriverTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $locator->expects($this->once())
37 37
                 ->method('findMappingFile')
38 38
                 ->with($this->equalTo('stdClass'))
39
-                ->will($this->returnValue(__DIR__ . '/_files/stdClass.yml'));
39
+                ->will($this->returnValue(__DIR__.'/_files/stdClass.yml'));
40 40
 
41 41
         $driver = new TestFileDriver($locator);
42 42
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $locator->expects($this->once())
52 52
             ->method('findMappingFile')
53 53
             ->with($this->equalTo('stdClass'))
54
-            ->will($this->returnValue(__DIR__ . '/_files/stdClass.yml'));
54
+            ->will($this->returnValue(__DIR__.'/_files/stdClass.yml'));
55 55
 
56 56
         $driver = new TestFileDriver($locator);
57 57
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 
133 133
     public function testNonLocatorFallback()
134 134
     {
135
-        $driver = new TestFileDriver(__DIR__ . '/_files', '.yml');
135
+        $driver = new TestFileDriver(__DIR__.'/_files', '.yml');
136 136
         self::assertTrue($driver->isTransient('stdClass2'));
137 137
         self::assertFalse($driver->isTransient('stdClass'));
138 138
     }
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     {
142 142
         $locator = $this->createMock(FileLocator::class);
143 143
         $locator->expects($this->any())->method('getFileExtension')->will($this->returnValue('.yml'));
144
-        $locator->expects($this->any())->method('getPaths')->will($this->returnValue([__DIR__ . '/_files']));
144
+        $locator->expects($this->any())->method('getPaths')->will($this->returnValue([__DIR__.'/_files']));
145 145
 
146 146
         return $locator;
147 147
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Persistence/ManagerRegistryTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
     private function getManagerFactory()
83 83
     {
84
-        return function () {
84
+        return function() {
85 85
             $mock = $this->createMock(ObjectManager::class);
86 86
 
87 87
             $driver   = $this->createMock(MappingDriver::class);
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
     protected function getService($name)
123 123
     {
124
-        if (! isset($this->services[$name])) {
124
+        if (!isset($this->services[$name])) {
125 125
             $this->services[$name] = call_user_func($this->managerFactory);
126 126
         }
127 127
 
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 
171 171
     public function getAssociationTargetClass($assocName)
172 172
     {
173
-        return __NAMESPACE__ . '\TestObject';
173
+        return __NAMESPACE__.'\TestObject';
174 174
     }
175 175
 
176 176
     public function getFieldNames()
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 
186 186
     public function getName()
187 187
     {
188
-        return __NAMESPACE__ . '\TestObject';
188
+        return __NAMESPACE__.'\TestObject';
189 189
     }
190 190
 
191 191
     public function getReflectionClass()
Please login to merge, or discard this patch.