Falsely Reports Warnings as Errors
-
PHP Compatibility Checker is quite handy. However, it reports falsehoods.
In a scan of BackWPup, for example, it reported 33 errors with 24 of them being falsely reported.
The error for those 24 is:
“‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)”This is not true.
According to PHP: List of reserved words, ‘resource’ can be used in those contexts though its use is discouraged.
Such a soft reservation should produce only a Warning, not an Error.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Falsely Reports Warnings as Errors’ is closed to new replies.