diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index cea7666..319adc0 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -12,8 +12,12 @@ jobs: strategy: fail-fast: false matrix: - php: [ '8.3', '8.4', '8.5' ] + php: [ '8.3', '8.4', '8.5', '8.6' ] typo3: [ '13', '14' ] + include: + # phpro/grumphp does not allow PHP 8.6 yet + - php: '8.6' + ignorePlatformReqs: '--ignore-platform-req=php+' steps: - name: Setup PHP with PECL extension uses: shivammathur/setup-php@v2 @@ -21,6 +25,9 @@ jobs: php-version: ${{ matrix.php }} - uses: actions/checkout@v7 - - run: composer update --with=typo3/cms-core:^${{ matrix.typo3 }} + - run: composer update --with=typo3/cms-core:^${{ matrix.typo3 }} ${{ matrix.ignorePlatformReqs }} + # --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 - run: composer test diff --git a/Documentation/Requirements/Index.rst b/Documentation/Requirements/Index.rst index 4227f5a..6a5bceb 100644 --- a/Documentation/Requirements/Index.rst +++ b/Documentation/Requirements/Index.rst @@ -10,7 +10,7 @@ System requirements =================== * TYPO3 13.4 LTS or 14.3 -* PHP 8.3, 8.4, or 8.5 +* PHP 8.3, 8.4, 8.5, or 8.6 * TYPO3 Scheduler system extension * PHP ``allow_url_fopen`` support for the Sentry reachability check diff --git a/composer.json b/composer.json index e2b1215..57a845d 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ ], "type": "typo3-cms-extension", "require": { - "php": "~8.3.0 || ~8.4.0 || ~8.5.0", + "php": "~8.3.0 || ~8.4.0 || ~8.5.0 || ~8.6.0", "sentry/sentry": "^4.15.2", "typo3/cms-core": "^13.4 || ^14.3", "typo3/cms-scheduler": "^13.4 || ^14.3"