Passed
Pull Request — 2.6 (#7324)
by
unknown
10:16
created
tests/Doctrine/Tests/ORM/Mapping/XmlMappingDriverTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
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()
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
     private function doValidateXmlSchema($xmlMappingFile)
179 179
     {
180
-        $xsdSchemaFile  = __DIR__ . '/../../../../../doctrine-mapping.xsd';
180
+        $xsdSchemaFile  = __DIR__.'/../../../../../doctrine-mapping.xsd';
181 181
         $dom            = new \DOMDocument('1.0', 'UTF-8');
182 182
 
183 183
         $dom->load($xmlMappingFile);
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 
198 198
     static private function doDataValidSchema($validity)
199 199
     {
200
-        $pathFormat = str_replace('%', '%%', __DIR__) . '/xml/%s.xml';
200
+        $pathFormat = str_replace('%', '%%', __DIR__).'/xml/%s.xml';
201 201
 
202 202
         $invalid = [
203 203
             'Doctrine.Tests.Models.DDC889.DDC889Class.dcm',
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
             ? array_diff(glob(sprintf($pathFormat, '*')), $invalidList)
214 214
             : $invalidList;
215 215
 
216
-        return array_map(function($item){
216
+        return array_map(function($item) {
217 217
             return [$item];
218 218
         }, $list);
219 219
     }
Please login to merge, or discard this patch.