diff --git a/src/FlatMapper.php b/src/FlatMapper.php index f7578ab..8839319 100644 --- a/src/FlatMapper.php +++ b/src/FlatMapper.php @@ -3,8 +3,6 @@ namespace Pixelshaped\FlatMapperBundle; -use App\Entity\Main\GlobalConfig; -use App\Utils\Constants\CacheKeys; use Pixelshaped\FlatMapperBundle\Attributes\ColumnArray; use Pixelshaped\FlatMapperBundle\Attributes\Identifier; use Pixelshaped\FlatMapperBundle\Attributes\InboundPropertyName; @@ -12,7 +10,6 @@ use ReflectionClass; use RuntimeException; use Symfony\Contracts\Cache\CacheInterface; -use Symfony\Contracts\Cache\ItemInterface; class FlatMapper { diff --git a/src/PixelshapedFlatMapperBundle.php b/src/PixelshapedFlatMapperBundle.php index 35e7220..baea2a0 100644 --- a/src/PixelshapedFlatMapperBundle.php +++ b/src/PixelshapedFlatMapperBundle.php @@ -3,7 +3,6 @@ namespace Pixelshaped\FlatMapperBundle; -use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; use Symfony\Component\Config\Definition\Configurator\DefinitionConfigurator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; diff --git a/tests/Examples/Invalid/RootDTOWithNoIdentifier.php b/tests/Examples/Invalid/RootDTOWithNoIdentifier.php index 713fa7b..c5b94bc 100644 --- a/tests/Examples/Invalid/RootDTOWithNoIdentifier.php +++ b/tests/Examples/Invalid/RootDTOWithNoIdentifier.php @@ -3,10 +3,8 @@ namespace Pixelshaped\FlatMapperBundle\Tests\Examples\Invalid; -use Pixelshaped\FlatMapperBundle\Attributes\Identifier; use Pixelshaped\FlatMapperBundle\Attributes\InboundPropertyName; use Pixelshaped\FlatMapperBundle\Attributes\ReferencesArray; -use Pixelshaped\FlatMapperBundle\Tests\Examples\Invalid\LeafDTO; class RootDTOWithNoIdentifier { diff --git a/tests/Examples/Invalid/RootDTOWithTooManyIdentifiers.php b/tests/Examples/Invalid/RootDTOWithTooManyIdentifiers.php index 3ca3adf..9d6c423 100644 --- a/tests/Examples/Invalid/RootDTOWithTooManyIdentifiers.php +++ b/tests/Examples/Invalid/RootDTOWithTooManyIdentifiers.php @@ -6,7 +6,6 @@ use Pixelshaped\FlatMapperBundle\Attributes\Identifier; use Pixelshaped\FlatMapperBundle\Attributes\InboundPropertyName; use Pixelshaped\FlatMapperBundle\Attributes\ReferencesArray; -use Pixelshaped\FlatMapperBundle\Tests\Examples\Invalid\LeafDTO; class RootDTOWithTooManyIdentifiers { diff --git a/tests/Examples/Invalid/RootDTOWithoutConstructor.php b/tests/Examples/Invalid/RootDTOWithoutConstructor.php index e2f36d3..d48a0e5 100644 --- a/tests/Examples/Invalid/RootDTOWithoutConstructor.php +++ b/tests/Examples/Invalid/RootDTOWithoutConstructor.php @@ -5,8 +5,6 @@ use Pixelshaped\FlatMapperBundle\Attributes\Identifier; use Pixelshaped\FlatMapperBundle\Attributes\InboundPropertyName; -use Pixelshaped\FlatMapperBundle\Attributes\ReferencesArray; -use Pixelshaped\FlatMapperBundle\Tests\Examples\Invalid\LeafDTO; class RootDTOWithoutConstructor { diff --git a/tests/Functional/BundleFunctionalTest.php b/tests/Functional/BundleFunctionalTest.php index 4ec8094..b79fcdf 100644 --- a/tests/Functional/BundleFunctionalTest.php +++ b/tests/Functional/BundleFunctionalTest.php @@ -1,7 +1,7 @@