Skip to content

Commit ca9a2bb

Browse files
committed
refactor: remove unused imports
1 parent bb280a1 commit ca9a2bb

12 files changed

Lines changed: 1 addition & 11 deletions

File tree

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
'linebreak_after_opening_tag' => true,
1818
'ordered_imports' => true,
1919
'no_empty_phpdoc' => true,
20+
'no_unused_imports' => true,
2021
'no_useless_return' => true,
2122
'return_assignment' => true,
2223
'simplified_null_return' => true,

tests/Behat/Bootstrap/GroupContextTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Redmine\Tests\Behat\Bootstrap;
66

7-
use Behat\Behat\Tester\Exception\PendingException;
87
use Behat\Gherkin\Node\TableNode;
98
use Redmine\Api\Group;
109

tests/Behat/Bootstrap/IssueContextTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Redmine\Tests\Behat\Bootstrap;
66

7-
use Behat\Behat\Tester\Exception\PendingException;
87
use Behat\Gherkin\Node\TableNode;
98
use Redmine\Api\Issue;
109

tests/Behat/Bootstrap/VersionContextTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Redmine\Tests\Behat\Bootstrap;
66

7-
use Behat\Behat\Tester\Exception\PendingException;
87
use Behat\Gherkin\Node\TableNode;
98
use Redmine\Api\Version;
109

tests/Behat/Bootstrap/WikiContextTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Redmine\Tests\Behat\Bootstrap;
66

7-
use Behat\Behat\Tester\Exception\PendingException;
87
use Behat\Gherkin\Node\TableNode;
98
use Redmine\Api\Wiki;
109

tests/Unit/Api/AttachmentTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use PHPUnit\Framework\Attributes\DataProvider;
77
use PHPUnit\Framework\TestCase;
88
use Redmine\Api\Attachment;
9-
use Redmine\Client\Client;
109
use Redmine\Http\HttpClient;
1110
use Redmine\Tests\Fixtures\AssertingHttpClient;
1211

tests/Unit/Api/IssuePriority/ListTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use PHPUnit\Framework\Attributes\CoversClass;
66
use PHPUnit\Framework\TestCase;
77
use Redmine\Api\IssuePriority;
8-
use Redmine\Client\Client;
98
use Redmine\Exception\UnexpectedResponseException;
109
use Redmine\Tests\Fixtures\AssertingHttpClient;
1110

tests/Unit/Api/IssueRelation/ListByIssueIdTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use PHPUnit\Framework\Attributes\CoversClass;
66
use PHPUnit\Framework\TestCase;
77
use Redmine\Api\IssueRelation;
8-
use Redmine\Client\Client;
98
use Redmine\Exception\UnexpectedResponseException;
109
use Redmine\Tests\Fixtures\AssertingHttpClient;
1110

tests/Unit/Api/Query/ListTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use PHPUnit\Framework\Attributes\CoversClass;
66
use PHPUnit\Framework\TestCase;
77
use Redmine\Api\Query;
8-
use Redmine\Client\Client;
98
use Redmine\Exception\UnexpectedResponseException;
109
use Redmine\Tests\Fixtures\AssertingHttpClient;
1110

tests/Unit/Api/Search/ListByQueryTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use PHPUnit\Framework\Attributes\CoversClass;
66
use PHPUnit\Framework\TestCase;
77
use Redmine\Api\Search;
8-
use Redmine\Client\Client;
98
use Redmine\Exception\UnexpectedResponseException;
109
use Redmine\Tests\Fixtures\AssertingHttpClient;
1110

0 commit comments

Comments
 (0)