Skip to content

Commit b2d88c6

Browse files
committed
REMOVE unused use statements
1 parent a82ee09 commit b2d88c6

7 files changed

Lines changed: 1 addition & 12 deletions

File tree

.php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
'no_useless_return' => true,
1919
'ordered_imports' => true,
2020
'phpdoc_order' => true,
21+
'no_unused_imports' => true,
2122
'strict_comparison' => true,
2223
'phpdoc_align' => false,
2324
'phpdoc_to_comment' => false,

src/CheckInjectableVersion.php

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

55
namespace DaveLiddament\PhpLanguageExtensions;
66

7-
use Attribute;
8-
97
#[\Attribute(\Attribute::TARGET_METHOD)]
108
class CheckInjectableVersion
119
{

src/Friend.php

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

55
namespace DaveLiddament\PhpLanguageExtensions;
66

7-
use Attribute;
8-
97
/**
108
* Limits calling methods to those listed as the method's or class's friends.
119
*/

src/InjectableVersion.php

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

55
namespace DaveLiddament\PhpLanguageExtensions;
66

7-
use Attribute;
8-
97
#[\Attribute(\Attribute::TARGET_CLASS)]
108
class InjectableVersion
119
{

src/Package.php

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

55
namespace DaveLiddament\PhpLanguageExtensions;
66

7-
use Attribute;
8-
97
/**
108
* Limit calls to classes or methods with the Package attribute to calls from classes in the name namespace.
119
*/

src/Sealed.php

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

55
namespace DaveLiddament\PhpLanguageExtensions;
66

7-
use Attribute;
8-
97
/**
108
* Limits the classes that can extend/implement to those listed in $permitted.
119
*/

src/TestTag.php

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

55
namespace DaveLiddament\PhpLanguageExtensions;
66

7-
use Attribute;
8-
97
/**
108
* Add the TestTag attribute to a method that should only be called by test code.
119
*/

0 commit comments

Comments
 (0)