Skip to content

Commit

Permalink
Cleanup unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Pixelshaped committed Jun 4, 2024
1 parent 9981a9a commit 7699fb7
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 10 deletions.
3 changes: 0 additions & 3 deletions src/FlatMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@

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;
use Pixelshaped\FlatMapperBundle\Attributes\ReferencesArray;
use ReflectionClass;
use RuntimeException;
use Symfony\Contracts\Cache\CacheInterface;
use Symfony\Contracts\Cache\ItemInterface;

class FlatMapper
{
Expand Down
1 change: 0 additions & 1 deletion src/PixelshapedFlatMapperBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions tests/Examples/Invalid/RootDTOWithNoIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
1 change: 0 additions & 1 deletion tests/Examples/Invalid/RootDTOWithTooManyIdentifiers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 0 additions & 2 deletions tests/Examples/Invalid/RootDTOWithoutConstructor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/BundleFunctionalTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace Pixelshaped\FlatMapperBundle\Tests;
namespace Pixelshaped\FlatMapperBundle\Tests\Functional;

use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
Expand Down

0 comments on commit 7699fb7

Please sign in to comment.