Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 316 Bytes

test-code.md

File metadata and controls

18 lines (15 loc) · 316 Bytes

Back to top

Test code before commit

You may test your code before commit by the command:

$ commithook test

Checking

Let's test.

$ echo '<?php echo 111; is_null(null);' > test.php
$ git add test.php
$ commithook test

And take a look at errors list.

Back to top