8000 Require Doctrine Deprecations 1.1.5 by morozov · Pull Request #6962 · doctrine/dbal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Require Doctrine Deprecations 1.1.5 #6962

8000
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

Merged
merged 1 commit into from
May 18, 2025

Conversation

morozov
Copy link
Member
@morozov morozov commented May 17, 2025

Doctrine Deprecations prior to 1.1.5 use the @before and @after annotations which trigger PHPUnit deprecations on PHPUnit 11 (see #6961). In order to keep the DBAL deprecation-free, I want to reinstate failOnPhpunitDeprecation="true" in the PHPUnit configuration (which was initially added in #6959 and then reverted in #6961). Doing so without the dependency update would fail the build with the lowest dependencies, and I don't want to introduce a separate PHPUnit configuration just for that build.

We should bump the Deprecations requirement to 1.1.5. This is a non-test dependency, but it should be acceptable. Deprecations 1.0.0 was released 3 years ago, so folks had enough time to upgrade.

P.S. I think it might also work if we disabled failing on PHPUnit deprecations on the lowest build via the CLI. If the dependency update becomes a problem, we can try that, but for now I think this complication is not justified. Actually, it won't. There is a --fail-on-phpunit-deprecation CLI option but no --do-not-fail-on-phpunit-deprecation or something like that.

@morozov morozov marked this pull request as ready for review May 17, 2025 20:36
@morozov morozov requested a review from greg0ire May 17, 2025 20:36
@morozov morozov added this to the 4.3.0 milestone May 17, 2025
@morozov morozov merged commit 9cd1b2b into doctrine:4.3.x May 18, 2025
82 checks passed
@morozov morozov deleted the update-doctrine-deprecations branch May 18, 2025 16:31
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.

2 participants
0