Skip to content

Commit 0243011

Browse files
committed
Option "--level" was replaced by "--rules" in v2 of PHP-CS-Fixer
Error: The "--level" option does not exist.
1 parent 4b6dbfb commit 0243011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpGitHooks/Module/PhpCsFixer/Infrastructure/Tool/PhpCsFixerToolProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private function processTool($file, $level, $options)
5252
'fix',
5353
$file,
5454
'--dry-run',
55-
'--level='.$level,
55+
'--rules='.$level,
5656
];
5757

5858
if (null !== $options) {

0 commit comments

Comments
 (0)