Skip to content

Commit ec2ccf2

Browse files
author
cradu
committed
Fixed param usage
1 parent f34ae9e commit ec2ccf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Console/Commands/Hooks/BaseCodeAnalyzerPreCommitHook.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ protected function analizeCommittedFiles(Collection $commitFiles): self
236236
);
237237
$this->filesBadlyFormattedPaths[] = $filePath;
238238

239-
if (config('git-hooks.output_errors') && ! config('git-hooks.debug_commands')) {
239+
if (config('git-hooks.output_errors') && ! config('git-hooks.debug_output')) {
240240
$this->command->newLine();
241241
$this->command->getOutput()->write($process->getOutput());
242242
}
@@ -409,7 +409,7 @@ private function autoFixFiles(): bool
409409
sprintf('<fg=red> %s Autofix Failed:</> %s', $this->getName(), $filePath)
410410
);
411411

412-
if (config('git-hooks.output_errors') && ! config('git-hooks.debug_commands')) {
412+
if (config('git-hooks.output_errors') && ! config('git-hooks.debug_output')) {
413413
$this->command->newLine();
414414
$this->command->getOutput()->write($process->getOutput());
415415
}

0 commit comments

Comments
 (0)