Skip to content

Commit ea4c9b2

Browse files
authored
Enable UnusedUse sniff again (#9267)
1 parent 130c27c commit ea4c9b2

File tree

250 files changed

+397
-417
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+397
-417
lines changed

lib/Doctrine/ORM/Cache/DefaultCollectionHydrator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Doctrine\ORM\Query;
1212
use Doctrine\ORM\UnitOfWork;
1313

14-
use function array_walk;
1514
use function assert;
1615

1716
/**

lib/Doctrine/ORM/Cache/DefaultQueryCache.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Doctrine\ORM\Query\ResultSetMapping;
1919
use Doctrine\ORM\UnitOfWork;
2020

21-
use function array_key_exists;
2221
use function array_map;
2322
use function array_shift;
2423
use function array_unshift;

lib/Doctrine/ORM/Cache/Exception/CacheException.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
use Doctrine\ORM\Cache\CacheException as BaseCacheException;
88

9-
use function sprintf;
10-
119
/**
1210
* Exception for cache.
1311
*/

lib/Doctrine/ORM/Cache/Exception/CannotUpdateReadOnlyCollection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Doctrine\ORM\Cache\Exception;
66

7-
use LogicException;
8-
97
use function sprintf;
108

119
class CannotUpdateReadOnlyCollection extends CacheException

lib/Doctrine/ORM/Cache/Exception/CannotUpdateReadOnlyEntity.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Doctrine\ORM\Cache\Exception;
66

7-
use LogicException;
8-
97
use function sprintf;
108

119
class CannotUpdateReadOnlyEntity extends CacheException

lib/Doctrine/ORM/Cache/Exception/FeatureNotImplemented.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Doctrine\ORM\Cache\Exception;
66

7-
use LogicException;
8-
97
class FeatureNotImplemented extends CacheException
108
{
119
public static function scalarResults(): self

lib/Doctrine/ORM/Cache/Exception/MetadataCacheNotConfigured.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Doctrine\ORM\Cache\Exception;
66

7-
use LogicException;
8-
97
final class MetadataCacheNotConfigured extends CacheException
108
{
119
public static function create(): self

lib/Doctrine/ORM/Cache/Exception/MetadataCacheUsesNonPersistentCache.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace Doctrine\ORM\Cache\Exception;
66

77
use Doctrine\Common\Cache\Cache;
8-
use LogicException;
98

109
use function get_class;
1110

lib/Doctrine/ORM/Cache/Exception/NonCacheableEntity.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Doctrine\ORM\Cache\Exception;
66

7-
use LogicException;
8-
97
use function sprintf;
108

119
class NonCacheableEntity extends CacheException

lib/Doctrine/ORM/Cache/Exception/QueryCacheNotConfigured.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Doctrine\ORM\Cache\Exception;
66

7-
use LogicException;
8-
97
final class QueryCacheNotConfigured extends CacheException
108
{
119
public static function create(): self

0 commit comments

Comments
 (0)