Skip to content

PHPCompatibility v10 #323

@tomjn

Description

@tomjn

It's currently in alpha, but it should fix a common issue with WPCS we're seeing, e.g.

------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | ERROR | An error occurred during processing; checking has been aborted. The error message was: trim(): Passing null to parameter #1 ($string) of
   |       | type string is deprecated in /Users/tomjn/dev/PHPBasicAuth/vendor/phpcompatibility/php-compatibility/PHPCompatibility/Sniff.php on line
   |       | 131
   |       | The error originated in the .PHPCompatibility. sniff on line 131. (Internal.Exception)
------------------------------------------------------------------------------------------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions