@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | protected function _loadDriver() |
22 | 22 | { |
23 | - return new XmlDriver(__DIR__ . DIRECTORY_SEPARATOR . 'xml'); |
|
23 | + return new XmlDriver(__DIR__.DIRECTORY_SEPARATOR.'xml'); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | public function testClassTableInheritanceDiscriminatorMap() |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | */ |
153 | 153 | public function testValidateXmlSchema($xmlMappingFile) |
154 | 154 | { |
155 | - $xsdSchemaFile = __DIR__ . '/../../../../../doctrine-mapping.xsd'; |
|
155 | + $xsdSchemaFile = __DIR__.'/../../../../../doctrine-mapping.xsd'; |
|
156 | 156 | $dom = new \DOMDocument('UTF-8'); |
157 | 157 | |
158 | 158 | $dom->load($xmlMappingFile); |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | static public function dataValidSchema() |
164 | 164 | { |
165 | 165 | $list = []; |
166 | - foreach (glob(__DIR__ . '/xml/*.xml') as $item) { |
|
166 | + foreach (glob(__DIR__.'/xml/*.xml') as $item) { |
|
167 | 167 | $list[pathinfo($item, PATHINFO_FILENAME)] = $item; |
168 | 168 | } |
169 | 169 | |
@@ -171,11 +171,11 @@ discard block |
||
171 | 171 | 'Doctrine.Tests.Models.DDC889.DDC889Class.dcm' |
172 | 172 | ]; |
173 | 173 | |
174 | - $list = array_filter($list, function ($filename) use ($invalid) { |
|
174 | + $list = array_filter($list, function($filename) use ($invalid) { |
|
175 | 175 | return ! in_array($filename, $invalid, true); |
176 | 176 | }, ARRAY_FILTER_USE_KEY); |
177 | 177 | |
178 | - return array_map(function($item){ |
|
178 | + return array_map(function($item) { |
|
179 | 179 | return [$item]; |
180 | 180 | }, $list); |
181 | 181 | } |