Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Introduce class name changes in new namespace #227

Merged
merged 2 commits into from
Mar 23, 2020
Merged

Conversation

mikey179
Copy link
Member

@mikey179 mikey179 commented Mar 5, 2020

This introduces the class name changes proposed with #213 into the v1.x series according to the migration strategy detailed in #221.

In case you are wondering about duplication of TestCase classes - I doubled some of them, keeping the old version targeted at the org\bovigo\vfs namespace, and for the renamed classes I introduced the same TestCase classes using the renamed classes. This should help to ensure that everything is compatible in the way we expect it to be.

This introduces the class name changes proposed with #213 into the v1.x series according to the migration strategy detailed in  #221.
@mikey179
Copy link
Member Author

mikey179 commented Mar 5, 2020

I tested vfs-stream-examples and some of my project against this, and both an update without any namespace and class name adoptions in the project and adopting the new namespace with the new class names went without any problems. Maybe if you have some projects depending on vfsStream you could do the same to ensure we really deliver a seamless upgrade experience. Just because it went fine in my projects doesn't mean it will in others.

@mikey179 mikey179 marked this pull request as ready for review March 5, 2020 12:39
@mikey179 mikey179 requested a review from a team March 5, 2020 12:40
Copy link
Member

@allejo allejo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A simple "replace all" was enough for me to get all of my usage upgraded.

@jaapio
Copy link
Contributor

jaapio commented Mar 18, 2020

I surely want to do this, but think I don't have time to do it this month. So feel free to merge this PR and I will report any issues.

Maybe we can come up with some phprector script to help people upgrade?

@mikey179 mikey179 merged commit 53be878 into v1.x Mar 23, 2020
@mikey179 mikey179 deleted the prepare_class_changes branch March 23, 2020 08:38
@mikey179 mikey179 mentioned this pull request Jul 6, 2020
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.

4 participants