Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Drop unsupported versions of PHP#571

Merged
derrabus merged 3 commits into
doctrine:4.0.xfrom
greg0ire:drop-unsupported-php
Jan 12, 2025
Merged

Drop unsupported versions of PHP#571
derrabus merged 3 commits into
doctrine:4.0.xfrom
greg0ire:drop-unsupported-php

Conversation

@greg0ire
Copy link
Copy Markdown
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
Comment thread composer.json Outdated
"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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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