1 | <?php |
||
27 | class CommitMsg extends Hook |
||
28 | { |
||
29 | /** |
||
30 | * Hook to execute. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $hookName = 'commit-msg'; |
||
35 | |||
36 | /** |
||
37 | * Configure the command. |
||
38 | */ |
||
39 | 2 | protected function configure() |
|
44 | |||
45 | /** |
||
46 | * Read the commit message from file. |
||
47 | * |
||
48 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
49 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
50 | * @param \SebastianFeldmann\CaptainHook\Config $config |
||
51 | * @param \SebastianFeldmann\Git\Repository $repository |
||
52 | */ |
||
53 | protected function setup(InputInterface $input, OutputInterface $output, Config $config, Git\Repository $repository) |
||
57 | } |
||
58 |