Skip to content

Commit

Permalink
acquia#4701: Add back PHP code sniffing in pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
brunodbo authored Sep 22, 2023
1 parent 2639321 commit 0e51b3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Robo/Commands/Internal/GitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public function preCommitHook($changed_files) {
$collection->addCode(
function () use ($changed_files) {
return $this->invokeCommands([
'validate:phpcs:staged' => [],
'validate:twig:lint:files' => ['file_list' => $changed_files],
'validate:yaml:lint:files' => ['file_list' => $changed_files],
]);
Expand Down

0 comments on commit 0e51b3e

Please sign in to comment.