Releases: remp2020/crm-rector
Releases · remp2020/crm-rector
3.0.0
2.0.0
- BREAKING: Removed support for our older rules after upgrade of PHPStan and Rector.
- Sets for upgrade from CRM v0.38 to CRM v1 (
CrmSetList::CRM_1_0
andCrmSetList::CRM_1_0_WITHOUT_NETTE
) were removed.
- Sets for upgrade from CRM v0.38 to CRM v1 (
- Added two rules used to update
malkusch/lock
to version 3 (check both rules under namespaceCrm\Utils\Rector\MalkuschLockV3
). - Added rule to replace
Nette\Application\UI\Form
with ourCrm\ApplicationModule\UI\Form
. SeeCrm\Utils\Rector\ReplaceNetteFormRule
.
1.2.0
1.1.0
1.0.1
ContainerConfigurator
is deprecated from Rector v0.12.21
. Thrown warning:
[WARNING] Your "/var/www/html/rector.php" config is using old syntax with "ContainerConfigurator".
Please upgrade to "RectorConfig" that allows better autocomplete and future standard.
All rule sets & README example fixed to use RectorConfig
. Check example in README.
1.0.0
First version of custom Rector rules & configuration.
This release contains:
- Rector rules for upgrade of Nette framework from v2.4 to v3.1 (these are part of Rector package).
- Our custom Rector rules for upgrade of API handlers (CRM v0.38 to v1.0.0).
Rules are described here: README.md#upgrade-crm-v038---crm-v10
CRM migration guide: ApplicationModule/README.md