PhpGitHooks\Module\Configuration\Tests\Stub\PhpCsResponseStub::createEnabled PHP Method

createEnabled() public static method

public static createEnabled ( ) : PhpCsResponse
return PhpGitHooks\Module\Configuration\Contract\Response\PhpCsResponse
    public static function createEnabled()
    {
        return self::create(true, self::STANDARD);
    }

Usage Example

 /**
  * @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());
 }
PhpCsResponseStub