Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1141

Use rector for automatic refactor in CI and locally

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.16.0
    • Affects Version/s: None
    • Component/s: 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:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: