oro / upgrade-toolkit
The Oro Source Code Upgrade Toolkit
dev-master
2024-04-25 10:34 UTC
Requires
- rector/rector: 1.0.3
Requires (Dev)
- phpunit/phpunit: ^10.2
This package is auto-updated.
Last update: 2024-04-25 20:20:44 UTC
README
A command line helper that facilitates upgrading the source code of the Oro application:
- From version 5.0 to 5.1
- From version 5.1 to 6.0
- From version 5.0 to 6.0
Installation
composer require oro/upgrade-toolkit:dev-master --dev
Usage
bin/rector process src --config vendor/oro/upgrade-toolkit/sets/oro-51.php
Replace src with the path to your source directory, if not src/, and oro-51.php with the desired upgrade set (oro-51.php or oro-60.php).
You can add --dry-run to the bin/rector command to verify the results without actually making any changes.
Testing
To run tests
php bin/phpunit --testsuite upgrade-toolkit --configuration vendor/oro/upgrade-toolkit/phpunit.xml.dist
License
This bundle is under the MIT license. See the complete license in the bundle.