Skip to content

Commit 877cc5b

Browse files
committed
Fix output message for PHP-CS-FIXER
1 parent 950e8d3 commit 877cc5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PhpGitHooks/Module/PhpCsFixer/Contract/Command/PhpCsFixerToolHandler.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ private function execute(array $files, $psr0, $psr1, $psr2, $symfony, $options,
7171
*/
7272
private function executeTool(array $files, $level, $options, $errorMessage)
7373
{
74-
$outputMessage = new PreCommitOutputWriter(sprintf('Checking %s code style with PHP-CS-FIXER', $level));
74+
$outputMessage = new PreCommitOutputWriter(
75+
sprintf('Checking %s code style with PHP-CS-FIXER', str_replace('@', '', $level))
76+
);
7577
$this->output->write($outputMessage->getMessage());
7678

7779
$errors = [];

0 commit comments

Comments
 (0)