Skip to content

Commit

Permalink
Enable testing on php 8.2 (#58)
Browse files Browse the repository at this point in the history
* Enable testing on php 8.2

* Base tests on PHP 8.1.

* cs must run on 8.1
  • Loading branch information
greg-1-anderson authored Feb 23, 2023
1 parent 597f8d7 commit be02163
Show file tree
Hide file tree
Showing 3 changed files with 279 additions and 438 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.1
coverage: none

- name: Install dependencies
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- windows-latest

php-version:
- "7.4"
- "8.1"

php-ini-values:
- assert.exception=1, zend.assertions=1
Expand All @@ -103,7 +103,7 @@ jobs:

- os: ubuntu-latest
php-version: "7.4"
dependencies: highest
dependencies: lowest

- os: ubuntu-latest
php-version: "8.0"
Expand All @@ -112,7 +112,7 @@ jobs:
php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205

- os: ubuntu-latest
php-version: "8.1"
php-version: "8.2"
dependencies: highest
codecov: true
php-ini-values: assert.exception=1, zend.assertions=1, opcache.enable=1, opcache.enable_cli=1, opcache.optimization_level=-1, opcache.jit_buffer_size=4096M, opcache.jit=1205
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"require-dev": {
"ext-json": "*",
"phpunit/phpunit": ">=7.5.20",
"phpunit/phpunit": "^7.5.20 || ^8 || ^9",
"squizlabs/php_codesniffer": "^3",
"symfony/console": "^4 || ^5 || ^6",
"symfony/yaml": "^4 || ^5 || ^6",
Expand All @@ -40,7 +40,7 @@
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.4.9"
"php": "8.1.14"
}
},
"scripts": {
Expand Down
Loading

0 comments on commit be02163

Please sign in to comment.