@@ -11,8 +11,6 @@ |
||
| 11 | 11 | namespace Addiks\RDMBundle\Tests\Mapping\DriverFactories; |
| 12 | 12 | |
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | -use Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryInterface; |
|
| 15 | -use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
|
| 16 | 14 | use Addiks\RDMBundle\Mapping\DriverFactories\MappingXMLDriverFactory; |
| 17 | 15 | use Addiks\RDMBundle\Mapping\Drivers\MappingXmlDriver; |
| 18 | 16 | use Doctrine\ORM\Mapping\Driver\XmlDriver; |
@@ -11,8 +11,6 @@ |
||
| 11 | 11 | namespace Addiks\RDMBundle\Tests\Mapping\DriverFactories; |
| 12 | 12 | |
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | -use Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryInterface; |
|
| 15 | -use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
|
| 16 | 14 | use Doctrine\Common\Persistence\Mapping\Driver\FileLocator; |
| 17 | 15 | use Addiks\RDMBundle\Mapping\DriverFactories\MappingYamlDriverFactory; |
| 18 | 16 | use Addiks\RDMBundle\Mapping\Drivers\MappingYamlDriver; |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | 14 | use Addiks\RDMBundle\Tests\Hydration\EntityExample; |
| 15 | 15 | use Addiks\RDMBundle\Mapping\Annotation\Service; |
| 16 | -use ReflectionProperty; |
|
| 17 | 16 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverChain; |
| 18 | 17 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 19 | 18 | use Addiks\RDMBundle\Mapping\EntityMapping; |
@@ -12,8 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | 14 | use Addiks\RDMBundle\Tests\Hydration\EntityExample; |
| 15 | -use Addiks\RDMBundle\Mapping\Annotation\Service; |
|
| 16 | -use ReflectionProperty; |
|
| 17 | 15 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 18 | 16 | use Addiks\RDMBundle\Mapping\Drivers\MappingPHPDriver; |
| 19 | 17 | use Doctrine\Common\Persistence\Mapping\Driver\FileLocator; |
@@ -12,8 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | 14 | use Addiks\RDMBundle\Tests\Hydration\EntityExample; |
| 15 | -use Addiks\RDMBundle\Mapping\Annotation\Service; |
|
| 16 | -use ReflectionProperty; |
|
| 17 | 15 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 18 | 16 | use Doctrine\Common\Persistence\Mapping\Driver\FileLocator; |
| 19 | 17 | use Addiks\RDMBundle\Mapping\Drivers\MappingXmlDriver; |
@@ -12,8 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | 14 | use Addiks\RDMBundle\Tests\Hydration\EntityExample; |
| 15 | -use Addiks\RDMBundle\Mapping\Annotation\Service; |
|
| 16 | -use ReflectionProperty; |
|
| 17 | 15 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 18 | 16 | use Doctrine\Common\Persistence\Mapping\Driver\FileLocator; |
| 19 | 17 | use Addiks\RDMBundle\Mapping\Drivers\MappingYamlDriver; |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Addiks\RDMBundle\Mapping\ChoiceMapping; |
| 17 | 17 | use Addiks\RDMBundle\Tests\Hydration\EntityExample; |
| 18 | 18 | use Addiks\RDMBundle\Mapping\ServiceMapping; |
| 19 | -use Addiks\RDMBundle\Mapping\MappingInterface; |
|
| 20 | 19 | |
| 21 | 20 | final class ChoiceValueResolverTest extends TestCase |
| 22 | 21 | { |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | $choiceMapping, |
| 98 | 98 | $entity, |
| 99 | 99 | [] # <= I'm not sure how this parameter should be handled correctly in the future, |
| 100 | - # but with the current supported features it *should* be irrelevant. |
|
| 100 | + # but with the current supported features it *should* be irrelevant. |
|
| 101 | 101 | ); |
| 102 | 102 | |
| 103 | 103 | if ($choiceValue === $valueFromEntityField) { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $configuration = new Configuration(); |
| 23 | 23 | $config = $this->processConfiguration($configuration, $configs); |
| 24 | 24 | |
| 25 | - $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 25 | + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 26 | 26 | $loader->load('services.xml'); |
| 27 | 27 | } |
| 28 | 28 | } |