From 171496005e1120afde8d17c3d517d43b40900faa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Aug 2026 08:46:35 +0000 Subject: [PATCH 1/4] Initial plan From 2f569026d19b1dee1ef1d6106ddaa9f57c71480c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Aug 2026 08:47:44 +0000 Subject: [PATCH 2/4] Drop PHP 8.2 support Co-authored-by: funivan <425208+funivan@users.noreply.github.com> --- .github/workflows/test.yaml | 3 +-- composer.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7331538..1c159da 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,9 +16,8 @@ jobs: strategy: matrix: include: - - php-version: '8.2' - main: true - php-version: '8.3' + main: true - php-version: '8.4' nightly: true name: PHP ${{ matrix.php-version }} diff --git a/composer.json b/composer.json index 670a02e..68aec77 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ } ], "require": { - "php": "^8.2", + "php": "^8.3", "ext-dom": "*", "ext-libxml": "*", "symfony/css-selector": "^7.1" From cee435d1362bd73754806398d7584d4edce2a8d5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Aug 2026 09:15:57 +0000 Subject: [PATCH 3/4] Fix Rector config for PHPUnit set removal Co-authored-by: funivan <425208+funivan@users.noreply.github.com> --- rector.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rector.php b/rector.php index aa11c36..c58388c 100644 --- a/rector.php +++ b/rector.php @@ -6,7 +6,6 @@ use Rector\CodingStyle\Rector\Use_\SeparateMultiUseImportsRector; use Rector\Config\RectorConfig; use Rector\Php84\Rector\Param\ExplicitNullableParamTypeRector; -use Rector\PHPUnit\Set\PHPUnitSetList; use Rector\Set\ValueObject\LevelSetList; use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromStrictConstructorRector; @@ -19,5 +18,5 @@ $rectorConfig->rule(SeparateMultiUseImportsRector::class); $rectorConfig->rule(ExplicitNullableParamTypeRector::class); $rectorConfig->importNames(); - $rectorConfig->sets([LevelSetList::UP_TO_PHP_84, PHPUnitSetList::PHPUNIT_90]); + $rectorConfig->sets([LevelSetList::UP_TO_PHP_84]); }; From 164e5ada058425fe60ab7525984188b15742d1e9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Aug 2026 09:51:38 +0000 Subject: [PATCH 4/4] Add typed constants to fix Rector CI check on PHP 8.3 Co-authored-by: funivan <425208+funivan@users.noreply.github.com> --- src/ElementFinder.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/ElementFinder.php b/src/ElementFinder.php index a54142c..02e635a 100644 --- a/src/ElementFinder.php +++ b/src/ElementFinder.php @@ -30,17 +30,13 @@ class ElementFinder implements ElementFinderInterface { /** * Html document type - * - * @var int */ - final public const DOCUMENT_HTML = 0; + final public const int DOCUMENT_HTML = 0; /** * Xml document type - * - * @var int */ - final public const DOCUMENT_XML = 1; + final public const int DOCUMENT_XML = 1; private int $type;