diff --git a/.github/workflows/autoformat.yml b/.github/workflows/autoformat.yml index b3b4fa27c..1c79ca4f8 100644 --- a/.github/workflows/autoformat.yml +++ b/.github/workflows/autoformat.yml @@ -16,7 +16,7 @@ jobs: with: coverage: none extensions: mbstring - php-version: 7.4 + php-version: 8.0 - run: composer install --no-interaction --no-progress --no-suggest @@ -52,7 +52,7 @@ jobs: with: coverage: none extensions: mbstring - php-version: 7.4 + php-version: 8.0 - run: composer install --no-interaction --no-progress --no-suggest diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5092ecb2a..71f630a5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,14 +16,13 @@ jobs: strategy: matrix: php-version: - - "7.4" - "8.0" - "8.1" dependencies: - "highest" include: - dependencies: "lowest" - php-version: "7.4" + php-version: "8.0" steps: - name: "Checkout" @@ -89,7 +88,7 @@ jobs: uses: "shivammathur/setup-php@v2" with: # Run on the lowest support version to ensure compatibility - php-version: "7.4" + php-version: "8.0" coverage: "none" - name: "Install dependencies with Composer" diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 0603e255b..3225021b8 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -14,7 +14,6 @@ jobs: strategy: matrix: php-version: - - "7.4" - "8.0" - "8.1" diff --git a/CHANGELOG.md b/CHANGELOG.md index ed826bdd7..48b2939ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ You can find and compare releases at the [GitHub release page](https://github.co ### Changed -- PHP version required: 7.4+ +- PHP version required: 8.0+ - Propagate error message and stack trace for why leaf value serialization failed - Do not throw client safe `Error` when failing to serialize an Enum type - Use native PHP types for properties of `Type` and its subclasses diff --git a/composer.json b/composer.json index 4de691c9c..627d83d61 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "homepage": "https://github.com/webonyx/graphql-php", "require": { - "php": "^7.4 || ^8", + "php": "^8", "ext-json": "*", "ext-mbstring": "*" },