1 | <?php |
||
28 | class PrepareCommitMsg extends Hook |
||
29 | { |
||
30 | /** |
||
31 | * Hook to execute |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | protected $hookName = Hooks::PREPARE_COMMIT_MSG; |
||
36 | |||
37 | /** |
||
38 | * Configure the command. |
||
39 | */ |
||
40 | 1 | protected function configure() |
|
47 | /** |
||
48 | * Read the commit message from file. |
||
49 | * |
||
50 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
51 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
52 | * @param \CaptainHook\App\Config $config |
||
53 | * @param \SebastianFeldmann\Git\Repository $repository |
||
54 | */ |
||
55 | 1 | protected function setup(InputInterface $input, OutputInterface $output, Config $config, Git\Repository $repository) |
|
59 | } |
||
60 |