@@ -10,12 +10,13 @@ There are 2 key steps to getting ready for a new version of PHP:
1010
1111## Altis Compatibility Chart
1212
13- | Altis | PHP 8.3 | PHP 8.2 | PHP 8.1 |
14- | -------| ----------------| ---------------| ---------------|
15- | v24 | ** Supported** | ** Supported** | * Deprecated* |
16- | v23 | ** Supported** | ** Supported** | * Deprecated* |
17- | v22 | ** Supported** | ** Supported** | ** Supported** |
18- | v21 | * Experimental* | ** Supported** | ** Supported** |
13+ | Altis | PHP 8.4 | PHP 8.3 | PHP 8.2 | PHP 8.1 |
14+ | -------| ---------------| ----------------| ---------------| ---------------|
15+ | v25 | ** Supported** | ** Supported** | * Deprecated* | * Deprecated* |
16+ | v24 | | ** Supported** | ** Supported** | * Deprecated* |
17+ | v23 | | ** Supported** | ** Supported** | * Deprecated* |
18+ | v22 | | ** Supported** | ** Supported** | ** Supported** |
19+ | v21 | | * Experimental* | ** Supported** | ** Supported** |
1920
2021## Checking PHP Version Compatibility
2122
@@ -30,7 +31,7 @@ In your `composer.json` you may have some code like the following:
3031{
3132 "config" : {
3233 "platform" : {
33- "php" : " 8.2 "
34+ "php" : " 8.3 "
3435 }
3536 }
3637}
@@ -74,11 +75,11 @@ First install the standard and dependencies using the following command:
7475composer global require dealerdirect/phpcodesniffer-composer-installer phpcompatibility/php-compatibility
7576```
7677
77- Next run the standard against your codebase for the target PHP version, in this example PHP 8.2 :
78+ Next run the standard against your codebase for the target PHP version, in this example PHP 8.3 :
7879
7980``` shell
8081phpcs -p --standard=PHPCompatibility \
81- --runtime-set testVersion 8.2 \
82+ --runtime-set testVersion 8.3 \
8283 --extensions=php \
8384 -d memory_limit=1G \
8485 --ignore=wordpress,vendor/altis,\* /tests/\* .
@@ -111,7 +112,7 @@ e.g. `--ignore=vendor/aws,vendor/guzzlehttp,...`.
111112Once you are confident that your application is compatible with the version of PHP to upgrade to you should do the
112113following for each environment:
113114
114- 1 . Create a support ticket for the target environment with the type "Task", titled "Upgrade to PHP 8.2 ", replacing "8.2 "
115+ 1 . Create a support ticket for the target environment with the type "Task", titled "Upgrade to PHP 8.3 ", replacing "8.3 "
115116 with the target version if necessary ( noting that the updated PHP version will not be deployed automatically until
116117 the next application deployment ).
1171182 . Wait for the Altis team to confirm the environment has been updated.
@@ -136,7 +137,7 @@ your PHP version.
136137The easiest way to add this is to run:
137138
138139``` sh
139- composer config platform.php 8.2
140+ composer config platform.php 8.3
140141```
141142
142- (Replace 8.2 with your desired new PHP version.)
143+ (Replace 8.3 with your desired new PHP version.)
0 commit comments