PHP Class GrumPHPTest\Linter\Yaml\YamlLinterTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: phpro/grumphp

Protected Properties

Property Type Description
$linter GrumPHP\Linter\Yaml\YamlLinter

Public Methods

Method Description
it_should_be_able_to_handle_object_support ( )
it_should_handle_exceptions_on_invalid_type ( )
it_should_validate_yaml_for_syntax_errors ( $fixture, $errors )
provideYamlValidation ( ) : array

Protected Methods

Method Description
setUp ( )

Private Methods

Method Description
getFixture ( string $fixture ) : SplFileInfo
validateFixture ( string $fixture, integer $errors )

Method Details

it_should_be_able_to_handle_object_support() public method

it_should_handle_exceptions_on_invalid_type() public method

it_should_validate_yaml_for_syntax_errors() public method

public it_should_validate_yaml_for_syntax_errors ( $fixture, $errors )

provideYamlValidation() public method

public provideYamlValidation ( ) : array
return array

setUp() protected method

protected setUp ( )

Property Details

$linter protected property

protected YamlLinter,GrumPHP\Linter\Yaml $linter
return GrumPHP\Linter\Yaml\YamlLinter