Use rector for automatic refactor in CI and locally

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.16.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Some code can be automatically refactored and optimised with rector. By adding this tool in the PHPLIB project and in the CI, we can enforce consistency in the codebase with low efforts. 

      Some rules may require function polyfill, like PHP 7.3 functions.

      This need popped from a code review

              Assignee:
              Jérôme Tamarelle
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: