Skip to content

Commit 4bd1ce3

Browse files
committed
Draft 5.0 update process
1 parent eb9c7a3 commit 4bd1ce3

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

docs/update_and_migration/from_4.6/update_to_5.0.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ It supports only PHP 8.3 and above.
2323
If your DXP 4.6 is running on a PHP below 8.3, start migrating it to PHP 8.3.
2424

2525
Use Ibexa Rector to help yourself to upgrade PHP code for 8.3,
26-
see [`ibexa/rector`'s README](https://github.com/ibexa/rector?tab=readme-ov-file#ibexa-dxp-rector) for more information about installation and usage.
26+
see [`ibexa/rector`'s README](https://github.com/ibexa/rector?tab=readme-ov-file#ibexa-dxp-rector)
27+
and [Rector's documentation](https://getrector.com/documentation)
28+
for more information about installation and usage.
2729
TODO: For example, you might have to remove the inclusion of `tests/ directory.
2830

2931
Rector might also find out code deprecated in 4.6 which are likely removed in 5.0.
30-
Update according to its report to reduce this debt and have less code not compatible with 5.0.
32+
Let Rector reduce this debt and have less code not compatible with 5.0.
3133

3234
TODO: Example with our own code samples?
3335
TODO: list of features deprecated in 4.6 removed in 5.0?
@@ -212,9 +214,7 @@ composer run-script post-update-cmd
212214

213215
Apply the following database update script:
214216

215-
### [[= product_name =]]
216-
217-
TODO: Rework 4.6 LTS Update schemas injection
217+
TODO: Rework injection of 4.6 LTS Updates' schemas
218218

219219
=== "MySQL"
220220

@@ -335,10 +335,8 @@ TODO: Compatibility "views" layers? Even if there is this layer to save time, it
335335

336336
#### Generate GraphQL schema
337337

338-
GraphQL is used by 4.6's Back Office
339-
but isn't used by 5.0's one.
340-
341-
Optionally, if you are using GraphQL in your project, generate its schema:
338+
4.6's Back Office uses GraphQL while 5.0's one doesn't.
339+
But, optionally, if you are using GraphQL in your project, generate its schema:
342340

343341
```bash
344342
php bin/console ibexa:graphql:generate-schema
@@ -349,15 +347,15 @@ php bin/console ibexa:graphql:generate-schema
349347
#### Update PHP framework standards
350348

351349
Update the `rector.php` file to use `IbexaSetList::IBEXA_50` rule set
352-
by running the recipe:
350+
by running its recipe:
353351

354352
```bash
355353
composer recipe:install ibexa/rector --force --reset --yes
356354
```
357355

358356
You can add some other rule sets (like, for example, the Symfony ones) to match newer standards.
359357

360-
It's recommended to activate one set at a time, check the output, and decide if kept now, or discarded for another time.
358+
It's recommended to activate one set at a time, check the output, and decide if kept right now, or discarded for another time.
361359

362360
```php
363361
//…

0 commit comments

Comments
 (0)