Skip to content

Commit

Permalink
Drop PHP 7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Nov 29, 2021
1 parent 0356cd6 commit 52e9b43
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ branches:
required_status_checks:
contexts:
- "Coding Standards (8)"
- "Static Code Analysis (8)"
- "Test (PHP 7.4, symfony 5.3, lowest)"
- "Test (PHP 7.4, symfony 5.3, highest)"
- "Static Code Analysis (8.1)"
- "Test (PHP 8, symfony 5.3, lowest)"
- "Test (PHP 8, symfony 5.3, highest)"
- "Code Coverage (8)"
- "Mutation Tests (8)"
- "Mutation Tests (8)"
- "Test (PHP 8.1, symfony 5.3, lowest)"
- "Test (PHP 8.1, symfony 5.3, highest)"
- "Code Coverage (8.1)"
- "Mutation Tests (8.1)"
- "Mutation Tests (8.1)"
strict: true

required_pull_request_reviews: null
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: shivammathur/setup-php@2.15.0
with:
coverage: none
extensions: "mbstring, json, mongodb-1.9.0"
extensions: "mbstring, json, mongodb"
php-version: ${{ matrix.php-version }}

- name: "Validate composer.json and composer.lock"
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
strategy:
matrix:
php-version:
- 8.0
- 8.1

steps:
- name: "Checkout"
Expand All @@ -80,7 +80,7 @@ jobs:
uses: shivammathur/setup-php@2.15.0
with:
coverage: none
extensions: "mbstring, json, mongodb-1.9.0"
extensions: "mbstring, json, mongodb"
php-version: ${{ matrix.php-version }}

- name: "Cache dependencies installed with composer"
Expand Down Expand Up @@ -111,8 +111,8 @@ jobs:
strategy:
matrix:
php-version:
- 7.4
- 8.0
- 8.1

dependencies:
- lowest
Expand All @@ -129,7 +129,7 @@ jobs:
uses: shivammathur/setup-php@2.15.0
with:
coverage: none
extensions: "mbstring, json, mongodb-1.9.0"
extensions: "mbstring, json, mongodb"
php-version: ${{ matrix.php-version }}

- name: 'Install Symfony Flex'
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
strategy:
matrix:
php-version:
- 8.0
- 8.1

steps:
- name: "Checkout"
Expand All @@ -175,7 +175,7 @@ jobs:
uses: shivammathur/setup-php@2.15.0
with:
coverage: pcov
extensions: "mbstring, json, mongodb-1.9.0"
extensions: "mbstring, json, mongodb"
php-version: ${{ matrix.php-version }}

- name: "Cache dependencies installed with composer"
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
strategy:
matrix:
php-version:
- 8.0
- 8.1

steps:
- name: "Checkout"
Expand All @@ -215,7 +215,7 @@ jobs:
uses: shivammathur/setup-php@2.15.0
with:
coverage: pcov
extensions: "mbstring, json, mongodb-1.9.0"
extensions: "mbstring, json, mongodb"
php-version: ${{ matrix.php-version }}

- name: "Cache dependencies installed with composer"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.0",
"ext-json": "*",
"ext-mbstring": "*",
"doctrine/collections": "^1.6",
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/tools/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"config": {
"platform": {
"php": "7.4"
"php": "8.0"
}
}
}

0 comments on commit 52e9b43

Please sign in to comment.