Skip to content

Conversation

@s1shed
Copy link

@s1shed s1shed commented Jul 4, 2023

This fixes various warnings and errors in PHP 8.2 and is intended to complement #282.

@infrastation
Copy link
Member

Thank you, that's a large diff, please let me have some time to proof-read the changes.

@s1shed
Copy link
Author

s1shed commented Jul 5, 2023

No problem, hopefully it's of use. :)

Just stumbled on this with PHP 8.2:

Deprecated: Function strftime() is deprecated in /racktables/wwwroot/inc/functions.php on line 6374

@infrastation
Copy link
Member

infrastation commented Jul 9, 2023

That's a separate problem and it will take a separate solution (replace strptime() and strftime() with something and something else), but thank you for bringing this up.

@andypost
Copy link

this functions are deprecated in 8.1.0

This function has been deprecated. Use date_parse_from_format() instead (for locale-independent parsing), or IntlDateFormatter::parse() (for locale-dependent parsing)

@BasvanH
Copy link

BasvanH commented Jan 27, 2025

When is this going to be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants