PHP Class PhpGitHooks\Module\Configuration\Contract\Response\PreCommitResponse

ファイルを表示 Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( boolean $preCommit, string $rightMessage, string $errorMessage, boolean $composer, boolean $jsonLint, boolean $phpLint, PhpMdResponse $phpMd, PhpCsResponse $phpCs, PhpCsFixerResponse $phpCsFixer, PhpUnitResponse $phpUnit, PhpUnitStrictCoverageResponse $phpUnitStrictCoverage, PhpUnitGuardCoverageResponse $phpUnitGuardCoverage ) PreCommitResponse constructor.
getErrorMessage ( ) : string
getPhpCs ( ) : PhpCsResponse
getPhpCsFixer ( ) : PhpCsFixerResponse
getPhpMd ( ) : PhpMdResponse
getPhpUnit ( ) : PhpUnitResponse
getPhpUnitGuardCoverage ( ) : PhpUnitGuardCoverageResponse
getPhpUnitStrictCoverage ( ) : PhpUnitStrictCoverageResponse
getRightMessage ( ) : string
isComposer ( ) : boolean
isJsonLint ( ) : boolean
isPhpLint ( ) : boolean
isPreCommit ( ) : boolean

Method Details

__construct() public method

PreCommitResponse constructor.
public __construct ( boolean $preCommit, string $rightMessage, string $errorMessage, boolean $composer, boolean $jsonLint, boolean $phpLint, PhpMdResponse $phpMd, PhpCsResponse $phpCs, PhpCsFixerResponse $phpCsFixer, PhpUnitResponse $phpUnit, PhpUnitStrictCoverageResponse $phpUnitStrictCoverage, PhpUnitGuardCoverageResponse $phpUnitGuardCoverage )
$preCommit boolean
$rightMessage string
$errorMessage string
$composer boolean
$jsonLint boolean
$phpLint boolean
$phpMd PhpMdResponse
$phpCs PhpCsResponse
$phpCsFixer PhpCsFixerResponse
$phpUnit PhpUnitResponse
$phpUnitStrictCoverage PhpUnitStrictCoverageResponse
$phpUnitGuardCoverage PhpUnitGuardCoverageResponse

getErrorMessage() public method

public getErrorMessage ( ) : string
return string

getPhpCs() public method

public getPhpCs ( ) : PhpCsResponse
return PhpCsResponse

getPhpCsFixer() public method

public getPhpCsFixer ( ) : PhpCsFixerResponse
return PhpCsFixerResponse

getPhpMd() public method

public getPhpMd ( ) : PhpMdResponse
return PhpMdResponse

getPhpUnit() public method

public getPhpUnit ( ) : PhpUnitResponse
return PhpUnitResponse

getPhpUnitGuardCoverage() public method

public getPhpUnitGuardCoverage ( ) : PhpUnitGuardCoverageResponse
return PhpUnitGuardCoverageResponse

getPhpUnitStrictCoverage() public method

public getPhpUnitStrictCoverage ( ) : PhpUnitStrictCoverageResponse
return PhpUnitStrictCoverageResponse

getRightMessage() public method

public getRightMessage ( ) : string
return string

isComposer() public method

public isComposer ( ) : boolean
return boolean

isJsonLint() public method

public isJsonLint ( ) : boolean
return boolean

isPhpLint() public method

public isPhpLint ( ) : boolean
return boolean

isPreCommit() public method

public isPreCommit ( ) : boolean
return boolean