-
Notifications
You must be signed in to change notification settings - Fork 236
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
filemtime warning because of eval'd code #492
Comments
The best course of action is to migrate away from |
Yes, fair point. I am aware of this. It would help me and potentially others if this could be done in steps, but it's likely that I will try to move on in one go later this week. |
Feel free to submit a PR with the proposed fix and a test that reproduces the issue. |
Fixed in #494 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This ticket concerns
1.13.*
and2.*
of this package.Currently, I'm trying to upgrade an application from Symfony 5.4 to Symfony 6.0 (and then later to the most recent 6.x).
This halted my progress:
Turns out a solution was already suggested by someone else in #436, but this solution was never merged. Two changes in
lib/Doctrine/Common/Annotations/PsrCachedReader.php
solve the issue for me:use function is_file;
on top[$filename ? filemtime($filename) : 0]
to[is_file($filename) ? filemtime($filename) : 0]
in two placesWould this be a good improvement for the package, or am I missing something?
P.S. I'll also try to upgrade
lexik/jwt-authentication-bundle
to3.*
once it becomes available, because theForwardCompatAuthenticatorTrait
only seems to exist in2.*
.The text was updated successfully, but these errors were encountered: