Skip to content

Commit c3c5f30

Browse files
authored
chore: bring back PHP 8.2 (#153)
1 parent 09b7ef3 commit c3c5f30

15 files changed

Lines changed: 16 additions & 118 deletions

File tree

.github/workflows/phpcsfixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up PHP
2828
uses: shivammathur/setup-php@v2
2929
with:
30-
php-version: '8.3'
30+
php-version: '8.2'
3131
extensions: json, tokenizer
3232
coverage: none
3333
env:

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
php-versions: ['8.3', '8.5']
29+
php-versions: ['8.2', '8.5']
3030

3131
steps:
3232
- name: Checkout

.github/workflows/psalm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup PHP
3232
uses: shivammathur/setup-php@v2
3333
with:
34-
php-version: '8.3'
34+
php-version: '8.2'
3535
tools: phpstan, phpunit
3636
extensions: intl, json, mbstring, xml
3737
coverage: none

.github/workflows/rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
php-versions: ['8.3', '8.5']
29+
php-versions: ['8.2', '8.5']
3030

3131
steps:
3232
- name: Checkout

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"homepage": "https://github.com/codeigniter4/devkit",
2424
"require": {
25-
"php": "^8.3",
25+
"php": "^8.2",
2626
"codeigniter/coding-standard": "^1.9",
2727
"fakerphp/faker": "^1.24",
2828
"mikey179/vfsstream": "^1.6",
@@ -32,7 +32,7 @@
3232
"phpstan/phpstan": "^2.0",
3333
"phpstan/phpstan-deprecation-rules": "^2.0",
3434
"phpstan/phpstan-phpunit": "^2.0",
35-
"phpunit/phpunit": "^12.5.22 || ^13.1.7",
35+
"phpunit/phpunit": "^11.5.55 || ^12.5.22 || ^13.1.7",
3636
"rector/rector": "^2.0",
3737
"roave/security-advisories": "dev-latest",
3838
"vimeo/psalm": "^5.0 || ^6.0"

src/Template/.github/workflows/deptrac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up PHP
3232
uses: shivammathur/setup-php@v2
3333
with:
34-
php-version: '8.3'
34+
php-version: '8.2'
3535
extensions: intl, json, mbstring, xml
3636
coverage: none
3737
env:

src/Template/.github/workflows/infection.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up PHP
2424
uses: shivammathur/setup-php@v2
2525
with:
26-
php-version: '8.3'
26+
php-version: '8.2'
2727
tools: infection, phpunit
2828
extensions: intl, json, mbstring, gd, xml, sqlite3
2929
coverage: xdebug

src/Template/.github/workflows/phpcpd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup PHP
2828
uses: shivammathur/setup-php@v2
2929
with:
30-
php-version: '8.3'
30+
php-version: '8.2'
3131
tools: phpcpd
3232
extensions: dom, mbstring
3333
coverage: none

src/Template/.github/workflows/phpcsfixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up PHP
2828
uses: shivammathur/setup-php@v2
2929
with:
30-
php-version: '8.3'
30+
php-version: '8.2'
3131
extensions: json, tokenizer
3232
coverage: none
3333
env:

src/Template/.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
php-versions: ['8.3', '8.5']
29+
php-versions: ['8.2', '8.5']
3030

3131
steps:
3232
- name: Checkout

0 commit comments

Comments
 (0)