Skip to content

Conversation

moufmouf
Copy link
Member

@moufmouf moufmouf commented Apr 17, 2019

Rector 0.4 is the latest Rector version.
This PR migrates the generated Rector file to be compatible with Rector 0.4.

It introduces a breaking change since the file is no longer compatible with Rector 0.3.
I am willing to introduce this breaking change because Rector 0.3 is currently broken. Any install of Rector 0.3 triggers an error right now (and nobody complained about it in Rector issues).
I'm therefore assuming that nobody is using Rector 0.3 anymore and migrating to Rector 0.4 without further notice.

Notice: this PR also adds tests to check the correctness of the generated rector file.

Closes #103
Closes #109

Rector 0.4 is the latest Rector version.
This PR migrates the generated Rector file to be compatible with Rector 0.4.

It introduces a breaking change since the file is no longer compatible with Rector 0.3.
I am willing to introduce this breaking change because Rector 0.3 is currently broken. Any install of Rector 0.3 triggers an error right now (and nobody complained about it in Rector issues).
I'm therefore assuming that nobody is using Rector 0.3 anymore and migrating to Rector 0.4 without further notice.
@moufmouf moufmouf merged commit 677c032 into thecodingmachine:master Apr 18, 2019
@moufmouf moufmouf deleted the rector0.4 branch April 18, 2019 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Class "Rector\Rector\Function_\FunctionReplaceRector" was not found
1 participant