Passed
Push — 2.6 ( f48d71...96c344 )
by Michael
07:25 queued 01:20
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()
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
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();
157 157
 
158 158
         $dom->load($xmlMappingFile);
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
     static public function dataValidSchema()
164 164
     {
165
-        $list    = glob(__DIR__ . '/xml/*.xml');
165
+        $list    = glob(__DIR__.'/xml/*.xml');
166 166
         $invalid = [
167 167
             'Doctrine.Tests.Models.DDC889.DDC889Class.dcm'
168 168
         ];
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
             return ! in_array(pathinfo($item, PATHINFO_FILENAME), $invalid);
172 172
         });
173 173
 
174
-        return array_map(function($item){
174
+        return array_map(function($item) {
175 175
             return [$item];
176 176
         }, $list);
177 177
     }
Please login to merge, or discard this patch.