Skip to content
2 changes: 2 additions & 0 deletions guides/upgrades-migrations/administration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ These guides cover architectural changes and migration paths affecting Administr
* [Vite migration](./vite)
* [Vue migration build removal](./vue-migration-build)
* [Native Vue implementation](./vue-native)

For automated detection and fixing of supported Administration migration patterns, see the [Shopware CLI automatic refactoring](../../../products/tools/cli/automatic-refactoring.md) guide.
8 changes: 8 additions & 0 deletions products/tools/cli/automatic-refactoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ shopware-cli project fix /path/to/your/project --allow-non-git

By default, `project fix` requires a Git repository to safely track changes.

### Administration migration rules

The fixer also includes deterministic rules for known Administration migration patterns, including Administration Twig component migrations and component property or event changes. These rules apply when running `project fix` or `extension fix` as described above.

The rules only cover cases where the old pattern and its replacement can be identified without ambiguity. They are not a general-purpose Administration migration engine and do not guarantee full compatibility with a target Shopware version. Manual review is still required for changes that are not covered by a deterministic rule.

For manual migration guidance, see the [Administration migration guide](../../../guides/upgrades-migrations/administration/index.md).

## After running refactoring

Use Git or your diff tool to review the changes.
Expand Down
Loading