Skip to content

Commit 982fe37

Browse files
dereuromarkmarkstoryblieb
authored
Merge 5.x into 5.next (#8309)
* Move Migration guides under 'getting started' in toc (#8307) Move the migration guides and upgrade tool docs to 'getting started' instead of 'appendices'. These docs are an entrypoint for returing developers. I've also retitled the migrations-guide page to focus more on the upgrading process. * Add PHP extension installation step in Dockerfile (#8295) Added instructions to install the required PHP extension for FrankenPHP. * Remove stray merge marker --------- Co-authored-by: Mark Story <mark@mark-story.com> Co-authored-by: blieb <540248+blieb@users.noreply.github.com>
2 parents 23060cc + ec740ff commit 982fe37

3 files changed

Lines changed: 46 additions & 36 deletions

File tree

.vitepress/toc_en.json

Lines changed: 34 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,40 @@
5656
]
5757
}
5858
]
59+
},
60+
{
61+
"text": "Migration Guides",
62+
"collapsed": true,
63+
"items": [
64+
{
65+
"text": "Upgrading CakePHP",
66+
"link": "/appendices/migration-guides"
67+
},
68+
{
69+
"text": "5.0 Migration Guide",
70+
"link": "/appendices/5-0-migration-guide"
71+
},
72+
{
73+
"text": "5.0 Upgrade Guide",
74+
"link": "/appendices/5-0-upgrade-guide"
75+
},
76+
{
77+
"text": "5.1 Migration Guide",
78+
"link": "/appendices/5-1-migration-guide"
79+
},
80+
{
81+
"text": "5.2 Migration Guide",
82+
"link": "/appendices/5-2-migration-guide"
83+
},
84+
{
85+
"text": "5.3 Migration Guide",
86+
"link": "/appendices/5-3-migration-guide"
87+
},
88+
{
89+
"text": "5.4 Migration Guide",
90+
"link": "/appendices/5-4-migration-guide"
91+
}
92+
]
5993
}
6094
]
6195
},
@@ -372,34 +406,6 @@
372406
"text": "Appendices",
373407
"items": [
374408
{ "text": "Appendices", "link": "/appendices" },
375-
{
376-
"text": "Migration Guides",
377-
"link": "/appendices/migration-guides"
378-
},
379-
{
380-
"text": "5.0 Migration Guide",
381-
"link": "/appendices/5-0-migration-guide"
382-
},
383-
{
384-
"text": "5.0 Upgrade Guide",
385-
"link": "/appendices/5-0-upgrade-guide"
386-
},
387-
{
388-
"text": "5.1 Migration Guide",
389-
"link": "/appendices/5-1-migration-guide"
390-
},
391-
{
392-
"text": "5.2 Migration Guide",
393-
"link": "/appendices/5-2-migration-guide"
394-
},
395-
{
396-
"text": "5.3 Migration Guide",
397-
"link": "/appendices/5-3-migration-guide"
398-
},
399-
{
400-
"text": "5.4 Migration Guide",
401-
"link": "/appendices/5-4-migration-guide"
402-
},
403409
{
404410
"text": "CakePHP Development Process",
405411
"link": "/appendices/cakephp-development-process"

docs/en/appendices/migration-guides.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Migration Guides"
2+
title: "Upgrading CakePHP"
33
description: "Upgrade CakePHP versions: follow migration guides for each release, understand breaking changes, and smoothly transition between versions."
44
---
55

@@ -25,15 +25,16 @@ git checkout 5.x
2525
composer install --no-dev
2626

2727
# Run rector with the desired ruleset
28-
bin/cake upgrade rector --rules cakephp51 <path/to/app/src>
28+
bin/cake upgrade rector --rules cakephp52 <path/to/app/src>
2929
```
3030

3131
Run rector before updating your `composer.json` dependencies
3232
to ensure the tool can resolve class names correctly.
3333

34-
- [5 0 Upgrade Guide](5-0-upgrade-guide)
35-
- [5 0 Migration Guide](5-0-migration-guide)
36-
- [5 1 Migration Guide](5-1-migration-guide)
37-
- [5 2 Migration Guide](5-2-migration-guide)
38-
- [5 3 Migration Guide](5-3-migration-guide)
39-
- [5 4 Migration Guide](5-4-migration-guide)
34+
- [5.0 Upgrade Guide](5-0-upgrade-guide)
35+
- [5.0 Migration Guide](5-0-migration-guide)
36+
- [5.1 Migration Guide](5-1-migration-guide)
37+
- [5.2 Migration Guide](5-2-migration-guide)
38+
- [5.3 Migration Guide](5-3-migration-guide)
39+
- [5.4 Migration Guide](5-4-migration-guide)
40+
- [PHPUnit Upgrade](phpunit-upgrade)

docs/en/installation.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,9 @@ myapp.local {
394394
# Dockerfile in your project root
395395
FROM dunglas/frankenphp
396396

397+
# Install required php extension
398+
RUN install-php-extensions intl
399+
397400
# Copy your CakePHP application
398401
COPY . /app
399402

0 commit comments

Comments
 (0)