Skip to content

Releases: remp2020/crm-rector

3.0.0

03 Apr 10:52
Compare
Choose a tag to compare
  • Added set CrmSetList::CRM_4 to help with upgrade of REMP CRM from version 3.* to 4.0.0.

2.0.0

03 Apr 10:45
Compare
Choose a tag to compare
  • 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 and CrmSetList::CRM_1_0_WITHOUT_NETTE) were removed.
  • Added two rules used to update malkusch/lock to version 3 (check both rules under namespace Crm\Utils\Rector\MalkuschLockV3).
  • Added rule to replace Nette\Application\UI\Form with our Crm\ApplicationModule\UI\Form. See Crm\Utils\Rector\ReplaceNetteFormRule.

1.2.0

22 Jan 21:34
Compare
Choose a tag to compare
  • Added Crm\Utils\Rector\Set\CrmSetList::CRM_3_0_PSR4 rule set, which contains namespace renames after class names / namespaces were changed to follow PSR4 standard.

1.1.0

03 Oct 11:28
Compare
Choose a tag to compare
  • Added TransformToLazyEventListeners rule to transform old version of event listener registration to "lazy" event listener registration.

1.0.1

08 Jun 12:02
Compare
Choose a tag to compare

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

06 Apr 08:24
Compare
Choose a tag to compare

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