Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Migrating to Rector 0.4 #114

Merged
merged 3 commits into from
Apr 18, 2019
Merged

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
# for free to join this conversation on GitHub. Already have an account? # 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