Skip to content

Commit f6e00fd

Browse files
committed
update_to_5.0.md: Move to SF 7.3
1 parent 77368b3 commit f6e00fd

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ rm -r config/graphql
103103

104104
#### Update package requirements
105105

106-
[[= product_name =]] 5.0 is based on Symfony 7.2 and both must be updated.
106+
[[= product_name =]] 5.0 is based on Symfony 7.3 and both must be updated.
107107
Your development package must be updated as well.
108108
The process example below considers [`symfony/debug-pack`](https://symfony.com/packages/Debug%20Pack) and `ibexa/rector` as installed.
109109

@@ -125,22 +125,22 @@ The process example below considers [`symfony/debug-pack`](https://symfony.com/p
125125
# Update required PHP version
126126
composer require --no-update 'php:>=8.3';
127127
# Update required Symfony version
128-
composer config extra.symfony.require '7.2.*'
128+
composer config extra.symfony.require '7.3.*'
129129
# Upgrade Ibexa and Symfony packages: application
130130
composer require --no-update \
131131
ibexa/commerce:[[= latest_tag_5_0 =]] \
132-
symfony/console:^7.2 \
133-
symfony/dotenv:^7.2 \
134-
symfony/framework-bundle:^7.2 \
135-
symfony/runtime:^7.2 \
136-
symfony/yaml:^7.2 \
132+
symfony/console:^7.3 \
133+
symfony/dotenv:^7.3 \
134+
symfony/framework-bundle:^7.3 \
135+
symfony/runtime:^7.3 \
136+
symfony/yaml:^7.3 \
137137
;
138138
# Upgrade Ibexa and Symfony packages: development tools
139139
ddev composer require --dev --no-update \
140140
ibexa/rector:[[= latest_tag_5_0 =]] \
141-
symfony/debug-bundle:^7.2 \
142-
symfony/stopwatch:^7.2 \
143-
symfony/web-profiler-bundle:^7.2 \
141+
symfony/debug-bundle:^7.3 \
142+
symfony/stopwatch:^7.3 \
143+
symfony/web-profiler-bundle:^7.3 \
144144
;
145145
# Update packages / Install new dependencies
146146
ddev composer update --with-all-dependencies --no-scripts --verbose
@@ -530,7 +530,7 @@ TODO: `AsCommand` attribute; Rector doesn't move `parent::__construct('app:test'
530530
In the following example, you can see optimization thanks to the following features:
531531

532532
- [Constructor parameter promoted as properties](https://www.php.net/manual/en/language.oop5.decon.php#language.oop5.decon.constructor.promotion) (available since PHP 8.0)
533-
- [`AsCommand` attribute to register a command](https://symfony.com/doc/7.2/console.html#console_registering-the-command) (available since Symfony 6.2)
533+
- [`AsCommand` attribute to register a command](https://symfony.com/doc/7.3/console.html#console_registering-the-command) (available since Symfony 6.2)
534534

535535
```diff
536536
+#[AsCommand(name: 'app:test', description: 'Command to test something.')]

0 commit comments

Comments
 (0)