-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 deprecations from doctrine/lexer #10737
Conversation
It's not the same package, so technically, those are not self deprecations :P |
Thanks @nicolas-grekas ! I'll do a release right now since we got 2 PRs for this already. |
Thanks for merging. |
Well… that ship has sailed already. No harm done IMO, but I will wait for our signal next time. |
Hi, I am using version 2.16 of doctrine/orm and I still get indirect deprecation notices.
Is this not supposed to be fixed after this merge request? |
@MalikOvaiz you're reporting this to the wrong package: |
@greg0ire User Deprecated: Accessing Doctrine\Common\Lexer\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by TimestampDiff.php:25, doctrine/lexer#79, package doctrine/lexer) (doctrine 2.17.1) |
@pfpro no opinion, I do not know that |
Unfortunately, neither do I :) |
Yeah but you, on the other hand, have that file on your disk, presumably so maybe you could search for it, you know? |
good point, i'll keep on researching its the |
Then you know where to report this now. |
Not really ...
This is the full log:
|
Okay, so send a pull request to apply the advice in the error message to |
How about you take care of it in this case? You seem to know exactly how to solve this mission. Shout outs to Paris! |
I'm away from keyboard, can't do it, sorry! |
Not triggering self-deprecations is easy when you have the right process.
Since we enabled reporting of Doctrine deprecations on the CI of Symfony, we can tell that the processes here are severely broken, as in: E_TOO_MANY_SELF_DEPRECATIONS.
Here is one of them, the community will send more fixes as we make progress on the topic.
Doctrine v3 is going to be a risky release if the processes are not fixed before.
This feels so Symfony-2.7 :(
Sorry for the bad-mood message but it's not like I didn't extensively explain that this was about to happen when doctrine/deprecations was introduced...
With the right processes, deprecations would have been MUCH cheaper to deal with for everybody: maintainers and users.