Skip to content

Commit f41f9fa

Browse files
authored
Merge pull request #603 from humanmade/backport-598-to-v21-branch
[Backport v21-branch] Fix the PHP versions table.
2 parents c66d115 + fa254bc commit f41f9fa

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

other-docs/guides/updating-php/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ There are 2 key steps to getting ready for a new version of PHP:
1212

1313
| Altis | PHP 8.0 | PHP 8.1 | PHP 8.2 | PHP 8.3 |
1414
|-------|----------------|---------------|----------------|----------------|
15-
| v20 | | **Supported** | *Supported* | *Experimental* |
16-
| v19 | | **Supported** | *Supported* | |
17-
| v18 | **Deprecated** | **Supported** | *Supported* | |
18-
| v17 | **Deprecated** | **Supported** | *Experimental* | |
15+
| v21 | | **Supported** | **Supported** | *Experimental* |
16+
| v20 | | **Supported** | **Supported** | *Experimental* |
17+
| v19 | | **Supported** | **Supported** | |
18+
| v18 | **Deprecated** | **Supported** | **Supported** | |
1919

2020
## Checking PHP Version Compatibility
2121

@@ -30,7 +30,7 @@ In your `composer.json` you may have some code like the following:
3030
{
3131
"config": {
3232
"platform": {
33-
"php": "8.1"
33+
"php": "8.2"
3434
}
3535
}
3636
}
@@ -74,11 +74,11 @@ First install the standard and dependencies using the following command:
7474
composer global require dealerdirect/phpcodesniffer-composer-installer phpcompatibility/php-compatibility
7575
```
7676

77-
Next run the standard against your codebase for the target PHP version, in this example PHP 8.1:
77+
Next run the standard against your codebase for the target PHP version, in this example PHP 8.2:
7878

7979
```shell
8080
phpcs -p --standard=PHPCompatibility \
81-
--runtime-set testVersion 8.1 \
81+
--runtime-set testVersion 8.2 \
8282
--extensions=php \
8383
-d memory_limit=1G \
8484
--ignore=wordpress,vendor/altis,\*/tests/\* .
@@ -111,7 +111,7 @@ e.g. `--ignore=vendor/aws,vendor/guzzlehttp,...`.
111111
Once you are confident that your application is compatible with the version of PHP to upgrade to you should do the
112112
following for each environment:
113113

114-
1. Create a support ticket for the target environment with the type "Task", titled "Upgrade to PHP 8.1", replacing "8.1"
114+
1. Create a support ticket for the target environment with the type "Task", titled "Upgrade to PHP 8.2", replacing "8.2"
115115
with the target version if necessary ( noting that the updated PHP version will not be deployed automatically until
116116
the next application deployment ).
117117
2. Wait for the Altis team to confirm the environment has been updated.
@@ -136,7 +136,7 @@ your PHP version.
136136
The easiest way to add this is to run:
137137

138138
```sh
139-
composer config platform.php 8.1
139+
composer config platform.php 8.2
140140
```
141141

142-
(Replace 8.1 with your desired new PHP version.)
142+
(Replace 8.2 with your desired new PHP version.)

0 commit comments

Comments
 (0)