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" 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]); }; 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;