/** * @return PreCommit */ public static function random() { return self::create(new Undefined(false), EnabledStub::random(), PreCommitExecuteStub::create(ComposerStub::random(), JsonLintStub::random(), PhpLintStub::random(), PhpMdStub::random(), PhpCsStub::random(), PhpCsFixerStub::random(), PhpUnitStub::random(), PhpUnitStrictCoverageStub::random(), PhpUnitGuardCoverageStub::random()), MessagesStub::random()); }