Closed jrfnl closed 2 years ago
I prefer fix incorrect code with changing ruleset, but it is my personal preference. Thank you, merged :-)
@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)
PHPCS: use PHP-Code-Style 2.0
php-parallel-lint/php-code-style
at 2.0 or higher.Ruleset: update for PHP-Code-Style 2.0
testVersion
for use with PHPCompatibility.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.