Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 30 additions & 24 deletions .vitepress/toc_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,36 @@
]
}
]
},
{
"text": "Migration Guides",
"collapsed": true,
"items": [
{
"text": "Upgrading CakePHP",
"link": "/appendices/migration-guides"
},
{
"text": "5.0 Migration Guide",
"link": "/appendices/5-0-migration-guide"
},
{
"text": "5.0 Upgrade Guide",
"link": "/appendices/5-0-upgrade-guide"
},
{
"text": "5.1 Migration Guide",
"link": "/appendices/5-1-migration-guide"
},
{
"text": "5.2 Migration Guide",
"link": "/appendices/5-2-migration-guide"
},
{
"text": "5.3 Migration Guide",
"link": "/appendices/5-3-migration-guide"
}
]
}
]
},
Expand Down Expand Up @@ -367,30 +397,6 @@
"text": "Appendices",
"items": [
{ "text": "Appendices", "link": "/appendices" },
{
"text": "Migration Guides",
"link": "/appendices/migration-guides"
},
{
"text": "5.0 Migration Guide",
"link": "/appendices/5-0-migration-guide"
},
{
"text": "5.0 Upgrade Guide",
"link": "/appendices/5-0-upgrade-guide"
},
{
"text": "5.1 Migration Guide",
"link": "/appendices/5-1-migration-guide"
},
{
"text": "5.2 Migration Guide",
"link": "/appendices/5-2-migration-guide"
},
{
"text": "5.3 Migration Guide",
"link": "/appendices/5-3-migration-guide"
},
{
"text": "CakePHP Development Process",
"link": "/appendices/cakephp-development-process"
Expand Down
14 changes: 7 additions & 7 deletions docs/en/appendices/migration-guides.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Migration Guides"
title: "Upgrading CakePHP"
description: "Upgrade CakePHP versions: follow migration guides for each release, understand breaking changes, and smoothly transition between versions."
---

Expand All @@ -25,15 +25,15 @@ git checkout 5.x
composer install --no-dev

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

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

- [5 0 Upgrade Guide](5-0-upgrade-guide)
- [5 0 Migration Guide](5-0-migration-guide)
- [5 1 Migration Guide](5-1-migration-guide)
- [5 2 Migration Guide](5-2-migration-guide)
- [5 3 Migration Guide](5-3-migration-guide)
- [5.0 Upgrade Guide](5-0-upgrade-guide)
- [5.0 Migration Guide](5-0-migration-guide)
- [5.1 Migration Guide](5-1-migration-guide)
- [5.2 Migration Guide](5-2-migration-guide)
- [5.3 Migration Guide](5-3-migration-guide)
- [PHPUnit Upgrade](phpunit-upgrade)