php-parallel-lint / PHP-Parallel-Lint

This tool check syntax of PHP files faster than serial check with fancier output.
Other
282 stars 21 forks source link

Use PHP-Code-Style 2.0 #101

Closed jrfnl closed 2 years ago

jrfnl commented 2 years ago

PHPCS: use PHP-Code-Style 2.0

Ruleset: update for PHP-Code-Style 2.0

Ruleset: add a few selective exclusions

... for things to be addressed at a later point in time and a few which don't need addressing at all.

CS: various minor fixes

Fix up the issues which will be flagged by PHP-Code-Style 2.0 and explicitly ignore a couple of (non-)issues.

grogy commented 2 years ago

I prefer fix incorrect code with changing ruleset, but it is my personal preference. Thank you, merged :-)

jrfnl commented 2 years ago

@grogy Most issues flagged by the new ruleset have been fixed, I just excluded some which are more easily fixed in the "test refactor" project (and I have commits lined up to address all of those, except the cyclomatic complexity ones)