@@ -36,7 +36,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | } |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | |
| 81 | 81 | private function getManagerFactory() |
| 82 | 82 | { |
| 83 | - return function () { |
|
| 83 | + return function() { |
|
| 84 | 84 | $mock = $this->createMock(ObjectManager::class); |
| 85 | 85 | |
| 86 | 86 | $driver = $this->createMock(MappingDriver::class); |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | |
| 121 | 121 | protected function getService($name) |
| 122 | 122 | { |
| 123 | - if (! isset($this->services[$name])) { |
|
| 123 | + if (!isset($this->services[$name])) { |
|
| 124 | 124 | $this->services[$name] = call_user_func($this->managerFactory); |
| 125 | 125 | } |
| 126 | 126 | |