Skip to content

Commit 09b7ef3

Browse files
authored
chore: require PHP 8.3 for supported PHPUnit releases (#152)
* require PHP 8.3 for supported PHPUnit releases * chore: align workflow templates with PHP 8.3 baseline * chore: align project workflows with PHP 8.3 baseline
1 parent 2699026 commit 09b7ef3

15 files changed

Lines changed: 35 additions & 38 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.1'
30+
php-version: '8.3'
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.1', '8.2', '8.3', '8.4']
29+
php-versions: ['8.3', '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.1'
34+
php-version: '8.3'
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.1', '8.2', '8.3', '8.4']
29+
php-versions: ['8.3', '8.5']
3030

3131
steps:
3232
- name: Checkout

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@
2222
],
2323
"homepage": "https://github.com/codeigniter4/devkit",
2424
"require": {
25-
"php": "^8.1",
26-
"codeigniter/coding-standard": "^1.5",
27-
"fakerphp/faker": "^1.9",
25+
"php": "^8.3",
26+
"codeigniter/coding-standard": "^1.9",
27+
"fakerphp/faker": "^1.24",
2828
"mikey179/vfsstream": "^1.6",
29-
"nexusphp/cs-config": "^3.6",
29+
"nexusphp/cs-config": "^3.28",
3030
"nexusphp/tachycardia": "^2.0",
3131
"phpstan/extension-installer": "^1.1",
3232
"phpstan/phpstan": "^2.0",
3333
"phpstan/phpstan-deprecation-rules": "^2.0",
3434
"phpstan/phpstan-phpunit": "^2.0",
35-
"phpunit/phpunit": "^10.5 || ^11.5",
35+
"phpunit/phpunit": "^12.5.22 || ^13.1.7",
3636
"rector/rector": "^2.0",
3737
"roave/security-advisories": "dev-latest",
3838
"vimeo/psalm": "^5.0 || ^6.0"
3939
},
4040
"require-dev": {
41-
"codeigniter4/framework": "^4.1",
41+
"codeigniter4/framework": "^4.7",
4242
"icanhazstring/composer-unused": "dev-main"
4343
},
4444
"minimum-stability": "dev",

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.1'
34+
php-version: '8.3'
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.2'
26+
php-version: '8.3'
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.1'
30+
php-version: '8.3'
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.1'
30+
php-version: '8.3'
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.1', '8.2', '8.3', '8.4']
29+
php-versions: ['8.3', '8.5']
3030

3131
steps:
3232
- name: Checkout

0 commit comments

Comments
 (0)