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

Drop unsupported versions of PHP #571

Merged
merged 3 commits into from
Jan 12, 2025

Conversation

greg0ire
Copy link
Member

This should allow us to do many breaking changes related to new features of PHP.

I'm buping to 8.1 and not higher for the sake of consistency with other recent versions of Doctrine packages. Do let me know if you think I should bump higher.

@greg0ire greg0ire force-pushed the drop-unsupported-php branch 4 times, most recently from d1bbc00 to b6f94d9 Compare January 12, 2025 12:17
composer.json Outdated
@@ -37,8 +37,9 @@
"phpstan/phpstan-symfony": "^1.3",
"doctrine/orm": "^2.6 || ^3",
"doctrine/persistence": "^2.0 || ^3 ",
"symfony/phpunit-bridge": "^6.3 || ^7",
"symfony/var-exporter": "^5.4 || ^6 || ^7"
"symfony/console": "^6.4.17",
Copy link
Member Author

Choose a reason for hiding this comment

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

Had to add this constraint because of an indirect deprecation that caused the prefer-lowest job to fail.

Copy link
Member

Choose a reason for hiding this comment

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

So we're not testing with Console 7? That would be really bad.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh yeah sorry, I will add it.

@greg0ire greg0ire force-pushed the drop-unsupported-php branch 2 times, most recently from 2139686 to 2620407 Compare January 12, 2025 14:08
Copy link
Member

@derrabus derrabus left a comment

Choose a reason for hiding this comment

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

I've merged up your changes on 3.3.x. If you want, you can rebase and throw PHPStan 1 our of composer.json.

This should allow us to do many breaking changes related to new features
of PHP.

I'm bumping to 8.1 and not higher for the sake of consistency with other
recent versions of Doctrine packages.

I am dropping some old versions of some require-dev dependencies that
are not optional dependencies in the hope of having the prefer-lowest
build pass.
@derrabus derrabus merged commit b1e4351 into doctrine:4.0.x Jan 12, 2025
11 checks passed
@greg0ire greg0ire deleted the drop-unsupported-php branch January 12, 2025 14:44
@derrabus derrabus added this to the 4.0.0 milestone Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants