PHP Class JonathanTorres\Construct\Helpers\Travis

Afficher le fichier Open project: jonathantorres/construct Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
toMinorVersion ( string $version ) : string Returns the minor version of the given version.

Method Details

phpVersionsToRun() public méthode

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
Résultat string

phpVersionsToTest() public méthode

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