PHP Class JonathanTorres\Construct\Helpers\Travis

ファイルを表示 Open project: jonathantorres/construct Class Usage Examples

Public Methods

Method Description
phpVersionsToRun ( array $phpVersions, boolean $setLintEnvironmentVariable = false ) : string Generate string that specifies the php versions that will be run on travis.
phpVersionsToTest ( string $projectPhpVersion ) : array Get project php versions that will be run on travis ci.

Private Methods

Method Description
toMinorVersion ( string $version ) : string Returns the minor version of the given version.

Method Details

phpVersionsToRun() public method

Generate string that specifies the php versions that will be run on travis.
public phpVersionsToRun ( array $phpVersions, boolean $setLintEnvironmentVariable = false ) : string
$phpVersions array
$setLintEnvironmentVariable boolean
return string

phpVersionsToTest() public method

Get project php versions that will be run on travis ci.
public phpVersionsToTest ( string $projectPhpVersion ) : array
$projectPhpVersion string
return array