@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | { |
30 | 30 | protected function loadDriver() |
31 | 31 | { |
32 | - return new XmlDriver(__DIR__ . DIRECTORY_SEPARATOR . 'xml'); |
|
32 | + return new XmlDriver(__DIR__.DIRECTORY_SEPARATOR.'xml'); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | public function testClassTableInheritanceDiscriminatorMap() : void |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | */ |
173 | 173 | public function testValidateXmlSchema($xmlMappingFile) : void |
174 | 174 | { |
175 | - $xsdSchemaFile = __DIR__ . '/../../../../../doctrine-mapping.xsd'; |
|
175 | + $xsdSchemaFile = __DIR__.'/../../../../../doctrine-mapping.xsd'; |
|
176 | 176 | $dom = new DOMDocument(); |
177 | 177 | |
178 | 178 | $dom->load($xmlMappingFile); |
@@ -183,17 +183,17 @@ discard block |
||
183 | 183 | public static function dataValidSchema() |
184 | 184 | { |
185 | 185 | $list = []; |
186 | - foreach (glob(__DIR__ . '/xml/*.xml') as $item) { |
|
186 | + foreach (glob(__DIR__.'/xml/*.xml') as $item) { |
|
187 | 187 | $list[pathinfo($item, PATHINFO_FILENAME)] = $item; |
188 | 188 | } |
189 | 189 | |
190 | 190 | $invalid = ['Doctrine.Tests.Models.DDC889.DDC889Class.dcm']; |
191 | 191 | |
192 | - $list = array_filter($list, static function ($filename) use ($invalid) { |
|
192 | + $list = array_filter($list, static function($filename) use ($invalid) { |
|
193 | 193 | return ! in_array($filename, $invalid, true); |
194 | 194 | }, ARRAY_FILTER_USE_KEY); |
195 | 195 | |
196 | - return array_map(static function ($item) { |
|
196 | + return array_map(static function($item) { |
|
197 | 197 | return [$item]; |
198 | 198 | }, $list); |
199 | 199 | } |