Skip to content

Commit 5740764

Browse files
committed
chore: bump minimum required PHP 8.3
1 parent 4e7f9af commit 5740764

27 files changed

Lines changed: 43 additions & 48 deletions

‎.github/ISSUE_TEMPLATE/bug_report.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ body:
2525
description: Which PHP versions did you run your code?
2626
multiple: true
2727
options:
28-
- '8.2'
2928
- '8.3'
3029
- '8.4'
3130
- '8.5'
31+
- '8.6'
3232
validations:
3333
required: true
3434

‎.github/instructions/user-guide.instructions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ applyTo: "docs/**/*.md"
1010
trailing spaces that end a line as a hard line break.
1111
- Add a new page to the page's folder `index.md` and run
1212
`php admin/update-docs-nav.php` to add it to `docs/.nav.yml`.
13-
- Keep PHP examples compatible with PHP 8.2 and verify signatures and behavior
13+
- Keep PHP examples compatible with PHP 8.3 and verify signatures and behavior
1414
against the current framework code.
1515
- Distinguish new behavior from existing behavior and document defaults
1616
precisely.

‎.github/workflows/deploy-apidocs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup PHP
4747
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
4848
with:
49-
php-version: '8.2'
49+
php-version: '8.3'
5050
tools: phive
5151
coverage: none
5252

‎.github/workflows/test-autoreview.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
name: Automatic Code Review
2727
uses: ./.github/workflows/reusable-serviceless-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
2828
with:
29-
job-name: PHP 8.2
30-
php-version: '8.2'
29+
job-name: PHP 8.3
30+
php-version: '8.3'
3131
job-id: auto-review-tests
3232
group-name: AutoReview

‎.github/workflows/test-coding-standards.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
php-version:
33-
- '8.2'
33+
- '8.3'
3434
include:
3535
- php-version: '8.5'
3636
composer-option: '--ignore-platform-req=php'

‎.github/workflows/test-composer-normalize.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@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
3333
with:
34-
php-version: '8.2'
34+
php-version: '8.3'
3535
coverage: none
3636

3737
- name: Install dependencies

‎.github/workflows/test-file-permissions.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup PHP
2424
uses: shivammathur/setup-php@v2
2525
with:
26-
php-version: '8.2'
26+
php-version: '8.3'
2727

2828
- name: Detect unnecessary execution permissions
2929
run: php utils/check_permission_x.php

‎.github/workflows/test-phpstan.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Setup PHP
5252
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
5353
with:
54-
php-version: '8.2'
54+
php-version: '8.3'
5555
extensions: intl
5656
coverage: none
5757

@@ -69,9 +69,9 @@ jobs:
6969
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
7070
with:
7171
path: ${{ steps.composer-cache.outputs.COMPOSER_CACHE_FILES_DIR }}
72-
key: composer-php-8.2-${{ hashFiles('**/composer.json') }}
72+
key: composer-php-8.3-${{ hashFiles('**/composer.json') }}
7373
restore-keys: |
74-
composer-php-8.2-
74+
composer-php-8.3-
7575
composer-
7676
7777
- name: Create PHPStan result cache directory

‎.github/workflows/test-phpunit.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
steps:
4848
- id: coverage-php-version
4949
run: |
50-
echo "version=8.2" >> $GITHUB_OUTPUT
50+
echo "version=8.3" >> $GITHUB_OUTPUT
5151
5252
sanity-tests:
5353
name: Others
@@ -56,7 +56,6 @@ jobs:
5656
strategy:
5757
matrix:
5858
php-version:
59-
- '8.2'
6059
- '8.3'
6160
- '8.4'
6261
- '8.5'
@@ -82,7 +81,6 @@ jobs:
8281
fail-fast: false
8382
matrix:
8483
php-version:
85-
- '8.2'
8684
- '8.3'
8785
- '8.4'
8886
- '8.5'
@@ -95,7 +93,7 @@ jobs:
9593
mysql-version:
9694
- '8.0'
9795
include:
98-
- php-version: '8.2'
96+
- php-version: '8.3'
9997
db-platform: MySQLi
10098
mysql-version: '5.7'
10199

@@ -121,7 +119,6 @@ jobs:
121119
strategy:
122120
matrix:
123121
php-version:
124-
- '8.2'
125122
- '8.3'
126123
- '8.4'
127124
- '8.5'
@@ -146,7 +143,6 @@ jobs:
146143
strategy:
147144
matrix:
148145
php-version:
149-
- '8.2'
150146
- '8.3'
151147
- '8.4'
152148
- '8.5'

‎.github/workflows/test-psalm.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
fail-fast: false
4141
matrix:
4242
php-version:
43-
- '8.2'
43+
- '8.3'
4444

4545
steps:
4646
- name: Checkout

0 commit comments

Comments
 (0)