-
-
Notifications
You must be signed in to change notification settings - Fork 455
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
fix doWarmUp $buildDir deprecation #1710
Conversation
206fb6e
to
af600e2
Compare
Note that this change is a breaking one if we don't consider |
Yeah I don't see How about adding |
I don't see how is this a BC breaking change, care to clarify? |
Well if someone extended the class like this class MyCustomCacheWarmer extends DoctrineMetadataCacheWarmer
{
protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter): bool
{
return parent::doWarmUp($cacheDir, $arrayAdapter);
}
} Then it would fail with my change
|
That's because $buildDir has not been specified, not related to this PR. This would work https://3v4l.org/2fLp1 |
hm... but my PR added the |
Man, somehow I missed that... Proceed according your preference. In my opinion it doesn't matter much if we do it in 2.10.x or 2.11.x, only major is allowed by semver, so we break the rule anyways, but it needs to ship. |
Neither do I. Classes like this one should be considered final, but we haven't documented it as such.
Yes, let's do that. |
Also see https://github.com/doctrine/DoctrineBundle/actions/runs/6600459221/job/17930490923#step:7:44