PHP Class spec\PhpSpec\CodeAnalysis\TokenizedTypeHintRewriterSpec

Inheritance: extends PhpSpec\ObjectBehavior
Mostrar archivo Open project: phpspec/phpspec

Public Methods

Method Description
it_do_not_remove_typehints_of_non_spec_classes ( )
it_does_not_remove_typehints_in_methods ( )
it_indexes_invalid_typehints ( PhpSpec\Loader\Transformer\TypeHintIndex $typeHintIndex, PhpSpec\CodeAnalysis\NamespaceResolver $namespaceResolver )
it_indexes_typehints_that_are_removed ( PhpSpec\Loader\Transformer\TypeHintIndex $typeHintIndex, PhpSpec\CodeAnalysis\NamespaceResolver $namespaceResolver )
it_is_a_typehint_rewriter ( )
it_leaves_alone_specs_with_no_typehints ( )
it_preserves_line_numbers ( )
it_removes_typehints_for_multiple_arguments_in_methods ( )
it_removes_typehints_from_single_argument_methods ( )
let ( PhpSpec\Loader\Transformer\TypeHintIndex $typeHintIndex, PhpSpec\CodeAnalysis\NamespaceResolver $namespaceResolver )

Method Details

it_do_not_remove_typehints_of_non_spec_classes() public method

it_does_not_remove_typehints_in_methods() public method

it_indexes_invalid_typehints() public method

public it_indexes_invalid_typehints ( PhpSpec\Loader\Transformer\TypeHintIndex $typeHintIndex, PhpSpec\CodeAnalysis\NamespaceResolver $namespaceResolver )
$typeHintIndex PhpSpec\Loader\Transformer\TypeHintIndex
$namespaceResolver PhpSpec\CodeAnalysis\NamespaceResolver

it_indexes_typehints_that_are_removed() public method

public it_indexes_typehints_that_are_removed ( PhpSpec\Loader\Transformer\TypeHintIndex $typeHintIndex, PhpSpec\CodeAnalysis\NamespaceResolver $namespaceResolver )
$typeHintIndex PhpSpec\Loader\Transformer\TypeHintIndex
$namespaceResolver PhpSpec\CodeAnalysis\NamespaceResolver

it_is_a_typehint_rewriter() public method

it_leaves_alone_specs_with_no_typehints() public method

it_preserves_line_numbers() public method

it_removes_typehints_for_multiple_arguments_in_methods() public method

it_removes_typehints_from_single_argument_methods() public method

let() public method

public let ( PhpSpec\Loader\Transformer\TypeHintIndex $typeHintIndex, PhpSpec\CodeAnalysis\NamespaceResolver $namespaceResolver )
$typeHintIndex PhpSpec\Loader\Transformer\TypeHintIndex
$namespaceResolver PhpSpec\CodeAnalysis\NamespaceResolver