-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancement: Add support for PHP 8.0
- Loading branch information
1 parent
ada7cfb
commit a55c88e
Showing
38 changed files
with
1,068 additions
and
1,787 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,58 +9,6 @@ on: # yamllint disable-line rule:truthy | |
- "main" | ||
|
||
jobs: | ||
backward-compatibility-analysis: | ||
name: "Backward-Compatibility Analysis" | ||
|
||
runs-on: "ubuntu-latest" | ||
|
||
timeout-minutes: 5 | ||
|
||
strategy: | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
|
||
dependencies: | ||
- "locked" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/[email protected]" | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Set up PHP" | ||
uses: "shivammathur/[email protected]" | ||
with: | ||
coverage: "none" | ||
extensions: "none, bcmath, ctype, curl, dom, intl, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter" | ||
php-version: "${{ matrix.php-version }}" | ||
|
||
- name: "Set up problem matchers for PHP" | ||
run: "echo \"::add-matcher::${{ runner.tool_cache }}/php.json\"" | ||
|
||
- name: "Validate composer.json and composer.lock" | ||
run: "composer validate --ansi --strict" | ||
|
||
- name: "Determine composer cache directory" | ||
uses: "ergebnis/.github/actions/composer/[email protected]" | ||
|
||
- name: "Cache dependencies installed with composer" | ||
uses: "actions/[email protected]" | ||
with: | ||
path: "${{ env.COMPOSER_CACHE_DIR }}" | ||
key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}" | ||
restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" | ||
|
||
- name: "Install ${{ matrix.dependencies }} dependencies with composer" | ||
uses: "ergebnis/.github/actions/composer/[email protected]" | ||
with: | ||
dependencies: "${{ matrix.dependencies }}" | ||
|
||
- name: "Run backward-compatibility analysis with roave/backward-compatibility-check" | ||
run: "vendor/bin/roave-backward-compatibility-check --ansi --format=github-actions" | ||
|
||
code-coverage: | ||
name: "Code Coverage" | ||
|
||
|
@@ -71,7 +19,7 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
- "8.0" | ||
|
||
dependencies: | ||
- "locked" | ||
|
@@ -132,7 +80,7 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
- "8.0" | ||
|
||
dependencies: | ||
- "locked" | ||
|
@@ -201,7 +149,7 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
- "8.0" | ||
|
||
dependencies: | ||
- "locked" | ||
|
@@ -257,7 +205,7 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
- "8.0" | ||
|
||
dependencies: | ||
- "locked" | ||
|
@@ -309,7 +257,7 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
- "8.0" | ||
|
||
dependencies: | ||
- "locked" | ||
|
@@ -368,7 +316,7 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
- "8.0" | ||
|
||
dependencies: | ||
- "locked" | ||
|
@@ -418,7 +366,7 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
- "8.0" | ||
|
||
dependencies: | ||
- "locked" | ||
|
@@ -469,6 +417,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
php-version: | ||
- "8.0" | ||
- "8.1" | ||
- "8.2" | ||
- "8.3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- "8.1" | ||
- "8.0" | ||
|
||
dependencies: | ||
- "locked" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phive xmlns="https://phar.io/phive"> | ||
<phar name="composer-require-checker" version="^4.7.1" installed="4.7.1" location="./.phive/composer-require-checker" copy="false"/> | ||
<phar name="composer-require-checker" version="~4.4.0" installed="4.4.0" location="./.phive/composer-require-checker" copy="false"/> | ||
</phive> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"symbol-whitelist": [] | ||
"symbol-whitelist": [ | ||
"T_ENUM" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.