Completed
Push — master ( 7eed6f...d1d910 )
by amaury
03:03
created

Mapping/Metadata/Driver/XmlDriverTest.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace OpenOrchestra\FunctionalTests\Mapping\Metadata\Driver;
4
5
use Metadata\Driver\FileLocator;
6
use OpenOrchestra\Mapping\Metadata\Driver\XmlDriver;
7
8
/**
9
 * Class XmlDriverTest
10
 */
11 View Code Duplication
class XmlDriverTest extends AbstractDriverTest
0 ignored issues
show
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
12
{
13
    /**
14
     * Set Up
15
     */
16
    public function setUp()
17
    {
18
        parent::setUp();
19
        $dirs = array('OpenOrchestra\FunctionalTests\Mapping\Metadata\Driver\FakeClass' => __DIR__ . '/xml');
20
        $fileLocaltor = new FileLocator($dirs);
21
22
        $this->driver = new XmlDriver($fileLocaltor,
23
            $this->propertySearchMetadataFactory,
24
            $this->mergeableClassMetadataFactory
25
        );
26
    }
27
}
28