/** * @return PreCommitResponse */ public static function createAllEnabled() { $bool = true; return self::create($bool, static::GOOD_JOB, static::FIX_YOUR_CODE, $bool, $bool, $bool, PhpMdResponseStub::createEnabled(), PhpCsResponseStub::createEnabled(), PhpCsFixerResponseStub::createEnabled(), PhpUnitResponseStub::createEnabled(), PhpUnitStrictCoverageResponseStub::createEnabled(), PhpUnitGuardCoverageResponseStub::createEnabled()); }
/** * @return PrePushResponse */ public static function createAllEnabled() { return new PrePushResponse(true, self::RIGHT_MESSAGE, self::ERROR_MESSAGE, PhpUnitResponseStub::createEnabled(), PhpUnitStrictCoverageResponseStub::createEnabled(), PhpUnitGuardCoverageResponseStub::createEnabled()); }