Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop PHP 7.4 #1120

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/autoformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"

Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"homepage": "https://github.com/webonyx/graphql-php",
"require": {
"php": "^7.4 || ^8",
"php": "^8",
"ext-json": "*",
"ext-mbstring": "*"
},
Expand Down