-
Notifications
You must be signed in to change notification settings - Fork 715
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
PHP 8.1 compatibility (without IntlDateFormatter) #713
Conversation
clearstatcache(true, $cached->lock_id); | ||
if (is_file($cached->lock_id)) { | ||
clearstatcache(true, $cached->lock_id ?? ''); | ||
if (null !== $cached->lock_id && is_file($cached->lock_id)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since you closed previous one, carry the discussion:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we continue the discussion here? My last answer was:
Personally I agree with your point, but IMO it's out of scope of this change. What the original author tried to do is "doing whatever php < 8.1 would do". So another pr should cope with the issue.
But we can also remove the change in line #199
as it's only a deprecation warning in php 8.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no say of this, as I'm not the maintainer.
personally, I would carry the fix to separate PR and hope it gets merged sooner as the change is smaller.
ps: edit #199
to be backticks as it links to bogus ticket, or replace with link to source
Co-Authored-By: Thomas BACCELLI <tbaccelli@gmail.com>
Co-Authored-By: Thomas BACCELLI <tbaccelli@gmail.com>
Hi,
Can a maintainer approve the actions workflow run so we can also see tests results? Thanks! |
yes, please see the discussion in #678. This pr is just a follow-up without fixing the strftime issues. These are deprecations only and the main goal is to get smarty running under 8.1. |
Yes, I've realized. Thanks. |
Kudos clearly must go to @atomiix! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id_ed25519.pub
This is the follow-up for #711. I tried to keep as many commits without modification here. Hope that's ok @got
I coudn't find a way to update the previous pr, sorry.