From 7e62caed7573483963a3d0738393e19d352f9b54 Mon Sep 17 00:00:00 2001 From: Sink Date: Mon, 18 Nov 2024 01:42:37 +0800 Subject: [PATCH] fix: #22 pmd or phpmd --- src/LintCodeCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LintCodeCommand.php b/src/LintCodeCommand.php index bd6d069..4e4aa26 100644 --- a/src/LintCodeCommand.php +++ b/src/LintCodeCommand.php @@ -34,7 +34,7 @@ public function handle() $code = $this->call('lint:phpcs', [ 'files' => $this->argument('files'), '--fix' => $this->option('fix') ]); - $code += $this->call('lint:phpmd', [ + $code += $this->call('lint:pmd', [ 'files' => $this->argument('files') ]); return $code;