PHP 7 Compatibility
-
Hi, we are testing our sites for PHP 7 compatibility and your plugin yields these errors:
FILE: /wp-content/plugins/download-monitor/src/Polyfill/DateTimeImmutable/DateTimeImmutable.php
——————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————-
16 | ERROR | The interface DateTimeInterface is intended for type hints only and is not implementable.
——————————————————————————————————————-FILE: /wp-content/plugins/download-monitor/src/DownloadHandler.php
———————————————————————————————————–
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
———————————————————————————————————–
604 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
609 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
———————————————————————————————————–FILE: /wp-content/plugins/download-monitor/src/Libs/uaparser/lib/spyc-0.5/spyc.php
—————————————————————————————————————————————————-
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
—————————————————————————————————————————————————-
393 | WARNING | Method name “Spyc::__load” is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
398 | WARNING | Method name “Spyc::__loadString” is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
—————————————————————————————————————————————————-Can you help address them?
- The topic ‘PHP 7 Compatibility’ is closed to new replies.