diff --git a/.github/workflows/test_php.yml b/.github/workflows/test_php.yml index 6319929495..2da2f4f172 100644 --- a/.github/workflows/test_php.yml +++ b/.github/workflows/test_php.yml @@ -17,14 +17,6 @@ jobs: fail-fast: false # Don't cancel all jobs if one fails. matrix: include: - - name: 7.3 Debug - version-short: "7.3" - version: 7.3.28-dbg - command: composer test \&\& composer test_c - - name: 7.4 Debug - version-short: "7.4" - version: 7.4.18-dbg - command: composer test \&\& composer test_c - name: 8.0 Optimized version: "8.0.5" version-short: "8.0" @@ -68,7 +60,7 @@ jobs: strategy: fail-fast: false # Don't cancel all jobs if one fails. matrix: - version: ['7.4', '8.0'] + version: ['8.0'] suffix: [ '', '-zts'] test: ['test', 'test_c'] exclude: @@ -115,9 +107,9 @@ jobs: extra-flags: -e COMPOSER_HOME=/workspace/composer-cache -e PROTOC=/workspace/${{ steps.cross-compile.outputs.protoc }} command: >- /bin/bash -cex ' + PATH="/usr/local/php-${{ matrix.version }}${{matrix.suffix}}/bin:$PATH"; cd php && php -v && php -m; composer update --ignore-platform-reqs; - PATH="/usr/local/php-${{ matrix.version }}${{matrix.suffix}}/bin:$PATH" composer ${{ matrix.test }}' linux-aarch64: @@ -140,7 +132,7 @@ jobs: - name: Setup composer uses: protocolbuffers/protobuf-ci/composer-setup@v1 with: - cache-prefix: php-7.3 + cache-prefix: php-8.0 directory: php - name: Run tests @@ -162,7 +154,7 @@ jobs: strategy: fail-fast: false # Don't cancel all jobs if one fails. matrix: - version: ['7.4', '8.0'] + version: ['8.0'] name: MacOS PHP ${{ matrix.version }} runs-on: macos-12 diff --git a/php/composer.json b/php/composer.json index 0e498fcb78..c00d686fc6 100644 --- a/php/composer.json +++ b/php/composer.json @@ -6,7 +6,7 @@ "homepage": "https://developers.google.com/protocol-buffers/", "license": "BSD-3-Clause", "require": { - "php": ">=7.0.0" + "php": ">=8.0.0" }, "require-dev": { "phpunit/phpunit": ">=5.0.0 <8.5.27"