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

Upgrade fixtures to PHP 8.1 and reverse patches #282

Merged
merged 1 commit into from Jul 20, 2022

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Jul 19, 2022

cc @simPod

Currently, we keep all test fixtures at our lowest supported PHP language level and maintain patches for testing with higher language levels. This PR proposes to reverse that process: Fixtures are maintained for PHP 8.1 and we patch them for testing lower language levels.

My expectation would be that future PRs become easier to review this way and support for old language levels can be dropped by deleting the corresponding patch eventually.

Copy link
Member

@malarzm malarzm left a comment

Choose a reason for hiding this comment

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

Motivation is solid and a very good idea 👍

@derrabus derrabus merged commit 720492b into doctrine:10.0.x Jul 20, 2022
@derrabus derrabus deleted the improvement/reverse-patches branch July 20, 2022 09:59
Copy link
Contributor

@simPod simPod left a comment

Choose a reason for hiding this comment

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

@derrabus I think something is wrong. When I go to 11.0.x, run make update-compatibility-patch-72 and then y, it creates a commit with changes even though I changed nothing.

@derrabus
Copy link
Member Author

@simPod Can you look into that? You're more familiar with the patching system and I'm kinda busy at the moment. 🙁

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.

None yet

5 participants