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

Allow PHP 8 #1102

Merged
merged 8 commits into from
Dec 23, 2020
Merged

Allow PHP 8 #1102

merged 8 commits into from
Dec 23, 2020

Conversation

nicolas-grekas
Copy link
Member

Q A
Type improvement
BC Break no
Fixed issues -

This PR includes and replaces #980
Because so many deps forbid PHP8 unless you bump them also, this PR also bumps them.

Since bumping phpstan also adds new rules that the codebase is not compliant with, I generated a baseline to still be green on the static analysis job. This should be fixed in a later PR.

Roave BC Check also reports false positives BC breaks related to eg symfony/console bumping from v4 to v5. I commented the job: fixing this is also for another PR.

This is a canonical example of why dependencies should have broad version constraints: this would have reduced the size of the PR, thus would have reduced the risk. Instead, narrow constraints force doing extra unrelated work that puts the stability at risk. Let's decorrelate these other tasks in separate PRs, as just advised.

@alcaeus alcaeus self-requested a review December 23, 2020 13:56
@alcaeus alcaeus added this to the 2.3.2 milestone Dec 23, 2020
Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

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

Changes LGTM, but I want to take some time before merging to make sure this integrates neatly into 3.0 when I have to merge this there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants