diff --git a/.github/workflows/phpcpd.yml b/.github/workflows/phpcpd.yml index d413e36..c755c44 100644 --- a/.github/workflows/phpcpd.yml +++ b/.github/workflows/phpcpd.yml @@ -27,7 +27,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' tools: phpcpd extensions: dom, mbstring coverage: none diff --git a/.github/workflows/phpcsfixer.yml b/.github/workflows/phpcsfixer.yml index 9ac8b7f..b1169be 100644 --- a/.github/workflows/phpcsfixer.yml +++ b/.github/workflows/phpcsfixer.yml @@ -27,7 +27,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' extensions: json, tokenizer coverage: none env: diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index ff29de7..f9550ba 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.1', '8.2'] + php-versions: ['8.2', '8.4'] steps: - name: Checkout diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 7b04668..bc10d9f 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -38,17 +38,17 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]')" strategy: matrix: - php-versions: ['8.1', '8.2', '8.3'] + php-versions: ['8.2', '8.3', '8.4'] db-platforms: ['MySQLi', 'SQLite3'] include: # Postgre - - php-versions: '8.1' + - php-versions: '8.2' db-platforms: Postgre # SQLSRV - - php-versions: '8.1' + - php-versions: '8.2' db-platforms: SQLSRV # OCI8 - - php-versions: '8.1' + - php-versions: '8.2' db-platforms: OCI8 services: diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index 1d3c7cb..a5cb6ad 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -31,7 +31,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' tools: phpstan, phpunit extensions: intl, json, mbstring, xml coverage: none diff --git a/.github/workflows/rector.yml b/.github/workflows/rector.yml index cab67ce..9ce2ffd 100644 --- a/.github/workflows/rector.yml +++ b/.github/workflows/rector.yml @@ -33,7 +33,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.1', '8.3'] + php-versions: ['8.2', '8.4'] steps: - name: Checkout diff --git a/rector.php b/rector.php index 4565608..43fdac7 100644 --- a/rector.php +++ b/rector.php @@ -46,7 +46,7 @@ return static function (RectorConfig $rectorConfig): void { $rectorConfig->sets([ SetList::DEAD_CODE, - LevelSetList::UP_TO_PHP_81, + LevelSetList::UP_TO_PHP_82, PHPUnitSetList::PHPUNIT_CODE_QUALITY, PHPUnitSetList::PHPUNIT_100, ]); @@ -75,7 +75,7 @@ ]); // Set the target version for refactoring - $rectorConfig->phpVersion(PhpVersion::PHP_81); + $rectorConfig->phpVersion(PhpVersion::PHP_82); // Auto-import fully qualified class names $rectorConfig->importNames();