humanmade / humanmade/coding-standards
PHPCompatibility v10
- Dominant language
- PHP
- Stars
- 160
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
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)
------------------------------------------------------------------------------------------------------------------------------------------------------
```
Contributor guide
Assessment
This issue has not been assessed yet.