Skip to content

Commit 7c6c249

Browse files
committed
Mark PHP 8.3 as stable
1 parent e6d44f1 commit 7c6c249

10 files changed

Lines changed: 63 additions & 61 deletions

File tree

.github/SECURITY.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ This security policy only applies to the latest patches of the following PHP ver
1010

1111
| Version | Supported |
1212
|---------|--------------------|
13-
| 7.4 | :white_check_mark: |
14-
| 8.0 | :white_check_mark: |
1513
| 8.1 | :white_check_mark: |
1614
| 8.2 | :white_check_mark: |
15+
| 8.3 | :white_check_mark: |
1716

1817
## Reporting a Vulnerability
1918

README.md

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ On all supported OS/Platforms the following PHP versions can be set up as per th
116116
| `7.2` | `Stable` | `End of life` | `GitHub-hosted`, `self-hosted` |
117117
| `7.3` | `Stable` | `End of life` | `GitHub-hosted`, `self-hosted` |
118118
| `7.4` | `Stable` | `End of life` | `GitHub-hosted`, `self-hosted` |
119-
| `8.0` | `Stable` | `Security fixes only` | `GitHub-hosted`, `self-hosted` |
120-
| `8.1` | `Stable` | `Active` | `GitHub-hosted`, `self-hosted` |
119+
| `8.0` | `Stable` | `End of life` | `GitHub-hosted`, `self-hosted` |
120+
| `8.1` | `Stable` | `Security fixes only` | `GitHub-hosted`, `self-hosted` |
121121
| `8.2` | `Stable` | `Active` | `GitHub-hosted`, `self-hosted` |
122122
| `8.3` | `Nightly` | `In development` | `GitHub-hosted`, `self-hosted` |
123123
| `8.4` | `Nightly` | `In development` | `GitHub-hosted`, `self-hosted` |
124124

125125
**Notes:**
126-
- Specifying `8.3` and `8.4` in `php-version` input installs a nightly build of `PHP 8.3.0-dev` and `PHP 8.4.0-dev` respectively. See [nightly build setup](#nightly-build-setup) for more information.
126+
- Specifying `8.4` in `php-version` input installs a nightly build of `PHP 8.4.0-dev`. See [nightly build setup](#nightly-build-setup) for more information.
127127
- To use JIT on `PHP 8.0` and above, refer to the [JIT configuration](#jit-configuration) section.
128128

129129
## :heavy_plus_sign: PHP Extension Support
@@ -136,7 +136,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
136136
- name: Setup PHP with PECL extension
137137
uses: shivammathur/setup-php@v2
138138
with:
139-
php-version: '8.2'
139+
php-version: '8.3'
140140
extensions: imagick, swoole
141141
```
142142
@@ -164,7 +164,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
164164
- name: Setup PHP with pre-release PECL extension
165165
uses: shivammathur/setup-php@v2
166166
with:
167-
php-version: '8.2'
167+
php-version: '8.3'
168168
extensions: xdebug-beta
169169
```
170170

@@ -176,7 +176,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
176176
- name: Setup PHP and disable opcache
177177
uses: shivammathur/setup-php@v2
178178
with:
179-
php-version: '8.2'
179+
php-version: '8.3'
180180
extensions: :opcache
181181
```
182182

@@ -188,7 +188,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
188188
- name: Setup PHP without any shared extensions except mbstring
189189
uses: shivammathur/setup-php@v2
190190
with:
191-
php-version: '8.2'
191+
php-version: '8.3'
192192
extensions: none, mbstring
193193
```
194194

@@ -198,7 +198,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
198198
- name: Setup PHP with intl
199199
uses: shivammathur/setup-php@v2
200200
with:
201-
php-version: '8.2'
201+
php-version: '8.3'
202202
extensions: intl-70.1
203203
```
204204

@@ -215,7 +215,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
215215
- name: Setup PHP with fail-fast
216216
uses: shivammathur/setup-php@v2
217217
with:
218-
php-version: '8.2'
218+
php-version: '8.3'
219219
extensions: oci8
220220
env:
221221
fail-fast: true
@@ -231,7 +231,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
231231
- name: Setup PHP with tools
232232
uses: shivammathur/setup-php@v2
233233
with:
234-
php-version: '8.2'
234+
php-version: '8.3'
235235
tools: php-cs-fixer, phpunit
236236
```
237237

@@ -241,7 +241,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
241241
- name: Setup PHP with tools
242242
uses: shivammathur/setup-php@v2
243243
with:
244-
php-version: '8.2'
244+
php-version: '8.3'
245245
tools: vimeo/psalm
246246
```
247247

@@ -261,8 +261,8 @@ These tools can be set up globally using the `tools` input. It accepts a string
261261
- name: Setup PHP with tools
262262
uses: shivammathur/setup-php@v2
263263
with:
264-
php-version: '8.2'
265-
tools: php-cs-fixer:3.5, phpunit:9.5
264+
php-version: '8.3'
265+
tools: php-cs-fixer:3.39, phpunit:10.4
266266
env:
267267
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
268268
```
@@ -273,7 +273,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
273273
- name: Setup PHP with composer v2
274274
uses: shivammathur/setup-php@v2
275275
with:
276-
php-version: '8.2'
276+
php-version: '8.3'
277277
tools: composer:v2
278278
```
279279

@@ -283,7 +283,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
283283
- name: Setup PHP without composer
284284
uses: shivammathur/setup-php@v2
285285
with:
286-
php-version: '8.2'
286+
php-version: '8.3'
287287
tools: none
288288
```
289289

@@ -299,7 +299,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
299299
- name: Setup PHP with fail-fast
300300
uses: shivammathur/setup-php@v2
301301
with:
302-
php-version: '8.2'
302+
php-version: '8.3'
303303
tools: deployer
304304
env:
305305
fail-fast: true
@@ -322,7 +322,7 @@ Runs on all [PHP versions supported](#tada-php-support "List of PHP versions sup
322322
- name: Setup PHP with Xdebug
323323
uses: shivammathur/setup-php@v2
324324
with:
325-
php-version: '8.2'
325+
php-version: '8.3'
326326
coverage: xdebug
327327
```
328328

@@ -350,7 +350,7 @@ Runs on PHP 7.1 and newer PHP versions.
350350
- name: Setup PHP with PCOV
351351
uses: shivammathur/setup-php@v2
352352
with:
353-
php-version: '8.2'
353+
php-version: '8.3'
354354
ini-values: pcov.directory=api #optional, see above for usage.
355355
coverage: pcov
356356
```
@@ -380,7 +380,7 @@ Disable coverage for these reasons:
380380
- name: Setup PHP with no coverage driver
381381
uses: shivammathur/setup-php@v2
382382
with:
383-
php-version: '8.2'
383+
php-version: '8.3'
384384
coverage: none
385385
```
386386

@@ -453,7 +453,7 @@ On GitHub Actions you can assign the `setup-php` step an `id`, you can use the s
453453
id: setup-php
454454
uses: shivammathur/setup-php@v2
455455
with:
456-
php-version: '8.2'
456+
php-version: '8.3'
457457
458458
- name: Print PHP version
459459
run: echo ${{ steps.setup-php.outputs.php-version }}
@@ -495,7 +495,7 @@ steps:
495495
- name: Setup PHP
496496
uses: shivammathur/setup-php@v2
497497
with:
498-
php-version: '8.2'
498+
php-version: '8.3'
499499
extensions: mbstring, intl
500500
ini-values: post_max_size=256M, max_execution_time=180
501501
coverage: xdebug
@@ -534,7 +534,7 @@ jobs:
534534

535535
### Nightly Build Setup
536536

537-
> Set up a nightly build of `PHP 8.3` or `PHP 8.4`.
537+
> Set up a nightly build of `PHP 8.4`.
538538

539539
- These PHP versions are currently in active development and might contain bugs and breaking changes.
540540
- Some user space extensions might not support this version currently.
@@ -544,7 +544,7 @@ steps:
544544
- name: Setup nightly PHP
545545
uses: shivammathur/setup-php@v2
546546
with:
547-
php-version: '8.3'
547+
php-version: '8.4'
548548
extensions: mbstring
549549
ini-values: post_max_size=256M, max_execution_time=180
550550
coverage: xdebug
@@ -563,7 +563,7 @@ steps:
563563
- name: Setup PHP with debugging symbols
564564
uses: shivammathur/setup-php@v2
565565
with:
566-
php-version: '8.2'
566+
php-version: '8.3'
567567
env:
568568
debug: true # specify true or false
569569
```
@@ -585,7 +585,7 @@ jobs:
585585
- name: Setup PHP
586586
uses: shivammathur/setup-php@v2
587587
with:
588-
php-version: '8.2'
588+
php-version: '8.3'
589589
env:
590590
phpts: ts # specify ts or nts
591591
```
@@ -602,7 +602,7 @@ jobs:
602602
- name: Setup PHP with latest versions
603603
uses: shivammathur/setup-php@v2
604604
with:
605-
php-version: '8.2'
605+
php-version: '8.3'
606606
env:
607607
update: true # specify true or false
608608
```
@@ -617,14 +617,14 @@ To debug any issues, you can use the `verbose` tag instead of `v2`.
617617
- name: Setup PHP with logs
618618
uses: shivammathur/setup-php@verbose
619619
with:
620-
php-version: '8.2'
620+
php-version: '8.3'
621621
```
622622

623623
### Multi-Arch Setup
624624

625625
> Set up PHP on multiple architecture on Ubuntu GitHub Runners.
626626

627-
- `PHP 5.6` to `PHP 8.2` are supported by `setup-php` on multiple architecture on `Ubuntu`.
627+
- `PHP 5.6` to `PHP 8.3` are supported by `setup-php` on multiple architecture on `Ubuntu`.
628628
- For this, you can use `shivammathur/node` images as containers. These have compatible `Nodejs` installed for `setup-php`.
629629
- Currently, for `ARM` based setup, you will need [self-hosted runners](#self-hosted-setup).
630630

@@ -640,7 +640,7 @@ jobs:
640640
- name: Install PHP
641641
uses: shivammathur/setup-php@v2
642642
with:
643-
php-version: '8.2'
643+
php-version: '8.3'
644644
```
645645

646646
### Self Hosted Setup
@@ -662,7 +662,7 @@ jobs:
662662
runs-on: self-hosted
663663
strategy:
664664
matrix:
665-
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
665+
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
666666
name: PHP ${{ matrix.php-versions }}
667667
steps:
668668
- name: Setup PHP
@@ -690,7 +690,7 @@ jobs:
690690
- name: Setup PHP
691691
uses: shivammathur/setup-php@v2
692692
with:
693-
php-version: '8.2'
693+
php-version: '8.3'
694694
```
695695

696696
Run the workflow locally with `act` using [`shivammathur/node`](https://github.com/shivammathur/node-docker "Docker image to run setup-php") docker images.
@@ -723,7 +723,7 @@ For example to enable JIT in `tracing` mode with buffer size of `64 MB`.
723723
- name: Setup PHP with JIT in tracing mode
724724
uses: shivammathur/setup-php@v2
725725
with:
726-
php-version: '8.2'
726+
php-version: '8.3'
727727
coverage: none
728728
ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M
729729
```
@@ -776,7 +776,7 @@ The `COMPOSER_TOKEN` environment variable has been deprecated in favor of `GITHU
776776
- name: Setup PHP
777777
uses: shivammathur/setup-php@v2
778778
with:
779-
php-version: '8.2'
779+
php-version: '8.3'
780780
env:
781781
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
782782
```
@@ -789,7 +789,7 @@ If you use Private Packagist for your private composer dependencies, you can set
789789
- name: Setup PHP
790790
uses: shivammathur/setup-php@v2
791791
with:
792-
php-version: '8.2'
792+
php-version: '8.3'
793793
env:
794794
PACKAGIST_TOKEN: ${{ secrets.PACKAGIST_TOKEN }}
795795
```
@@ -803,7 +803,7 @@ Please refer to the authentication section in [`composer documentation`](https:/
803803
- name: Setup PHP
804804
uses: shivammathur/setup-php@v2
805805
with:
806-
php-version: '8.2'
806+
php-version: '8.3'
807807
env:
808808
COMPOSER_AUTH_JSON: |
809809
{
@@ -826,7 +826,7 @@ Put the code in the run property of a step and specify the shell as `php {0}`.
826826
- name: Setup PHP
827827
uses: shivammathur/setup-php@v2
828828
with:
829-
php-version: '8.2'
829+
php-version: '8.3'
830830
831831
- name: Run PHP code
832832
shell: php {0}
@@ -866,7 +866,7 @@ PHPStan supports error reporting in GitHub Actions, so it does not require probl
866866
- name: Setup PHP
867867
uses: shivammathur/setup-php@v2
868868
with:
869-
php-version: '8.2'
869+
php-version: '8.3'
870870
tools: phpstan
871871
872872
- name: Run PHPStan
@@ -881,7 +881,7 @@ Psalm supports error reporting in GitHub Actions with an output format `github`.
881881
- name: Setup PHP
882882
uses: shivammathur/setup-php@v2
883883
with:
884-
php-version: '8.2'
884+
php-version: '8.3'
885885
tools: psalm
886886
887887
- name: Run Psalm
@@ -899,7 +899,7 @@ For examples refer to the [cs2pr documentation](https://github.com/staabm/annota
899899
- name: Setup PHP
900900
uses: shivammathur/setup-php@v2
901901
with:
902-
php-version: '8.2'
902+
php-version: '8.3'
903903
tools: cs2pr, phpcs
904904
905905
- name: Run phpcs

dist/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ async function addExtensionDarwin(extension_csv, version) {
249249
add_script += await utils.parseExtensionSource(extension, ext_prefix);
250250
return;
251251
case /^(7\.4|8\.[0-3])relay(-v?\d+\.\d+\.\d+)?$/.test(version_extension):
252-
case /^(5\.[3-6]|7\.[0-4]|8\.[0-2])blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension):
252+
case /^(5\.[3-6]|7\.[0-4]|8\.[0-3])blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension):
253253
case /^couchbase|^event|^gearman$|^geos$|^pdo_oci$|^oci8$|^(pecl_)?http|^pdo_firebird$/.test(extension):
254254
case /^(5\.[3-6]|7\.[0-4])ioncube$/.test(version_extension):
255255
case /(5\.6|7\.[0-3])phalcon3|7\.[2-4]phalcon4|(7\.4|8\.[0-2])phalcon5/.test(version_extension):
@@ -299,7 +299,7 @@ async function addExtensionWindows(extension_csv, version) {
299299
case /^none$/.test(ext_name):
300300
add_script += '\nDisable-AllShared';
301301
break;
302-
case /^(5\.[3-6]|7\.[0-4]|8\.[0-2])blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension):
302+
case /^(5\.[3-6]|7\.[0-4]|8\.[0-3])blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension):
303303
case /^pdo_oci$|^oci8$|^pdo_firebird$/.test(extension):
304304
case /^(5\.[3-6]|7\.[0-4])ioncube$/.test(version_extension):
305305
case /^7\.[0-3]phalcon3$|^7\.[2-4]phalcon4$|^(7\.4|8\.[0-2])phalcon5$/.test(version_extension):
@@ -367,7 +367,7 @@ async function addExtensionLinux(extension_csv, version) {
367367
add_script += await utils.parseExtensionSource(extension, ext_prefix);
368368
return;
369369
case /^(7\.4|8\.[0-3])relay(-v?\d+\.\d+\.\d+)?$/.test(version_extension):
370-
case /^(5\.[3-6]|7\.[0-4]|8\.[0-2])blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension):
370+
case /^(5\.[3-6]|7\.[0-4]|8\.[0-3])blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension):
371371
case /^((5\.[3-6])|(7\.[0-2]))pdo_cubrid$|^((5\.[3-6])|(7\.[0-4]))cubrid$/.test(version_extension):
372372
case /^couchbase|^event|^gearman$|^geos$|^pdo_oci$|^oci8$|^(pecl_)?http|^pdo_firebird$/.test(extension):
373373
case /(?<!5\.[3-5])intl-\d+\.\d+$/.test(version_extension):

src/configs/os_releases.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@
1717
21.04,hirsute
1818
21.10,impish
1919
22.04,jammy
20+
23.04,lunar
21+
23.10,mantic
22+
24.04,noble

src/configs/php-versions.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"latest": "8.2",
3-
"nightly": "8.3",
2+
"latest": "8.3",
3+
"nightly": "8.4",
44
"5.x": "5.6",
55
"7.x": "7.4",
6-
"8.x": "8.2"
6+
"8.x": "8.3"
77
}

0 commit comments

Comments
 (0)