Skip to content

Commit a0ac8af

Browse files
authored
Apply vale suggestions
1 parent 2e2b089 commit a0ac8af

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

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

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ It supports only PHP 8.3 and above.
2727

2828
It's important to stop using deprecated PHP classes as they're removed in 5.0.
2929

30-
[Rector](https://getrector.com/) and the Ibexa rule sets help to upgrade your code.
30+
[Rector](https://getrector.com/) and the [[= product_name_base =]] rule sets help to upgrade your code.
3131

3232
Install [`ibexa/rector`](https://github.com/ibexa/rector) which contains rules to ensure custom code is up to date with DXP 4.6:
3333

@@ -183,7 +183,7 @@ Notice that it uses the `--no-update` option to only edit the composer.json, to
183183

184184
4.6 LTS Update packages are included by default in 5.0.
185185
You can now remove them from your composer.json
186-
so you don't have to maintain which of their versions your composer.json is referring to.
186+
so you don't have to maintain which of their versions your composer.json is referring to.
187187

188188
For example, the following command removes several formerly LTS Update packages from `composer.json:
189189

@@ -300,7 +300,6 @@ If you have custom code directly querying those, you will need to update them.
300300
You can track the renaming in the `ibexa-4.6.latest-to-5.0.0.sql` file or below.
301301

302302
??? note "Tables and columns renaming map"
303-
304303
| Old name | New name |
305304
|:------------------------------------------------------|:------------------------------------------------------------------------|
306305
| ezbinaryfile | ibexa_binary_file |
@@ -402,7 +401,7 @@ Features which were optional 4.6 LTS Updates are now part of 5.0.0.
402401

403402
* If you have already installed the feature, its schema has been updated by the previous step.
404403
* If you haven't installed the feature, you need to add its schema to your database.
405-
* If you mistakenly reinstall a schema, no worries, you will encounter a "Table already exists" error which can be ignored.
404+
* If you mistakenly reinstall a schema, no worries, you encounter "Table already exists" errors which can be ignored.
406405

407406
#### Install AI actions schema
408407

@@ -483,7 +482,7 @@ php bin/console ibexa:migrations:migrate --file=2025_07_08_09_27_set_container_t
483482

484483
### Generate GraphQL schema
485484

486-
4.6's Back Office uses GraphQL while 5.0's one doesn't.
485+
4.6's back office uses GraphQL while 5.0's one doesn't.
487486
But, optionally, if you are using GraphQL in your project, generate its schema:
488487

489488
```bash
@@ -555,7 +554,7 @@ use Rector\Symfony\Set\SensiolabsSetList;
555554
// strictBooleans: true, // https://getrector.com/find-rule?activeRectorSetGroup=core&rectorSet=core-strict-booleans
556555
rectorPreset: true,
557556
symfonyCodeQuality: true, // https://getrector.com/find-rule?activeRectorSetGroup=symfony&rectorSet=symfony-code-quality
558-
symfonyConfigs: true, // https://getrector.com/find-rule?activeRectorSetGroup=symfony&rectorSet=symfony-configs
557+
symfonyConfigs: true, // https://getrector.com/find-rule?activeRectorSetGroup=symfony&rectorSet=symfony-configs
559558
);
560559
```
561560

@@ -693,19 +692,18 @@ The output as an `alias` column with new identifiers and a `legacy_alias` column
693692

694693
You may have to update them in several places.
695694

696-
- Update in templates to display or edit fields or their definition. For example, in a `@IbexaCore/content_fields.html.twig` extension, `{% block ezstring_field %)` must be changed for `{% block ibexa_string_field %}`.
695+
- Update in templates to display or edit fields or their definition. For example, in a `@IbexaCore/content_fields.html.twig` extension, `{% block ezstring_field %)` must be changed for `{% block ibexa_string_field %}`
697696
- Update in migration files
698697

699698
#### Update icons
700699

701700
The names of the icons provided in `all-icons.svg` have changed.
702701
`ibexa/rector` JavaScript Transform module's plugin `ibexa-rename-icons.js` deals with those changes in JavaScript.
703-
You may have to update them in other contexts like, for example, config files associating icons to content types or page builder blocks.
702+
You may have to update them in other contexts like, for example, config files associating icons to content types or Page Builder blocks.
704703

705704
You can find an [`ibexa-rename-icons` map in `vendor/ibexa/rector/js/rules.config.json` (`"old-name": "new-name"`)](https://github.com/ibexa/rector/blob/v5.0.0/js/rules.config.json#L63).
706705

707706
??? note "Icons renaming map"
708-
709707
| Old name | New name |
710708
|:------------------------|:-----------------------------|
711709
| about-info | help |

docs/update_and_migration/from_5.0/update_from_5.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ month_change: true
55

66
# Update from v5.0.x to v5.0.latest
77

8-
Ibexa DXP v5.0.0 is the latest version for now. If you have it, you're update-to-date.
8+
[[= product_name =]] v5.0.0 is the latest version for now. If you have it, you're update-to-date.
99
Come back to this page later to discover if some patch has been released and how to install it.
1010

1111
To update from v4.6.x, see [Update from v4.6 to v5.0](update_to_5.0.md).

0 commit comments

Comments
 (0)