Skip to content

Commit

Permalink
Fixed param usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cradu committed Apr 23, 2024
1 parent f34ae9e commit ec2ccf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/Commands/Hooks/BaseCodeAnalyzerPreCommitHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ protected function analizeCommittedFiles(Collection $commitFiles): self
);
$this->filesBadlyFormattedPaths[] = $filePath;

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

if (config('git-hooks.output_errors') && ! config('git-hooks.debug_commands')) {
if (config('git-hooks.output_errors') && ! config('git-hooks.debug_output')) {
$this->command->newLine();
$this->command->getOutput()->write($process->getOutput());
}
Expand Down

0 comments on commit ec2ccf2

Please sign in to comment.