From 0d6a0f090b4d457ab8ff9505bdd3770cbeabb76d Mon Sep 17 00:00:00 2001 From: otsch Date: Wed, 4 Sep 2024 23:00:44 +0200 Subject: [PATCH] Changes after PHP CS Fixer update --- tests/Steps/BaseStepTest.php | 1 - tests/Steps/HtmlTest.php | 1 - .../Steps/Loading/Http/Paginators/SimpleWebsitePaginatorTest.php | 1 - tests/Steps/StepTest.php | 1 - tests/Steps/XmlTest.php | 1 - tests/_Integration/GroupTest.php | 1 - tests/_Integration/Http/HeadlessBrowserTest.php | 1 - tests/_Integration/Http/Html/PaginatedListingTest.php | 1 - tests/_Integration/Http/Html/SimpleListingTest.php | 1 - 9 files changed, 9 deletions(-) diff --git a/tests/Steps/BaseStepTest.php b/tests/Steps/BaseStepTest.php index 8b07865..d09ac2d 100644 --- a/tests/Steps/BaseStepTest.php +++ b/tests/Steps/BaseStepTest.php @@ -19,7 +19,6 @@ use GuzzleHttp\Psr7\Request; use GuzzleHttp\Psr7\Response; use InvalidArgumentException; - use PHPUnit\Framework\TestCase; use function tests\helper_getInputReturningStep; diff --git a/tests/Steps/HtmlTest.php b/tests/Steps/HtmlTest.php index 92036ad..7dd86b5 100644 --- a/tests/Steps/HtmlTest.php +++ b/tests/Steps/HtmlTest.php @@ -7,7 +7,6 @@ use Crwlr\Crawler\Steps\Html; use Crwlr\Crawler\Steps\Html\GetLink; use Crwlr\Crawler\Steps\Html\GetLinks; - use GuzzleHttp\Psr7\Request; use GuzzleHttp\Psr7\Response; diff --git a/tests/Steps/Loading/Http/Paginators/SimpleWebsitePaginatorTest.php b/tests/Steps/Loading/Http/Paginators/SimpleWebsitePaginatorTest.php index b929b09..1515df4 100644 --- a/tests/Steps/Loading/Http/Paginators/SimpleWebsitePaginatorTest.php +++ b/tests/Steps/Loading/Http/Paginators/SimpleWebsitePaginatorTest.php @@ -7,7 +7,6 @@ use Crwlr\Crawler\Steps\Loading\Http\Paginators\SimpleWebsitePaginator; use GuzzleHttp\Psr7\Response; use PHPUnit\Framework\TestCase; - use Psr\Http\Message\RequestInterface; use function tests\helper_getRespondedRequest; diff --git a/tests/Steps/StepTest.php b/tests/Steps/StepTest.php index 8e7887c..3c5ee31 100644 --- a/tests/Steps/StepTest.php +++ b/tests/Steps/StepTest.php @@ -16,7 +16,6 @@ use GuzzleHttp\Psr7\Response; use InvalidArgumentException; use PHPUnit\Framework\TestCase; - use stdClass; use function tests\helper_getInputReturningStep; diff --git a/tests/Steps/XmlTest.php b/tests/Steps/XmlTest.php index b060228..2884140 100644 --- a/tests/Steps/XmlTest.php +++ b/tests/Steps/XmlTest.php @@ -5,7 +5,6 @@ use Crwlr\Crawler\Loader\Http\Messages\RespondedRequest; use Crwlr\Crawler\Steps\Dom; use Crwlr\Crawler\Steps\Xml; - use GuzzleHttp\Psr7\Request; use GuzzleHttp\Psr7\Response; diff --git a/tests/_Integration/GroupTest.php b/tests/_Integration/GroupTest.php index 505b100..f27b5ea 100644 --- a/tests/_Integration/GroupTest.php +++ b/tests/_Integration/GroupTest.php @@ -9,7 +9,6 @@ use Crwlr\Crawler\Steps\Loading\Http; use Crwlr\Crawler\UserAgents\BotUserAgent; use Crwlr\Crawler\UserAgents\UserAgentInterface; - use Psr\Log\LoggerInterface; use function tests\helper_generatorToArray; diff --git a/tests/_Integration/Http/HeadlessBrowserTest.php b/tests/_Integration/Http/HeadlessBrowserTest.php index 8ad4673..a3b1769 100644 --- a/tests/_Integration/Http/HeadlessBrowserTest.php +++ b/tests/_Integration/Http/HeadlessBrowserTest.php @@ -11,7 +11,6 @@ use Crwlr\Crawler\UserAgents\UserAgentInterface; use Generator; use Psr\Log\LoggerInterface; - use Symfony\Component\DomCrawler\Crawler; use function tests\helper_generatorToArray; diff --git a/tests/_Integration/Http/Html/PaginatedListingTest.php b/tests/_Integration/Http/Html/PaginatedListingTest.php index dedb6f7..d2748af 100644 --- a/tests/_Integration/Http/Html/PaginatedListingTest.php +++ b/tests/_Integration/Http/Html/PaginatedListingTest.php @@ -8,7 +8,6 @@ use Crwlr\Crawler\Steps\Loading\Http; use Crwlr\Crawler\UserAgents\BotUserAgent; use Crwlr\Crawler\UserAgents\UserAgentInterface; - use Psr\Log\LoggerInterface; use function tests\helper_generatorToArray; diff --git a/tests/_Integration/Http/Html/SimpleListingTest.php b/tests/_Integration/Http/Html/SimpleListingTest.php index d053808..b0ae366 100644 --- a/tests/_Integration/Http/Html/SimpleListingTest.php +++ b/tests/_Integration/Http/Html/SimpleListingTest.php @@ -8,7 +8,6 @@ use Crwlr\Crawler\Steps\Loading\Http; use Crwlr\Crawler\UserAgents\BotUserAgent; use Crwlr\Crawler\UserAgents\UserAgentInterface; - use Psr\Log\LoggerInterface; use function tests\helper_generatorToArray;