diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 235298b..bb85130 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,11 +15,14 @@ jobs: matrix: php_version: - '8.4' + - '8.5' dependencies: - 'default' include: - php_version: '8.4' dependencies: 'lowest' + - php_version: '8.5' + dependencies: 'lowest' steps: - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -28,30 +31,12 @@ jobs: tools: composer - name: Checkout - uses: actions/checkout@v2 - - - name: Get Composer Cache Directory - id: composer-cache - run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" - - - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{matrix.php_version}}-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }} - restore-keys: | - ${{ runner.os }}-composer-${{matrix.php_version}}-${{ matrix.dependencies }} + uses: actions/checkout@v4 - name: Install composer dependencies - env: - DEPENDENCIES: ${{ matrix.dependencies }} - run: | - if [ $DEPENDENCIES == 'lowest' ] - then - composer update --prefer-lowest --no-interaction --no-suggest --no-progress - else - composer install --no-interaction --no-suggest --no-progress - fi + uses: ramsey/composer-install@v3 + with: + dependency-versions: ${{ matrix.dependencies }} - name: Run unit tests run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index e6712d8..a1f55e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased +## 1.4.0 / 2026-03-10 + +* Support PHP 8.5 * Use native `HTMLDocument` parsing instead of masterminds/html5 * Drop support for PHP < 8.4 (to allow us to use native HTML parsing) diff --git a/composer.json b/composer.json index 48efb25..3509d17 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "minimum-stability": "stable", "require": { "behat/gherkin": ">=2.0.0 <5.0.0", - "php": ">= 8.4 < 8.5", + "php": ">= 8.4 < 8.6", "ext-dom": "*", "ext-SimpleXML": "*", "ext-libxml": "*"