Skip to content

Releases: remp2020/crm-rector

1.2.0: [PSR4] WalletPayModule now follows PSR4 specification

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