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 support #580

Merged
merged 2 commits into from
Nov 25, 2021
Merged
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
24 changes: 12 additions & 12 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ branches:
required_status_checks:
contexts:
- "Webpack build"
- "Coding Standards (7.4)"
- "Static Code Analysis (7.4)"
- "Test (PHP 7.3, symfony 4.4, lowest)"
- "Test (PHP 7.3, symfony 5.1, lowest)"
- "Test (PHP 7.3, symfony 4.4, highest)"
- "Test (PHP 7.3, symfony 5.1, highest)"
- "Test (PHP 7.4, symfony 4.4, lowest)"
- "Test (PHP 7.4, symfony 5.1, lowest)"
- "Test (PHP 7.4, symfony 4.4, highest)"
- "Test (PHP 7.4, symfony 5.1, highest)"
- "Code Coverage (7.4)"
- "Mutation Tests (7.4)"
- "Coding Standards (8)"
- "Static Code Analysis (8.1)"
- "Test (PHP 8, symfony 4.4, lowest)"
- "Test (PHP 8, symfony 5.1, lowest)"
- "Test (PHP 8, symfony 4.4, highest)"
- "Test (PHP 8, symfony 5.1, highest)"
- "Test (PHP 8.1, symfony 4.4, lowest)"
- "Test (PHP 8.1, symfony 5.1, lowest)"
- "Test (PHP 8.1, symfony 4.4, highest)"
- "Test (PHP 8.1, symfony 5.1, highest)"
- "Code Coverage (8.1)"
- "Mutation Tests (8.1)"
strict: true

required_pull_request_reviews: null
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
strategy:
matrix:
php-version:
- 7.4
- 8.0

steps:
- name: "Checkout"
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
strategy:
matrix:
php-version:
- 7.4
- 8.1

steps:
- name: "Checkout"
Expand Down Expand Up @@ -137,9 +137,8 @@ jobs:
strategy:
matrix:
php-version:
- 7.3
- 7.4
- 8.0
- 8.1

dependencies:
- lowest
Expand Down Expand Up @@ -193,7 +192,7 @@ jobs:
strategy:
matrix:
php-version:
- 7.4
- 8.1

steps:
- name: "Checkout"
Expand Down Expand Up @@ -233,7 +232,7 @@ jobs:
strategy:
matrix:
php-version:
- 7.4
- 8.1

steps:
- name: "Checkout"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
],
"require": {
"php": "^7.3 || ^8.0",
"php": "^8.0",
"ext-json": "*",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
Expand Down
12 changes: 6 additions & 6 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="tests/bootstrap.php">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">./src/</directory>
</include>
</coverage>
<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0"/>
</php>
Expand All @@ -11,9 +16,4 @@
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
</phpunit>
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.3"
"php": "8.0"
}
}
}