/** * @return PreCommit */ public static function setUndefined() { return new PreCommit(new Undefined(true), new Enabled(false), PreCommitExecuteFactory::setUndefined(), MessagesFactory::setUndefined()); }
/** * @return PreCommit */ public static function createUndefined() { return self::create(new Undefined(true), new Enabled(false), PreCommitExecuteFactory::setUndefined(), MessagesStub::random()); }