-
Notifications
You must be signed in to change notification settings - Fork 3
ignore validator
Andrew Roslik edited this page Mar 11, 2016
·
1 revision
To skip validation of methods name just add PHPDoc block tag @skipCommitHookMethodNaming
like following:
/**
* My method
*
* @skipCommitHookMethodNaming myMethod
*/
protected function myMethod()
{
//...
}
Also you may skip validation fully for a particular code block:
//@startSkipCommitHooks
//some bad code or code which cannot be validated properly
$a=function($b){return $b};
//@finishSkipCommitHooks
Found an issue? Let's post it!.
- Test 1
- Test 2