Passed
Pull Request — master (#7346)
by
unknown
12:48 queued 04:48
created
tests/Doctrine/Tests/ORM/Mapping/XmlMappingDriverTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 {
29 29
     protected function loadDriver()
30 30
     {
31
-        return new XmlDriver(__DIR__ . DIRECTORY_SEPARATOR . 'xml');
31
+        return new XmlDriver(__DIR__.DIRECTORY_SEPARATOR.'xml');
32 32
     }
33 33
 
34 34
     public function testClassTableInheritanceDiscriminatorMap() : void
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
      */
172 172
     public function testValidateXmlSchema($xmlMappingFile) : void
173 173
     {
174
-        $xsdSchemaFile = __DIR__ . '/../../../../../doctrine-mapping.xsd';
174
+        $xsdSchemaFile = __DIR__.'/../../../../../doctrine-mapping.xsd';
175 175
         $dom           = new \DOMDocument('UTF-8');
176 176
 
177 177
         $dom->load($xmlMappingFile);
@@ -182,17 +182,17 @@  discard block
 block discarded – undo
182 182
     public static function dataValidSchema()
183 183
     {
184 184
         $list = [];
185
-        foreach (glob(__DIR__ . '/xml/*.xml') as $item) {
185
+        foreach (glob(__DIR__.'/xml/*.xml') as $item) {
186 186
             $list[pathinfo($item, PATHINFO_FILENAME)] = $item;
187 187
         }
188 188
 
189 189
         $invalid = ['Doctrine.Tests.Models.DDC889.DDC889Class.dcm'];
190 190
 
191
-        $list = array_filter($list, function ($filename) use ($invalid) {
191
+        $list = array_filter($list, function($filename) use ($invalid) {
192 192
             return ! in_array($filename, $invalid, true);
193 193
         }, ARRAY_FILTER_USE_KEY);
194 194
 
195
-        return array_map(function ($item) {
195
+        return array_map(function($item) {
196 196
             return [$item];
197 197
         }, $list);
198 198
     }
Please login to merge, or discard this patch.