PHP Class spec\GrumPHP\Locator\ConfigurationFileSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: phpro/grumphp

Public Methods

Method Description
it_is_initializable ( )
it_should_always_return_absolute_paths ( Filesystem $filesystem, Composer\Package\PackageInterface $package )
it_should_fall_back_on_dist_file ( Filesystem $filesystem )
it_should_locate_config_file ( Filesystem $filesystem )
it_should_locate_config_file_on_empty_composer_configuration ( Filesystem $filesystem, Composer\Package\PackageInterface $package )
it_should_use_the_config_file_configured_in_the_composer_file ( Filesystem $filesystem, Composer\Package\PackageInterface $package )
it_should_use_the_config_file_configured_in_the_composer_file_and_fall_back_on_dist ( Filesystem $filesystem, Composer\Package\PackageInterface $package )
let ( Filesystem $filesystem )

Private Methods

Method Description
pathArgument ( $expected )
pathRegex ( $expected )

Method Details

it_is_initializable() public method

public it_is_initializable ( )

it_should_always_return_absolute_paths() public method

public it_should_always_return_absolute_paths ( Filesystem $filesystem, Composer\Package\PackageInterface $package )
$filesystem GrumPHP\Util\Filesystem
$package Composer\Package\PackageInterface

it_should_fall_back_on_dist_file() public method

public it_should_fall_back_on_dist_file ( Filesystem $filesystem )
$filesystem GrumPHP\Util\Filesystem

it_should_locate_config_file() public method

public it_should_locate_config_file ( Filesystem $filesystem )
$filesystem GrumPHP\Util\Filesystem

it_should_locate_config_file_on_empty_composer_configuration() public method

public it_should_locate_config_file_on_empty_composer_configuration ( Filesystem $filesystem, Composer\Package\PackageInterface $package )
$filesystem GrumPHP\Util\Filesystem
$package Composer\Package\PackageInterface

it_should_use_the_config_file_configured_in_the_composer_file() public method

public it_should_use_the_config_file_configured_in_the_composer_file ( Filesystem $filesystem, Composer\Package\PackageInterface $package )
$filesystem GrumPHP\Util\Filesystem
$package Composer\Package\PackageInterface

it_should_use_the_config_file_configured_in_the_composer_file_and_fall_back_on_dist() public method

public it_should_use_the_config_file_configured_in_the_composer_file_and_fall_back_on_dist ( Filesystem $filesystem, Composer\Package\PackageInterface $package )
$filesystem GrumPHP\Util\Filesystem
$package Composer\Package\PackageInterface

let() public method

public let ( Filesystem $filesystem )
$filesystem GrumPHP\Util\Filesystem