Skip to content

Commit

Permalink
Merge pull request #71 from snapshotpl/php8
Browse files Browse the repository at this point in the history
Test against PHP 8
  • Loading branch information
abacaphiliac authored Jul 13, 2021
2 parents 21d581d + 460386c commit bb75aaa
Show file tree
Hide file tree
Showing 7 changed files with 615 additions and 284 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "7.4"
php-version: "8.0"
- name: "Install Dependencies"
uses: "ramsey/composer-install@v1"
with:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@ jobs:
dependencies:
- "--prefer-lowest"
- ""
php-version:
- "8.0"
- "7.4"
- "7.3"
- "7.2"
- "7.1"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "7.4"
php-version: "${{ matrix.php-version }}"
- name: "Change Working Directory"
run: "cd test/integration"
- name: "Install dependencies"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mutation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "7.4"
php-version: "8.0"
- name: "Install dependencies"
uses: "ramsey/composer-install@v1"
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- "lowest"
- "highest"
php-version:
- "8.0"
- "7.4"
- "7.3"
- "7.2"
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
}
},
"require": {
"php": "^7.1",
"php": "^7.1 || ^8.0",
"container-interop/container-interop": "^1.0",
"monolog/monolog": "^1.3 || ^2.0",
"laminas/laminas-stdlib": "^3",
"laminas/laminas-servicemanager": "^3"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^1.0",
"johnkary/phpunit-speedtrap": "^3.0",
"squizlabs/php_codesniffer": "^3.0",
"phpunit/phpunit": "^7.5.20 || ^8.5.2"
"phpunit/phpunit": "^7.5.20 || ^8.5.2 || ^9.5.6",
"php-parallel-lint/php-parallel-lint": "^1.3"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit bb75aaa

Please sign in to comment.