diff --git a/.github/workflows/tasks.yml b/.github/workflows/tasks.yml index 4827bdf..294d1fa 100644 --- a/.github/workflows/tasks.yml +++ b/.github/workflows/tasks.yml @@ -9,8 +9,8 @@ jobs: strategy: fail-fast: false matrix: - php: [ '8.2', '8.3', '8.4' ] - typo3: [ '12', '13' ] + php: [ '8.2', '8.3', '8.4', '8.5', '8.6' ] + typo3: [ '13' ] steps: - name: Setup PHP with PECL extension uses: shivammathur/setup-php@v2 @@ -25,4 +25,7 @@ jobs: ${{ runner.os }}-${{ matrix.php }}-composer- - run: composer require typo3/minimal="^${{ matrix.typo3 }}" --dev --ignore-platform-req=php+ - run: composer install --no-interaction --no-progress --ignore-platform-req=php+ + # --ignore-platform-req=php+ may only skip the PHP check of dev dependencies (e.g. phpro/grumphp) + - if: matrix.php == '8.6' + run: composer check-platform-reqs --no-dev - run: ./vendor/bin/grumphp run --ansi diff --git a/composer.json b/composer.json index a1ba01f..0f06caf 100644 --- a/composer.json +++ b/composer.json @@ -6,12 +6,12 @@ ], "type": "typo3-cms-extension", "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "typo3/cms-core": "^12.4 || ^13.4", - "typo3/cms-frontend": "^12.4 || ^13.4" + "php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 || ~8.6.0", + "typo3/cms-core": "^13.4", + "typo3/cms-frontend": "^13.4" }, "require-dev": { - "pluswerk/grumphp-config": "^7.2.0 || ^10.1.4", + "pluswerk/grumphp-config": "^11.2.0", "saschaegerer/phpstan-typo3": "^1.10.2 || ^2.1.1", "ssch/typo3-rector": "*" }, @@ -22,6 +22,7 @@ }, "config": { "allow-plugins": { + "a9f/fractor-extension-installer": true, "ergebnis/composer-normalize": true, "phpro/grumphp": true, "phpstan/extension-installer": true, diff --git a/rector.php b/rector.php index fe73218..ff12503 100644 --- a/rector.php +++ b/rector.php @@ -4,13 +4,11 @@ use PLUS\GrumPHPConfig\RectorSettings; use Rector\Config\RectorConfig; -use Rector\Caching\ValueObject\Storage\FileCacheStorage; return static function (RectorConfig $rectorConfig): void { $rectorConfig->parallel(); $rectorConfig->importNames(); $rectorConfig->importShortClasses(); - $rectorConfig->cacheClass(FileCacheStorage::class); $rectorConfig->cacheDirectory('./var/cache/rector'); $rectorConfig->paths(