SYMBOL INDEX (1433 symbols across 226 files) FILE: fixtures/AbstractBaseClassWithMethodWithReturnType.php class AbstractBaseClassWithMethodWithReturnType (line 7) | abstract class AbstractBaseClassWithMethodWithReturnType method returnSelf (line 9) | public function returnSelf(?\DateTimeInterface $test): self FILE: fixtures/ClassExtendAbstractWithMethodWithReturnType.php class ClassExtendAbstractWithMethodWithReturnType (line 7) | class ClassExtendAbstractWithMethodWithReturnType extends AbstractBaseCl... FILE: fixtures/DnfArgumentType.php class DnfArgumentType (line 5) | class DnfArgumentType method doSomething (line 7) | public function doSomething ((A&B)|C $foo) FILE: fixtures/DnfReturnType.php class DnfReturnType (line 5) | class DnfReturnType method doSomething (line 7) | public function doSomething () : (A&B)|C FILE: fixtures/EmptyClass.php class EmptyClass (line 5) | class EmptyClass FILE: fixtures/EmptyInterface.php type EmptyInterface (line 5) | interface EmptyInterface FILE: fixtures/FinalClass.php class FinalClass (line 5) | final class FinalClass FILE: fixtures/IntersectionArgumentType.php class IntersectionArgumentType (line 5) | class IntersectionArgumentType method doSomething (line 7) | public function doSomething (Bar&Baz $foo) FILE: fixtures/IntersectionReturnType.php class IntersectionReturnType (line 5) | class IntersectionReturnType method doSomething (line 7) | public function doSomething () : Bar&Baz FILE: fixtures/MethodWithAdditionalParam.php class MethodWithAdditionalParam (line 5) | abstract class MethodWithAdditionalParam extends WithArguments implement... method getName (line 7) | abstract public function getName($name = null); method methodWithoutTypeHints (line 9) | public function methodWithoutTypeHints($arg, $arg2 = null) FILE: fixtures/MixedTypes.php class MixedTypes (line 5) | class MixedTypes method doSomething (line 7) | public function doSomething(mixed $arg1): mixed FILE: fixtures/ModifierInterface.php type ModifierInterface (line 5) | interface ModifierInterface method isAbstract (line 7) | public function isAbstract(); method getVisibility (line 9) | public function getVisibility(); FILE: fixtures/Named.php type Named (line 5) | interface Named method getName (line 7) | public function getName(); FILE: fixtures/NeverType.php class NeverType (line 5) | class NeverType method doSomething (line 7) | public function doSomething(): never FILE: fixtures/NullableArrayParameter.php class NullableArrayParameter (line 5) | class NullableArrayParameter method iHaveNullableArrayParameterWithNotNullDefaultValue (line 7) | public function iHaveNullableArrayParameterWithNotNullDefaultValue(?ar... FILE: fixtures/NullableParameterTypeFalse.php class NullableParameterTypeFalse (line 5) | class NullableParameterTypeFalse method method (line 7) | public function method(?false $arg) FILE: fixtures/NullableParameterTypeTrue.php class NullableParameterTypeTrue (line 5) | class NullableParameterTypeTrue method method (line 7) | public function method(?true $arg) FILE: fixtures/NullableReturnTypeFalse.php class NullableReturnTypeFalse (line 5) | class NullableReturnTypeFalse method method (line 7) | public function method(): ?false FILE: fixtures/NullableReturnTypeTrue.php class NullableReturnTypeTrue (line 5) | class NullableReturnTypeTrue method method (line 7) | public function method(): ?true FILE: fixtures/OptionalDepsClass.php class OptionalDepsClass (line 7) | class OptionalDepsClass method iHaveAStrangeTypeHintedArg (line 9) | public function iHaveAStrangeTypeHintedArg(\I\Simply\Am\Nonexistent $c... method iHaveAnEvenStrangerTypeHintedArg (line 13) | public function iHaveAnEvenStrangerTypeHintedArg(Simply\Am\Not $class) FILE: fixtures/ReadOnlyClass.php class ReadOnlyClass (line 5) | readonly class ReadOnlyClass FILE: fixtures/ReturningFinalClass.php type ReturningFinalClass (line 5) | interface ReturningFinalClass method doSomething (line 7) | public function doSomething(): FinalClass; FILE: fixtures/SelfReferencing.php type SelfReferencing (line 5) | interface SelfReferencing method __invoke (line 7) | public function __invoke(self $self): self; FILE: fixtures/SpecialMethods.php class SpecialMethods (line 5) | class SpecialMethods method __construct (line 7) | public function __construct() method __destruct (line 11) | function __destruct() method __call (line 15) | function __call($name, $arguments) method __sleep (line 19) | function __sleep() method __wakeup (line 23) | function __wakeup() method __toString (line 27) | function __toString() method __invoke (line 32) | function __invoke() FILE: fixtures/StandaloneParameterTypeFalse.php class StandaloneParameterTypeFalse (line 5) | class StandaloneParameterTypeFalse method method (line 7) | public function method(false $arg) FILE: fixtures/StandaloneParameterTypeNull.php class StandaloneParameterTypeNull (line 5) | class StandaloneParameterTypeNull method method (line 7) | public function method(null $arg) FILE: fixtures/StandaloneParameterTypeTrue.php class StandaloneParameterTypeTrue (line 5) | class StandaloneParameterTypeTrue method method (line 7) | public function method(true $arg) FILE: fixtures/StandaloneReturnTypeFalse.php class StandaloneReturnTypeFalse (line 5) | class StandaloneReturnTypeFalse method method (line 7) | public function method(): false FILE: fixtures/StandaloneReturnTypeNull.php class StandaloneReturnTypeNull (line 5) | class StandaloneReturnTypeNull method method (line 7) | public function method(): null FILE: fixtures/StandaloneReturnTypeTrue.php class StandaloneReturnTypeTrue (line 5) | class StandaloneReturnTypeTrue method method (line 7) | public function method(): true FILE: fixtures/TentativeReturnTypeNull.php class TentativeReturnTypeNull (line 5) | class TentativeReturnTypeNull method method (line 7) | #[\ReturnTypeWillChange()] FILE: fixtures/ThrowableInterface.php type ThrowableInterface (line 5) | interface ThrowableInterface extends \Throwable FILE: fixtures/UnionArgumentTypeFalse.php class UnionArgumentTypeFalse (line 5) | class UnionArgumentTypeFalse method method (line 7) | public function method(false|\stdClass $arg) FILE: fixtures/UnionArgumentTypes.php class UnionArgumentTypes (line 5) | class UnionArgumentTypes method doSomething (line 7) | public function doSomething(bool|\stdClass $arg) FILE: fixtures/UnionReturnTypeFalse.php class UnionReturnTypeFalse (line 5) | class UnionReturnTypeFalse method method (line 7) | public function method(): false|\stdClass FILE: fixtures/UnionReturnTypes.php class UnionReturnTypes (line 5) | class UnionReturnTypes method doSomething (line 7) | public function doSomething(): bool|\stdClass FILE: fixtures/WithArguments.php class WithArguments (line 5) | class WithArguments method methodWithArgs (line 7) | public function methodWithArgs(\ArrayAccess $arg_1, array $arg_2 = [],... method methodWithoutTypeHints (line 11) | public function methodWithoutTypeHints($arg) FILE: fixtures/WithCallableArgument.php class WithCallableArgument (line 5) | class WithCallableArgument method methodWithArgs (line 7) | public function methodWithArgs(callable $arg_1, ?callable $arg_2 = null) FILE: fixtures/WithFinalMethod.php class WithFinalMethod (line 5) | class WithFinalMethod method finalImplementation (line 7) | final public function finalImplementation() FILE: fixtures/WithFinalVirtuallyPrivateMethod.php class WithFinalVirtuallyPrivateMethod (line 5) | class WithFinalVirtuallyPrivateMethod method __toString (line 7) | final public function __toString() method _getName (line 12) | final public function _getName() FILE: fixtures/WithPhpdocClass.php class WithPhpdocClass (line 10) | class WithPhpdocClass method __call (line 12) | public function __call($name, $arguments) FILE: fixtures/WithProtectedAbstractMethod.php class WithProtectedAbstractMethod (line 5) | abstract class WithProtectedAbstractMethod method innerDetail (line 7) | abstract protected function innerDetail(); FILE: fixtures/WithReferences.php class WithReferences (line 5) | class WithReferences method methodWithReferenceArgument (line 7) | public function methodWithReferenceArgument(&$arg_1, \ArrayAccess &$ar... FILE: fixtures/WithReturnTypehints.php class WithReturnTypehints (line 5) | class WithReturnTypehints extends EmptyClass method getSelf (line 7) | public function getSelf(): self { method getName (line 11) | public function getName(): string { method getParent (line 15) | public function getParent(): parent { FILE: fixtures/WithStaticMethod.php class WithStaticMethod (line 5) | class WithStaticMethod method innerDetail (line 7) | public static function innerDetail() FILE: fixtures/WithTypehintedVariadicArgument.php class WithTypehintedVariadicArgument (line 5) | class WithTypehintedVariadicArgument method methodWithTypeHintedArgs (line 7) | function methodWithTypeHintedArgs(array ...$args) FILE: fixtures/WithVariadicArgument.php class WithVariadicArgument (line 5) | class WithVariadicArgument method methodWithArgs (line 7) | function methodWithArgs(...$args) FILE: fixtures/WithVirtuallyPrivateMethod.php class WithVirtuallyPrivateMethod (line 5) | class WithVirtuallyPrivateMethod method __toString (line 7) | public function __toString() method _getName (line 12) | public function _getName() method isAbstract (line 16) | public function isAbstract() FILE: spec/Prophecy/Argument/ArgumentsWildcardSpec.php class ArgumentsWildcardSpec (line 8) | class ArgumentsWildcardSpec extends ObjectBehavior method it_wraps_non_token_arguments_into_ExactValueToken (line 10) | function it_wraps_non_token_arguments_into_ExactValueToken(\stdClass $... method it_generates_string_representation_from_all_tokens_imploded (line 23) | function it_generates_string_representation_from_all_tokens_imploded( method it_exposes_list_of_tokens (line 36) | function it_exposes_list_of_tokens(TokenInterface $token) method it_returns_score_of_1_if_there_are_no_tokens_and_arguments (line 43) | function it_returns_score_of_1_if_there_are_no_tokens_and_arguments() method it_should_return_match_score_based_on_all_tokens_score (line 50) | function it_should_return_match_score_based_on_all_tokens_score( method it_returns_false_if_there_is_less_arguments_than_tokens (line 66) | function it_returns_false_if_there_is_less_arguments_than_tokens( method it_returns_false_if_there_is_less_tokens_than_arguments (line 82) | function it_returns_false_if_there_is_less_tokens_than_arguments( method it_should_return_false_if_one_of_the_tokens_returns_false (line 98) | function it_should_return_false_if_one_of_the_tokens_returns_false( method it_should_calculate_score_until_last_token (line 114) | function it_should_calculate_score_until_last_token( FILE: spec/Prophecy/Argument/Token/AnyValueTokenSpec.php class AnyValueTokenSpec (line 7) | class AnyValueTokenSpec extends ObjectBehavior method it_implements_TokenInterface (line 9) | function it_implements_TokenInterface() method it_is_not_last (line 14) | function it_is_not_last() method its_string_representation_is_star (line 19) | function its_string_representation_is_star() method it_scores_any_argument_as_3 (line 24) | function it_scores_any_argument_as_3() FILE: spec/Prophecy/Argument/Token/AnyValuesTokenSpec.php class AnyValuesTokenSpec (line 7) | class AnyValuesTokenSpec extends ObjectBehavior method it_implements_TokenInterface (line 9) | function it_implements_TokenInterface() method it_is_last (line 14) | function it_is_last() method its_string_representation_is_star_with_followup (line 19) | function its_string_representation_is_star_with_followup() method it_scores_any_argument_as_2 (line 24) | function it_scores_any_argument_as_2() FILE: spec/Prophecy/Argument/Token/ApproximateValueTokenSpec.php class ApproximateValueTokenSpec (line 7) | class ApproximateValueTokenSpec extends ObjectBehavior method let (line 9) | function let() method it_is_initializable (line 14) | function it_is_initializable() method it_implements_TokenInterface (line 19) | function it_implements_TokenInterface() method it_is_not_last (line 24) | function it_is_not_last() method it_scores_10_if_rounded_argument_matches_rounded_value (line 29) | function it_scores_10_if_rounded_argument_matches_rounded_value() method it_does_not_score_if_rounded_argument_does_not_match_rounded_value (line 34) | function it_does_not_score_if_rounded_argument_does_not_match_rounded_... method it_uses_a_default_precision_of_zero (line 39) | function it_uses_a_default_precision_of_zero() method it_does_not_score_if_rounded_argument_is_not_numeric (line 45) | function it_does_not_score_if_rounded_argument_is_not_numeric() method it_has_simple_string_representation (line 52) | function it_has_simple_string_representation() FILE: spec/Prophecy/Argument/Token/ArrayCountTokenSpec.php class ArrayCountTokenSpec (line 7) | class ArrayCountTokenSpec extends ObjectBehavior method let (line 9) | function let() method it_implements_TokenInterface (line 14) | function it_implements_TokenInterface() method it_is_not_last (line 19) | function it_is_not_last() method it_scores_6_if_argument_array_has_proper_count (line 24) | function it_scores_6_if_argument_array_has_proper_count() method it_scores_6_if_argument_countable_object_has_proper_count (line 29) | function it_scores_6_if_argument_countable_object_has_proper_count(\Co... method it_does_not_score_if_argument_is_neither_array_nor_countable_object (line 35) | function it_does_not_score_if_argument_is_neither_array_nor_countable_... method it_does_not_score_if_argument_array_has_wrong_count (line 42) | function it_does_not_score_if_argument_array_has_wrong_count() method it_does_not_score_if_argument_countable_object_has_wrong_count (line 47) | function it_does_not_score_if_argument_countable_object_has_wrong_coun... method it_has_simple_string_representation (line 53) | function it_has_simple_string_representation() FILE: spec/Prophecy/Argument/Token/ArrayEntryTokenSpec.php class ArrayEntryTokenSpec (line 10) | class ArrayEntryTokenSpec extends ObjectBehavior method let (line 12) | function let(TokenInterface $key, TokenInterface $value) method it_implements_TokenInterface (line 17) | function it_implements_TokenInterface() method it_is_not_last (line 22) | function it_is_not_last() method it_holds_key_and_value (line 27) | function it_holds_key_and_value($key, $value) method its_string_representation_tells_that_its_an_array_containing_the_key_value_pair (line 33) | function its_string_representation_tells_that_its_an_array_containing_... method it_wraps_non_token_value_into_ExactValueToken (line 40) | function it_wraps_non_token_value_into_ExactValueToken(TokenInterface ... method it_wraps_non_token_key_into_ExactValueToken (line 46) | function it_wraps_non_token_key_into_ExactValueToken(\stdClass $object... method it_scores_array_half_of_combined_scores_from_key_and_value_tokens (line 52) | function it_scores_array_half_of_combined_scores_from_key_and_value_to... method it_scores_traversable_object_half_of_combined_scores_from_key_and_value_tokens (line 59) | function it_scores_traversable_object_half_of_combined_scores_from_key... method it_throws_exception_during_scoring_of_array_accessible_object_if_key_is_not_ExactValueToken (line 78) | function it_throws_exception_during_scoring_of_array_accessible_object... method it_scores_array_accessible_object_half_of_combined_scores_from_key_and_value_tokens (line 90) | function it_scores_array_accessible_object_half_of_combined_scores_fro... method it_accepts_any_key_token_type_to_score_object_that_is_both_traversable_and_array_accessible (line 103) | function it_accepts_any_key_token_type_to_score_object_that_is_both_tr... method it_does_not_score_if_argument_is_neither_array_nor_traversable_nor_array_accessible (line 121) | function it_does_not_score_if_argument_is_neither_array_nor_traversabl... method it_does_not_score_empty_array (line 127) | function it_does_not_score_empty_array() method it_does_not_score_array_if_key_and_value_tokens_do_not_score_same_entry (line 132) | function it_does_not_score_array_if_key_and_value_tokens_do_not_score_... method it_does_not_score_traversable_object_without_entries (line 142) | function it_does_not_score_traversable_object_without_entries(\Iterato... method it_does_not_score_traversable_object_if_key_and_value_tokens_do_not_score_same_entry (line 150) | function it_does_not_score_traversable_object_if_key_and_value_tokens_... method it_does_not_score_array_accessible_object_if_it_has_no_offset_with_key_token_value (line 173) | function it_does_not_score_array_accessible_object_if_it_has_no_offset... method it_does_not_score_array_accessible_object_if_key_and_value_tokens_do_not_score_same_entry (line 182) | function it_does_not_score_array_accessible_object_if_key_and_value_to... method its_score_is_capped_at_8 (line 195) | function its_score_is_capped_at_8($key, $value) FILE: spec/Prophecy/Argument/Token/ArrayEveryEntryTokenSpec.php class ArrayEveryEntryTokenSpec (line 8) | class ArrayEveryEntryTokenSpec extends ObjectBehavior method let (line 10) | function let(TokenInterface $value) method it_implements_TokenInterface (line 15) | function it_implements_TokenInterface() method it_is_not_last (line 20) | function it_is_not_last() method it_holds_value (line 25) | function it_holds_value($value) method its_string_representation_tells_that_its_an_array_containing_only_value (line 30) | function its_string_representation_tells_that_its_an_array_containing_... method it_wraps_non_token_value_into_ExactValueToken (line 36) | function it_wraps_non_token_value_into_ExactValueToken(\stdClass $stdC... method it_does_not_score_if_argument_is_neither_array_nor_traversable (line 42) | function it_does_not_score_if_argument_is_neither_array_nor_traversable() method it_does_not_score_empty_array (line 48) | function it_does_not_score_empty_array() method it_does_not_score_traversable_object_without_entries (line 53) | function it_does_not_score_traversable_object_without_entries(\Iterato... method it_scores_avg_of_scores_from_value_tokens (line 61) | function it_scores_avg_of_scores_from_value_tokens($value) method it_scores_false_if_entry_scores_false (line 68) | function it_scores_false_if_entry_scores_false($value) method it_does_not_score_array_keys (line 75) | function it_does_not_score_array_keys($value) method it_scores_traversable_object_from_value_token (line 82) | function it_scores_traversable_object_from_value_token(TokenInterface ... FILE: spec/Prophecy/Argument/Token/CallbackTokenSpec.php class CallbackTokenSpec (line 7) | class CallbackTokenSpec extends ObjectBehavior method let (line 9) | function let() method it_implements_TokenInterface (line 14) | function it_implements_TokenInterface() method it_is_not_last (line 19) | function it_is_not_last() method it_scores_7_if_argument_matches_callback (line 24) | function it_scores_7_if_argument_matches_callback() method it_does_not_scores_if_argument_does_not_match_callback (line 31) | function it_does_not_scores_if_argument_does_not_match_callback() method its_string_representation_should_tell_that_its_callback (line 38) | function its_string_representation_should_tell_that_its_callback() method its_string_representation_can_be_customized (line 43) | function its_string_representation_can_be_customized() FILE: spec/Prophecy/Argument/Token/ExactValueTokenSpec.php class ExactValueTokenSpec (line 7) | class ExactValueTokenSpec extends ObjectBehavior method let (line 9) | function let() method it_implements_TokenInterface (line 14) | function it_implements_TokenInterface() method it_is_not_last (line 19) | function it_is_not_last() method it_holds_value (line 24) | function it_holds_value() method it_scores_10_if_value_is_equal_to_argument (line 29) | function it_scores_10_if_value_is_equal_to_argument() method it_scores_10_if_value_is_an_object_and_equal_to_argument (line 35) | function it_scores_10_if_value_is_an_object_and_equal_to_argument() method it_scores_10_if_value_is_a_double_object_and_equal_to_argument (line 44) | function it_scores_10_if_value_is_a_double_object_and_equal_to_argumen... method it_does_not_scores_if_value_is_not_equal_to_argument (line 52) | function it_does_not_scores_if_value_is_not_equal_to_argument() method it_does_not_scores_if_value_an_object_and_is_not_equal_to_argument (line 58) | function it_does_not_scores_if_value_an_object_and_is_not_equal_to_arg... method it_does_not_scores_if_value_type_and_is_not_equal_to_argument (line 67) | function it_does_not_scores_if_value_type_and_is_not_equal_to_argument() method it_generates_proper_string_representation_for_integer (line 73) | function it_generates_proper_string_representation_for_integer() method it_generates_proper_string_representation_for_string (line 79) | function it_generates_proper_string_representation_for_string() method it_generates_single_line_representation_for_multiline_string (line 85) | function it_generates_single_line_representation_for_multiline_string() method it_generates_proper_string_representation_for_double (line 91) | function it_generates_proper_string_representation_for_double() method it_generates_proper_string_representation_for_boolean_true (line 97) | function it_generates_proper_string_representation_for_boolean_true() method it_generates_proper_string_representation_for_boolean_false (line 103) | function it_generates_proper_string_representation_for_boolean_false() method it_generates_proper_string_representation_for_null (line 109) | function it_generates_proper_string_representation_for_null() method it_generates_proper_string_representation_for_empty_array (line 115) | function it_generates_proper_string_representation_for_empty_array() method it_generates_proper_string_representation_for_array (line 121) | function it_generates_proper_string_representation_for_array() method it_generates_proper_string_representation_for_resource (line 127) | function it_generates_proper_string_representation_for_resource() method it_generates_proper_string_representation_for_object (line 134) | function it_generates_proper_string_representation_for_object(\stdClas... method it_scores_10_if_value_an_numeric_and_equal_to_argument_as_stringable (line 147) | function it_scores_10_if_value_an_numeric_and_equal_to_argument_as_str... method it_does_not_scores_if_value_an_numeric_and_equal_to_argument_as_stringable (line 156) | function it_does_not_scores_if_value_an_numeric_and_equal_to_argument_... method it_does_not_scores_if_value_an_object_and_not_equal_to_argument_object (line 165) | function it_does_not_scores_if_value_an_object_and_not_equal_to_argume... class ExactValueTokenFixtureA (line 175) | class ExactValueTokenFixtureA class ExactValueTokenFixtureB (line 180) | class ExactValueTokenFixtureB extends ExactValueTokenFixtureA method __construct (line 185) | public function __construct($value) class ExactValueTokenC (line 191) | class ExactValueTokenC method __construct (line 194) | public function __construct($value) method __toString (line 199) | public function __toString() FILE: spec/Prophecy/Argument/Token/IdenticalValueTokenSpec.php class IdenticalValueTokenSpec (line 7) | class IdenticalValueTokenSpec extends ObjectBehavior method let (line 9) | function let() method it_is_initializable (line 14) | function it_is_initializable() method it_scores_11_if_string_value_is_identical_to_argument (line 19) | function it_scores_11_if_string_value_is_identical_to_argument() method it_scores_11_if_boolean_value_is_identical_to_argument (line 25) | function it_scores_11_if_boolean_value_is_identical_to_argument() method it_scores_11_if_integer_value_is_identical_to_argument (line 31) | function it_scores_11_if_integer_value_is_identical_to_argument() method it_scores_11_if_float_value_is_identical_to_argument (line 37) | function it_scores_11_if_float_value_is_identical_to_argument() method it_scores_11_if_array_value_is_identical_to_argument (line 43) | function it_scores_11_if_array_value_is_identical_to_argument() method it_scores_11_if_object_value_is_identical_to_argument (line 49) | function it_scores_11_if_object_value_is_identical_to_argument() method it_scores_false_if_value_is_not_identical_to_argument (line 57) | function it_scores_false_if_value_is_not_identical_to_argument() method it_scores_false_if_object_value_is_not_the_same_instance_than_argument (line 63) | function it_scores_false_if_object_value_is_not_the_same_instance_than... method it_scores_false_if_integer_value_is_not_identical_to_boolean_argument (line 69) | function it_scores_false_if_integer_value_is_not_identical_to_boolean_... method it_is_not_last (line 75) | function it_is_not_last() method it_generates_proper_string_representation_for_integer (line 80) | function it_generates_proper_string_representation_for_integer() method it_generates_proper_string_representation_for_string (line 86) | function it_generates_proper_string_representation_for_string() method it_generates_single_line_representation_for_multiline_string (line 92) | function it_generates_single_line_representation_for_multiline_string() method it_generates_proper_string_representation_for_double (line 98) | function it_generates_proper_string_representation_for_double() method it_generates_proper_string_representation_for_boolean_true (line 104) | function it_generates_proper_string_representation_for_boolean_true() method it_generates_proper_string_representation_for_boolean_false (line 110) | function it_generates_proper_string_representation_for_boolean_false() method it_generates_proper_string_representation_for_null (line 116) | function it_generates_proper_string_representation_for_null() method it_generates_proper_string_representation_for_empty_array (line 122) | function it_generates_proper_string_representation_for_empty_array() method it_generates_proper_string_representation_for_array (line 128) | function it_generates_proper_string_representation_for_array() method it_generates_proper_string_representation_for_resource (line 134) | function it_generates_proper_string_representation_for_resource() method it_generates_proper_string_representation_for_object (line 141) | function it_generates_proper_string_representation_for_object($object) FILE: spec/Prophecy/Argument/Token/InArrayTokenSpec.php class InArrayTokenSpec (line 7) | class InArrayTokenSpec extends ObjectBehavior method it_implements_TokenInterface (line 9) | function it_implements_TokenInterface() method it_is_not_last (line 15) | function it_is_not_last() method it_scores_8_if_argument_is_in_array (line 21) | function it_scores_8_if_argument_is_in_array() method it_scores_false_if_argument_is_not_in_array (line 27) | function it_scores_false_if_argument_is_not_in_array() method it_generates_array_in_string_format (line 33) | function it_generates_array_in_string_format() method it_generates_an_empty_array_as_string_when_token_is_empty (line 39) | function it_generates_an_empty_array_as_string_when_token_is_empty() FILE: spec/Prophecy/Argument/Token/LogicalAndTokenSpec.php class LogicalAndTokenSpec (line 8) | class LogicalAndTokenSpec extends ObjectBehavior method it_implements_TokenInterface (line 10) | function it_implements_TokenInterface() method it_is_not_last (line 16) | function it_is_not_last() method it_generates_string_representation_from_all_tokens_imploded (line 22) | function it_generates_string_representation_from_all_tokens_imploded( method it_wraps_non_token_arguments_into_ExactValueToken (line 35) | function it_wraps_non_token_arguments_into_ExactValueToken() method it_scores_the_maximum_score_from_all_scores_returned_by_tokens (line 41) | function it_scores_the_maximum_score_from_all_scores_returned_by_token... method it_does_not_score_if_there_are_no_arguments_or_tokens (line 49) | function it_does_not_score_if_there_are_no_arguments_or_tokens() method it_does_not_score_if_either_of_tokens_does_not_score (line 55) | function it_does_not_score_if_either_of_tokens_does_not_score(TokenInt... FILE: spec/Prophecy/Argument/Token/LogicalNotTokenSpec.php class LogicalNotTokenSpec (line 8) | class LogicalNotTokenSpec extends ObjectBehavior method let (line 10) | function let(TokenInterface $token) method it_implements_TokenInterface (line 15) | function it_implements_TokenInterface() method it_holds_originating_token (line 20) | function it_holds_originating_token($token) method it_has_simple_string_representation (line 25) | function it_has_simple_string_representation($token) method it_wraps_non_token_argument_into_ExactValueToken (line 31) | function it_wraps_non_token_argument_into_ExactValueToken() method it_scores_4_if_preset_token_does_not_match_the_argument (line 39) | function it_scores_4_if_preset_token_does_not_match_the_argument($token) method it_does_not_score_if_preset_token_matches_argument (line 45) | function it_does_not_score_if_preset_token_matches_argument($token) method it_is_last_if_preset_token_is_last (line 51) | function it_is_last_if_preset_token_is_last($token) method it_is_not_last_if_preset_token_is_not_last (line 57) | function it_is_not_last_if_preset_token_is_not_last($token) FILE: spec/Prophecy/Argument/Token/NotInArrayTokenSpec.php class NotInArrayTokenSpec (line 7) | class NotInArrayTokenSpec extends ObjectBehavior method it_implements_TokenInterface (line 9) | function it_implements_TokenInterface() method it_is_not_last (line 15) | function it_is_not_last() method it_scores_8_if_argument_is_not_in_array (line 21) | function it_scores_8_if_argument_is_not_in_array() method it_scores_false_if_argument_is_in_array (line 27) | function it_scores_false_if_argument_is_in_array() method it_generates_array_in_string_format (line 33) | function it_generates_array_in_string_format() method it_generates_an_empty_array_as_string_when_token_is_empty (line 39) | function it_generates_an_empty_array_as_string_when_token_is_empty() FILE: spec/Prophecy/Argument/Token/ObjectStateTokenSpec.php class ObjectStateTokenSpec (line 7) | class ObjectStateTokenSpec extends ObjectBehavior method let (line 9) | function let() method it_implements_TokenInterface (line 14) | function it_implements_TokenInterface() method it_is_not_last (line 19) | function it_is_not_last() method it_scores_8_if_argument_object_has_specific_method_state (line 24) | function it_scores_8_if_argument_object_has_specific_method_state(\Ref... method it_scores_8_if_argument_object_has_specific_property_state (line 31) | function it_scores_8_if_argument_object_has_specific_property_state(\s... method it_does_not_score_if_argument_method_state_does_not_match (line 38) | function it_does_not_score_if_argument_method_state_does_not_match() method it_does_not_score_if_argument_property_state_does_not_match (line 47) | function it_does_not_score_if_argument_property_state_does_not_match(\... method it_does_not_score_if_argument_object_does_not_have_method_or_property (line 54) | function it_does_not_score_if_argument_object_does_not_have_method_or_... method it_does_not_score_if_argument_is_not_object (line 59) | function it_does_not_score_if_argument_is_not_object() method it_has_simple_string_representation (line 64) | function it_has_simple_string_representation() class ObjectStateTokenFixtureA (line 70) | class ObjectStateTokenFixtureA class ObjectStateTokenFixtureB (line 75) | class ObjectStateTokenFixtureB extends ObjectStateTokenFixtureA method __construct (line 80) | public function __construct($value) method getSelf (line 85) | public function getSelf() FILE: spec/Prophecy/Argument/Token/StringContainsTokenSpec.php class StringContainsTokenSpec (line 7) | class StringContainsTokenSpec extends ObjectBehavior method let (line 9) | function let() method it_is_initializable (line 14) | function it_is_initializable() method it_implements_TokenInterface (line 19) | function it_implements_TokenInterface() method it_holds_value (line 24) | function it_holds_value() method it_is_not_last (line 29) | function it_is_not_last() method it_scores_6_if_the_argument_contains_the_value (line 34) | function it_scores_6_if_the_argument_contains_the_value() method it_does_not_score_if_the_argument_does_not_contain_the_value (line 39) | function it_does_not_score_if_the_argument_does_not_contain_the_value() method it_does_not_score_if_the_argument_is_not_a_string (line 44) | function it_does_not_score_if_the_argument_is_not_a_string() method its_string_representation_shows_substring (line 49) | function its_string_representation_shows_substring() FILE: spec/Prophecy/Argument/Token/TypeTokenSpec.php class TypeTokenSpec (line 8) | class TypeTokenSpec extends ObjectBehavior method let (line 10) | function let() method it_implements_TokenInterface (line 15) | function it_implements_TokenInterface() method it_is_not_last (line 20) | function it_is_not_last() method it_scores_5_if_argument_matches_simple_type (line 25) | function it_scores_5_if_argument_matches_simple_type() method it_does_not_scores_if_argument_does_not_match_simple_type (line 32) | function it_does_not_scores_if_argument_does_not_match_simple_type() method it_scores_5_if_argument_is_an_instance_of_specified_class (line 39) | function it_scores_5_if_argument_is_an_instance_of_specified_class(\Re... method it_has_simple_string_representation (line 46) | function it_has_simple_string_representation() method it_scores_5_if_argument_is_an_instance_of_specified_interface (line 51) | function it_scores_5_if_argument_is_an_instance_of_specified_interface... FILE: spec/Prophecy/ArgumentSpec.php class ArgumentSpec (line 7) | class ArgumentSpec extends ObjectBehavior method it_has_a_shortcut_for_exact_argument_token (line 9) | function it_has_a_shortcut_for_exact_argument_token() method it_has_a_shortcut_for_any_argument_token (line 16) | function it_has_a_shortcut_for_any_argument_token() method it_has_a_shortcut_for_multiple_arguments_token (line 22) | function it_has_a_shortcut_for_multiple_arguments_token() method it_has_a_shortcut_for_type_token (line 28) | function it_has_a_shortcut_for_type_token() method it_has_a_shortcut_for_callback_token (line 34) | function it_has_a_shortcut_for_callback_token() method it_supports_customizing_tostring_representation_for_callback_token (line 40) | function it_supports_customizing_tostring_representation_for_callback_... method it_has_a_shortcut_for_object_state_token (line 47) | function it_has_a_shortcut_for_object_state_token() method it_has_a_shortcut_for_logical_and_token (line 53) | function it_has_a_shortcut_for_logical_and_token() method it_has_a_shortcut_for_array_count_token (line 59) | function it_has_a_shortcut_for_array_count_token() method it_has_a_shortcut_for_array_entry_token (line 65) | function it_has_a_shortcut_for_array_entry_token() method it_has_a_shortcut_for_array_every_entry_token (line 71) | function it_has_a_shortcut_for_array_every_entry_token() method it_has_a_shortcut_for_identical_value_token (line 77) | function it_has_a_shortcut_for_identical_value_token() method it_has_a_shortcut_for_array_entry_token_matching_any_key (line 83) | function it_has_a_shortcut_for_array_entry_token_matching_any_key() method it_has_a_shortcut_for_array_entry_token_matching_any_value (line 90) | function it_has_a_shortcut_for_array_entry_token_matching_any_value() method it_has_a_shortcut_for_logical_not_token (line 97) | function it_has_a_shortcut_for_logical_not_token() method it_has_a_shortcut_for_string_contains_token (line 103) | function it_has_a_shortcut_for_string_contains_token() method it_has_a_shortcut_for_approximate_token (line 109) | function it_has_a_shortcut_for_approximate_token() method it_has_a_shortcut_for_in_token (line 115) | function it_has_a_shortcut_for_in_token() method it_has_a_shortcut_for_not_in_token (line 121) | function it_has_a_shortcut_for_not_in_token() FILE: spec/Prophecy/Call/CallCenterSpec.php class CallCenterSpec (line 11) | class CallCenterSpec extends ObjectBehavior method let (line 13) | function let(ObjectProphecy $objectProphecy) {} method it_records_calls_made_through_makeCall_method (line 15) | function it_records_calls_made_through_makeCall_method(ObjectProphecy ... method it_returns_null_for_any_call_through_makeCall_if_no_method_prophecies_added (line 31) | function it_returns_null_for_any_call_through_makeCall_if_no_method_pr... method it_executes_promise_of_method_prophecy_that_matches_signature_passed_to_makeCall (line 39) | function it_executes_promise_of_method_prophecy_that_matches_signature... method it_executes_promise_of_method_prophecy_that_matches_with_highest_score_to_makeCall (line 81) | function it_executes_promise_of_method_prophecy_that_matches_with_high... method it_returns_null_if_method_prophecy_that_matches_makeCall_arguments_has_no_promise (line 123) | function it_returns_null_if_method_prophecy_that_matches_makeCall_argu... method it_finds_recorded_calls_by_a_method_name_and_arguments_wildcard (line 141) | function it_finds_recorded_calls_by_a_method_name_and_arguments_wildcard( method it_records_the_error_when_stub_has_got_unexpected_method_calls (line 161) | function it_records_the_error_when_stub_has_got_unexpected_method_calls( FILE: spec/Prophecy/Call/CallSpec.php class CallSpec (line 8) | class CallSpec extends ObjectBehavior method let (line 10) | function let(\Exception $exception) method it_exposes_method_name_through_getter (line 15) | function it_exposes_method_name_through_getter() method it_exposes_arguments_through_getter (line 20) | function it_exposes_arguments_through_getter() method it_exposes_return_value_through_getter (line 25) | function it_exposes_return_value_through_getter() method it_exposes_exception_through_getter (line 30) | function it_exposes_exception_through_getter($exception) method it_exposes_file_and_line_through_getter (line 35) | function it_exposes_file_and_line_through_getter() method it_returns_shortpath_to_callPlace (line 41) | function it_returns_shortpath_to_callPlace() method it_returns_unknown_as_callPlace_if_no_file_or_line_provided (line 46) | function it_returns_unknown_as_callPlace_if_no_file_or_line_provided() method it_adds_wildcard_match_score (line 53) | function it_adds_wildcard_match_score(ArgumentsWildcard $wildcard) method it_caches_and_returns_wildcard_match_score (line 59) | function it_caches_and_returns_wildcard_match_score(ArgumentsWildcard ... FILE: spec/Prophecy/Comparator/ClosureComparatorSpec.php class ClosureComparatorSpec (line 7) | class ClosureComparatorSpec extends ObjectBehavior method it_is_comparator (line 9) | function it_is_comparator() method it_accepts_only_closures (line 14) | function it_accepts_only_closures() method it_asserts_that_different_closures_are_different (line 27) | function it_asserts_that_different_closures_are_different() method it_asserts_that_closures_are_equal_if_its_the_same_closure (line 32) | function it_asserts_that_closures_are_equal_if_its_the_same_closure() FILE: spec/Prophecy/Comparator/FactorySpec.php class FactorySpec (line 10) | class FactorySpec extends ObjectBehavior method let (line 12) | function let() method it_extends_Sebastian_Comparator_Factory (line 21) | function it_extends_Sebastian_Comparator_Factory() method it_should_have_ClosureComparator_registered (line 26) | function it_should_have_ClosureComparator_registered() FILE: spec/Prophecy/Comparator/ProphecyComparatorSpec.php class ProphecyComparatorSpec (line 10) | class ProphecyComparatorSpec extends ObjectBehavior method it_is_a_comparator (line 12) | function it_is_a_comparator() method it_accepts_only_prophecy_objects (line 17) | function it_accepts_only_prophecy_objects() method it_asserts_that_an_object_is_equal_to_its_revealed_prophecy (line 33) | function it_asserts_that_an_object_is_equal_to_its_revealed_prophecy() FILE: spec/Prophecy/Doubler/CachedDoublerSpec.php class CachedDoublerSpec (line 12) | class CachedDoublerSpec extends ObjectBehavior method let (line 14) | function let(ClassMirror $mirror, ClassCreator $creator, NameGenerator... method it_creates_only_one_class_definition_for_the_same_class_without_interfaces_and_patches (line 31) | function it_creates_only_one_class_definition_for_the_same_class_witho... method it_creates_two_class_definitions_for_different_classes_without_interfaces_and_patches (line 49) | function it_creates_two_class_definitions_for_different_classes_withou... method it_creates_two_different_class_definitions_for_the_same_class_with_different_interfaces_and_same_patches (line 73) | function it_creates_two_different_class_definitions_for_the_same_class... method it_creates_two_different_class_definitions_for_different_classes_with_different_interfaces_and_same_patches (line 114) | function it_creates_two_different_class_definitions_for_different_clas... method it_creates_only_one_class_definition_for_the_same_class_with_same_interfaces_and_without_patches (line 157) | function it_creates_only_one_class_definition_for_the_same_class_with_... method it_creates_only_one_class_definition_for_different_classes_with_same_interfaces_and_without_patches (line 179) | function it_creates_only_one_class_definition_for_different_classes_wi... method it_creates_two_different_class_definitions_for_the_same_class_with_different_interfaces_and_without_patches (line 207) | function it_creates_two_different_class_definitions_for_the_same_class... method it_creates_two_different_class_definitions_for_different_classes_with_different_interfaces_and_without_patches (line 233) | function it_creates_two_different_class_definitions_for_different_clas... method it_creates_only_one_class_definition_for_the_same_class_with_same_interfaces_and_same_patches (line 261) | function it_creates_only_one_class_definition_for_the_same_class_with_... method it_creates_two_class_definitions_for_different_classes_with_different_interfaces_and_patches (line 294) | function it_creates_two_class_definitions_for_different_classes_with_d... method it_creates_two_class_definitions_for_the_same_class_with_different_interfaces_and_patches (line 335) | function it_creates_two_class_definitions_for_the_same_class_with_diff... method it_creates_two_different_class_definitions_for_the_same_class_with_same_interfaces_and_different_patches (line 374) | function it_creates_two_different_class_definitions_for_the_same_class... class aClass (line 412) | class aClass {} FILE: spec/Prophecy/Doubler/ClassPatch/DisableConstructorPatchSpec.php class DisableConstructorPatchSpec (line 14) | class DisableConstructorPatchSpec extends ObjectBehavior method it_is_a_patch (line 16) | function it_is_a_patch() method its_priority_is_100 (line 21) | function its_priority_is_100() method it_supports_anything (line 26) | function it_supports_anything(ClassNode $node) method it_makes_all_constructor_arguments_optional (line 31) | function it_makes_all_constructor_arguments_optional( method it_creates_new_constructor_if_object_has_none (line 61) | function it_creates_new_constructor_if_object_has_none(ClassNode $class) method it_ignores_final_constructor (line 71) | function it_ignores_final_constructor(ClassNode $class) FILE: spec/Prophecy/Doubler/ClassPatch/KeywordPatchSpec.php class KeywordPatchSpec (line 9) | class KeywordPatchSpec extends ObjectBehavior method it_is_a_patch (line 11) | function it_is_a_patch() method its_priority_is_49 (line 16) | function its_priority_is_49() method it_will_remove_halt_compiler_method (line 21) | function it_will_remove_halt_compiler_method( FILE: spec/Prophecy/Doubler/ClassPatch/MagicCallPatchSpec.php class MagicCallPatchSpec (line 9) | class MagicCallPatchSpec extends ObjectBehavior method it_is_a_patch (line 11) | function it_is_a_patch() method it_supports_anything (line 16) | function it_supports_anything(ClassNode $node) method it_discovers_api_using_phpdoc (line 21) | function it_discovers_api_using_phpdoc(ClassNode $node) method it_ignores_existing_methods (line 31) | function it_ignores_existing_methods(ClassNode $node) method it_ignores_empty_methods_from_phpdoc (line 42) | function it_ignores_empty_methods_from_phpdoc(ClassNode $node) method it_discovers_api_using_phpdoc_from_implemented_interfaces (line 52) | function it_discovers_api_using_phpdoc_from_implemented_interfaces(Cla... method it_discovers_api_using_phpdoc_from_own_interfaces (line 62) | function it_discovers_api_using_phpdoc_from_own_interfaces(ClassNode $... method it_discovers_api_using_phpdoc_from_extended_parent_interfaces (line 72) | function it_discovers_api_using_phpdoc_from_extended_parent_interfaces... method it_has_50_priority (line 82) | function it_has_50_priority() class MagicalApi (line 91) | class MagicalApi method definedMethod (line 96) | public function definedMethod() {} class MagicalApiInvalidMethodDefinition (line 102) | class MagicalApiInvalidMethodDefinition {} class MagicalApiExtended (line 107) | class MagicalApiExtended extends MagicalApi {} class MagicalApiImplemented (line 111) | class MagicalApiImplemented implements MagicalApiInterface {} class MagicalApiImplementedExtended (line 115) | class MagicalApiImplementedExtended extends MagicalApiImplemented {} type MagicalApiInterface (line 120) | interface MagicalApiInterface {} FILE: spec/Prophecy/Doubler/ClassPatch/ProphecySubjectPatchSpec.php class ProphecySubjectPatchSpec (line 12) | class ProphecySubjectPatchSpec extends ObjectBehavior method it_is_a_patch (line 14) | function it_is_a_patch() method it_has_priority_of_0 (line 19) | function it_has_priority_of_0() method it_supports_any_class (line 24) | function it_supports_any_class(ClassNode $node) method it_forces_class_to_implement_ProphecySubjectInterface (line 29) | function it_forces_class_to_implement_ProphecySubjectInterface(ClassNo... method it_forces_all_class_methods_except_constructor_to_proxy_calls_into_prophecy_makeCall (line 42) | function it_forces_all_class_methods_except_constructor_to_proxy_calls... FILE: spec/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatchSpec.php class ReflectionClassNewInstancePatchSpec (line 10) | class ReflectionClassNewInstancePatchSpec extends ObjectBehavior method it_is_a_patch (line 12) | function it_is_a_patch() method its_priority_is_50 (line 17) | function its_priority_is_50() method it_supports_ReflectionClass_only (line 22) | function it_supports_ReflectionClass_only(ClassNode $reflectionClassNo... method it_makes_all_newInstance_arguments_optional (line 31) | function it_makes_all_newInstance_arguments_optional( FILE: spec/Prophecy/Doubler/ClassPatch/SplFileInfoPatchSpec.php class SplFileInfoPatchSpec (line 10) | class SplFileInfoPatchSpec extends ObjectBehavior method it_is_a_patch (line 12) | function it_is_a_patch() method its_priority_is_50 (line 17) | function its_priority_is_50() method it_does_not_support_nodes_without_parent_class (line 22) | function it_does_not_support_nodes_without_parent_class(ClassNode $node) method it_supports_nodes_with_SplFileInfo_as_parent_class (line 28) | function it_supports_nodes_with_SplFileInfo_as_parent_class(ClassNode ... method it_supports_nodes_with_derivative_of_SplFileInfo_as_parent_class (line 34) | function it_supports_nodes_with_derivative_of_SplFileInfo_as_parent_cl... method it_adds_a_method_to_node_if_not_exists (line 40) | function it_adds_a_method_to_node_if_not_exists(ClassNode $node) method it_updates_existing_method_if_found (line 49) | function it_updates_existing_method_if_found(ClassNode $node, MethodNo... method it_should_not_supply_a_file_for_a_directory_iterator (line 60) | function it_should_not_supply_a_file_for_a_directory_iterator(ClassNod... method it_should_supply_a_file_for_a_spl_file_object (line 73) | function it_should_supply_a_file_for_a_spl_file_object(ClassNode $node... method it_should_supply_a_file_for_a_symfony_spl_file_info (line 86) | function it_should_supply_a_file_for_a_symfony_spl_file_info(ClassNode... FILE: spec/Prophecy/Doubler/ClassPatch/ThrowablePatchSpec.php class ThrowablePatchSpec (line 8) | class ThrowablePatchSpec extends ObjectBehavior method it_is_a_patch (line 10) | function it_is_a_patch() method it_does_not_support_class_that_does_not_implement_throwable (line 15) | function it_does_not_support_class_that_does_not_implement_throwable(C... method it_supports_class_that_extends_not_throwable_class (line 23) | function it_supports_class_that_extends_not_throwable_class(ClassNode ... method it_does_not_support_class_that_already_extends_a_throwable_class (line 31) | function it_does_not_support_class_that_already_extends_a_throwable_cl... method it_supports_class_implementing_interface_that_extends_throwable (line 39) | function it_supports_class_implementing_interface_that_extends_throwab... method it_sets_the_parent_class_to_exception (line 47) | function it_sets_the_parent_class_to_exception(ClassNode $node) method it_throws_error_when_trying_to_double_concrete_class_and_throwable_interface (line 65) | function it_throws_error_when_trying_to_double_concrete_class_and_thro... FILE: spec/Prophecy/Doubler/ClassPatch/TraversablePatchSpec.php class TraversablePatchSpec (line 10) | class TraversablePatchSpec extends ObjectBehavior method it_is_a_patch (line 12) | function it_is_a_patch() method it_supports_class_that_implements_only_Traversable (line 17) | function it_supports_class_that_implements_only_Traversable(ClassNode ... method it_does_not_support_class_that_implements_Iterator (line 24) | function it_does_not_support_class_that_implements_Iterator(ClassNode ... method it_does_not_support_class_that_implements_IteratorAggregate (line 31) | function it_does_not_support_class_that_implements_IteratorAggregate(C... method it_has_100_priority (line 38) | function it_has_100_priority() method it_forces_node_to_implement_IteratorAggregate (line 43) | function it_forces_node_to_implement_IteratorAggregate(ClassNode $node) method it_adds_methods_to_implement_iterator (line 52) | function it_adds_methods_to_implement_iterator(ClassNode $node) FILE: spec/Prophecy/Doubler/DoublerSpec.php class DoublerSpec (line 12) | class DoublerSpec extends ObjectBehavior method let (line 14) | function let(ClassMirror $mirror, ClassCreator $creator, NameGenerator... method it_does_not_have_patches_by_default (line 19) | function it_does_not_have_patches_by_default() method its_registerClassPatch_adds_a_patch_to_the_doubler (line 24) | function its_registerClassPatch_adds_a_patch_to_the_doubler(ClassPatch... method its_getClassPatches_sorts_patches_by_priority (line 30) | function its_getClassPatches_sorts_patches_by_priority( method its_double_mirrors_alterates_and_instantiates_provided_class (line 49) | function its_double_mirrors_alterates_and_instantiates_provided_class( method it_double_instantiates_a_class_with_constructor_argument (line 81) | function it_double_instantiates_a_class_with_constructor_argument( method it_can_instantiate_class_with_final_constructor (line 96) | function it_can_instantiate_class_with_final_constructor( class WithFinalConstructor (line 112) | class WithFinalConstructor method __construct (line 114) | final public function __construct() {} FILE: spec/Prophecy/Doubler/Generator/ClassCodeGeneratorSpec.php class ClassCodeGeneratorSpec (line 16) | class ClassCodeGeneratorSpec extends ObjectBehavior method it_generates_proper_php_code_for_specific_ClassNode (line 18) | function it_generates_proper_php_code_for_specific_ClassNode( method it_generates_proper_php_code_for_variadics (line 150) | function it_generates_proper_php_code_for_variadics( method it_overrides_properly_methods_with_args_passed_by_reference (line 251) | function it_overrides_properly_methods_with_args_passed_by_reference( method it_generates_proper_code_for_union_return_types (line 296) | function it_generates_proper_code_for_union_return_types( method it_generates_proper_code_for_dnf_types (line 336) | function it_generates_proper_code_for_dnf_types( method it_generates_proper_code_for_intersection_return_types (line 378) | function it_generates_proper_code_for_intersection_return_types( method it_generates_proper_code_for_union_argument_types (line 416) | function it_generates_proper_code_for_union_argument_types( method it_generates_empty_class_for_empty_ClassNode (line 463) | function it_generates_empty_class_for_empty_ClassNode(ClassNode $class) method it_wraps_class_in_namespace_if_it_is_namespaced (line 484) | function it_wraps_class_in_namespace_if_it_is_namespaced(ClassNode $cl... method it_generates_read_only_class_if_parent_class_is_read_only (line 505) | function it_generates_read_only_class_if_parent_class_is_read_only(Cla... FILE: spec/Prophecy/Doubler/Generator/ClassCreatorSpec.php class ClassCreatorSpec (line 9) | class ClassCreatorSpec extends ObjectBehavior method let (line 11) | function let(ClassCodeGenerator $generator) method it_evaluates_code_generated_by_ClassCodeGenerator (line 16) | function it_evaluates_code_generated_by_ClassCodeGenerator($generator,... method it_throws_an_exception_if_class_does_not_exist_after_evaluation (line 25) | function it_throws_an_exception_if_class_does_not_exist_after_evaluati... FILE: spec/Prophecy/Doubler/Generator/Node/ArgumentNodeSpec.php class ArgumentNodeSpec (line 9) | class ArgumentNodeSpec extends ObjectBehavior method let (line 11) | function let() method it_is_not_be_passed_by_reference_by_default (line 16) | function it_is_not_be_passed_by_reference_by_default() method it_is_passed_by_reference_if_marked (line 21) | function it_is_passed_by_reference_if_marked() method it_is_not_variadic_by_default (line 27) | function it_is_not_variadic_by_default() method it_is_variadic_if_marked (line 32) | function it_is_variadic_if_marked() method it_does_not_have_default_by_default (line 38) | function it_does_not_have_default_by_default() method it_does_not_have_default_if_variadic (line 43) | function it_does_not_have_default_if_variadic() method it_does_have_default_if_not_variadic (line 50) | function it_does_have_default_if_not_variadic() method it_has_name_with_which_it_was_been_constructed (line 57) | function it_has_name_with_which_it_was_been_constructed() method it_has_no_typehint_by_default (line 62) | function it_has_no_typehint_by_default() method its_typeHint_is_mutable_with_deprecated_accessors (line 67) | function its_typeHint_is_mutable_with_deprecated_accessors() method it_can_set_nullable_type_using_deprecated_method (line 73) | function it_can_set_nullable_type_using_deprecated_method() method it_can_unset_nullable_type_using_deprecated_method (line 82) | function it_can_unset_nullable_type_using_deprecated_method() method it_has_an_empty_type_by_default (line 91) | function it_has_an_empty_type_by_default() method it_has_a_mutable_type (line 96) | function it_has_a_mutable_type() method it_does_not_have_default_value_by_default (line 103) | function it_does_not_have_default_value_by_default() method it_is_not_optional_by_default (line 108) | function it_is_not_optional_by_default() method its_default_is_mutable (line 113) | function its_default_is_mutable() method it_is_marked_as_optional_when_default_is_set (line 119) | function it_is_marked_as_optional_when_default_is_set() FILE: spec/Prophecy/Doubler/Generator/Node/ArgumentTypeNodeSpec.php class ArgumentTypeNodeSpec (line 8) | class ArgumentTypeNodeSpec extends ObjectBehavior method it_has_no_types_at_start (line 10) | function it_has_no_types_at_start() method it_can_have_a_simple_type (line 15) | function it_can_have_a_simple_type() method it_can_have_multiple_types (line 22) | function it_can_have_multiple_types() method it_will_prefix_fcqns (line 29) | function it_will_prefix_fcqns() method it_will_not_prefix_fcqns_that_already_have_prefix (line 36) | function it_will_not_prefix_fcqns_that_already_have_prefix() method it_can_use_shorthand_null_syntax_if_it_has_single_type_plus_null (line 43) | function it_can_use_shorthand_null_syntax_if_it_has_single_type_plus_n... method it_can_not_use_shorthand_null_syntax_if_it_does_not_allow_null (line 50) | function it_can_not_use_shorthand_null_syntax_if_it_does_not_allow_null() method it_can_not_use_shorthand_null_syntax_if_it_has_more_than_one_non_null_type (line 57) | function it_can_not_use_shorthand_null_syntax_if_it_has_more_than_one_... method it_can_return_non_null_types (line 64) | function it_can_return_non_null_types() method it_does_not_allow_union_mixed (line 71) | function it_does_not_allow_union_mixed() method it_does_not_prefix_false (line 80) | function it_does_not_prefix_false() method it_allows_standalone_false (line 87) | function it_allows_standalone_false() method it_allows_standalone_null (line 100) | function it_allows_standalone_null() method it_allows_standalone_true (line 113) | function it_allows_standalone_true() method it_allows_nullable_false (line 126) | function it_allows_nullable_false() method it_allows_nullable_true (line 139) | function it_allows_nullable_true() method it_allows_union_with_false (line 152) | function it_allows_union_with_false() FILE: spec/Prophecy/Doubler/Generator/Node/ClassNodeSpec.php class ClassNodeSpec (line 9) | class ClassNodeSpec extends ObjectBehavior method its_parentClass_is_a_stdClass_by_default (line 11) | function its_parentClass_is_a_stdClass_by_default() method its_parentClass_is_mutable (line 16) | function its_parentClass_is_mutable() method its_parentClass_is_set_to_stdClass_if_user_set_null (line 22) | function its_parentClass_is_set_to_stdClass_if_user_set_null() method it_does_not_implement_any_interface_by_default (line 28) | function it_does_not_implement_any_interface_by_default() method its_addInterface_adds_item_to_the_list_of_implemented_interfaces (line 33) | function its_addInterface_adds_item_to_the_list_of_implemented_interfa... method its_hasInterface_returns_true_if_class_implements_interface (line 39) | function its_hasInterface_returns_true_if_class_implements_interface() method its_hasInterface_returns_false_if_class_does_not_implements_interface (line 45) | function its_hasInterface_returns_false_if_class_does_not_implements_i... method it_supports_implementation_of_multiple_interfaces (line 50) | function it_supports_implementation_of_multiple_interfaces() method it_ignores_same_interfaces_added_twice (line 57) | function it_ignores_same_interfaces_added_twice() method it_does_not_have_methods_by_default (line 66) | function it_does_not_have_methods_by_default() method it_can_has_methods (line 71) | function it_can_has_methods(MethodNode $method1, MethodNode $method2) method its_hasMethod_returns_true_if_method_exists (line 85) | function its_hasMethod_returns_true_if_method_exists(MethodNode $method) method its_getMethod_returns_method_by_name (line 94) | function its_getMethod_returns_method_by_name(MethodNode $method) method its_hasMethod_returns_false_if_method_does_not_exists (line 103) | function its_hasMethod_returns_false_if_method_does_not_exists() method its_hasMethod_returns_false_if_method_has_been_removed (line 108) | function its_hasMethod_returns_false_if_method_has_been_removed(Method... method it_does_not_have_properties_by_default (line 118) | function it_does_not_have_properties_by_default() method it_is_able_to_have_properties (line 123) | function it_is_able_to_have_properties() method its_addProperty_does_not_accept_unsupported_visibility (line 133) | function its_addProperty_does_not_accept_unsupported_visibility() method its_addProperty_lowercases_visibility_before_setting (line 138) | function its_addProperty_lowercases_visibility_before_setting() method its_has_no_unextendable_methods_by_default (line 144) | function its_has_no_unextendable_methods_by_default() method its_addUnextendableMethods_adds_an_unextendable_method (line 149) | function its_addUnextendableMethods_adds_an_unextendable_method() method its_methods_are_extendable_by_default (line 155) | function its_methods_are_extendable_by_default() method its_unextendable_methods_are_not_extendable (line 160) | function its_unextendable_methods_are_not_extendable() method its_addUnextendableMethods_doesnt_create_duplicates (line 166) | function its_addUnextendableMethods_doesnt_create_duplicates() method it_throws_an_exception_when_adding_a_method_that_isnt_extendable (line 173) | function it_throws_an_exception_when_adding_a_method_that_isnt_extenda... method it_is_non_read_only_by_default (line 186) | function it_is_non_read_only_by_default() method its_read_only_is_mutable (line 191) | function its_read_only_is_mutable() FILE: spec/Prophecy/Doubler/Generator/Node/MethodNodeSpec.php class MethodNodeSpec (line 10) | class MethodNodeSpec extends ObjectBehavior method let (line 12) | function let() method it_has_a_name (line 17) | function it_has_a_name() method it_has_public_visibility_by_default (line 22) | function it_has_public_visibility_by_default() method its_visibility_is_mutable (line 27) | function its_visibility_is_mutable() method it_is_not_static_by_default (line 33) | function it_is_not_static_by_default() method it_does_not_return_a_reference_by_default (line 38) | function it_does_not_return_a_reference_by_default() method it_should_be_settable_as_returning_a_reference_through_setter (line 43) | function it_should_be_settable_as_returning_a_reference_through_setter() method it_should_be_settable_as_static_through_setter (line 49) | function it_should_be_settable_as_static_through_setter() method it_accepts_only_supported_visibilities (line 55) | function it_accepts_only_supported_visibilities() method it_lowercases_visibility_before_setting_it (line 60) | function it_lowercases_visibility_before_setting_it() method its_useParentCode_causes_method_to_call_parent (line 66) | function its_useParentCode_causes_method_to_call_parent(ArgumentNode $... method its_code_is_mutable (line 84) | function its_code_is_mutable() method its_reference_returning_methods_will_generate_exceptions (line 90) | function its_reference_returning_methods_will_generate_exceptions() method its_setCode_provided_with_null_cleans_method_body (line 97) | function its_setCode_provided_with_null_cleans_method_body() method it_is_constructable_with_code (line 103) | function it_is_constructable_with_code() method it_does_not_have_arguments_by_default (line 109) | function it_does_not_have_arguments_by_default() method it_supports_adding_arguments (line 114) | function it_supports_adding_arguments(ArgumentNode $argument1, Argumen... method it_has_an_empty_return_type_by_default (line 122) | function it_has_an_empty_return_type_by_default() method it_can_modify_return_type (line 127) | function it_can_modify_return_type() method it_can_modify_return_type_as_strings_using_deprecated_methods (line 134) | function it_can_modify_return_type_as_strings_using_deprecated_methods() method it_can_set_nullable_type_using_deprecated_method (line 142) | function it_can_set_nullable_type_using_deprecated_method() method it_can_unset_nullable_type_using_deprecated_method (line 151) | function it_can_unset_nullable_type_using_deprecated_method() FILE: spec/Prophecy/Doubler/Generator/Node/ReturnTypeNodeSpec.php class ReturnTypeNodeSpec (line 8) | class ReturnTypeNodeSpec extends ObjectBehavior method it_has_no_return_types_at_start (line 10) | function it_has_no_return_types_at_start() method it_can_have_a_simple_type (line 15) | function it_can_have_a_simple_type() method it_can_have_multiple_types (line 22) | function it_can_have_multiple_types() method it_can_have_void_type (line 29) | function it_can_have_void_type() method it_will_normalise_type_aliases_types (line 36) | function it_will_normalise_type_aliases_types() method it_will_prefix_fcqns (line 42) | function it_will_prefix_fcqns() method it_will_not_prefix_fcqns_that_already_have_prefix (line 49) | function it_will_not_prefix_fcqns_that_already_have_prefix() method it_can_use_shorthand_null_syntax_if_it_has_single_type_plus_null (line 56) | function it_can_use_shorthand_null_syntax_if_it_has_single_type_plus_n... method it_can_not_use_shorthand_null_syntax_if_it_does_not_allow_null (line 63) | function it_can_not_use_shorthand_null_syntax_if_it_does_not_allow_null() method it_can_not_use_shorthand_null_syntax_if_it_has_more_than_one_non_null_type (line 70) | function it_can_not_use_shorthand_null_syntax_if_it_has_more_than_one_... method it_can_return_non_null_types (line 77) | function it_can_return_non_null_types() method it_does_not_allow_union_void (line 84) | function it_does_not_allow_union_void() method it_does_not_allow_union_mixed (line 91) | function it_does_not_allow_union_mixed() method it_does_not_prefix_false (line 100) | function it_does_not_prefix_false() method it_allows_standalone_false (line 107) | function it_allows_standalone_false() method it_allows_standalone_null (line 120) | function it_allows_standalone_null() method it_allows_standalone_true (line 133) | function it_allows_standalone_true() method it_allows_nullable_false (line 146) | function it_allows_nullable_false() method it_allows_nullable_true (line 159) | function it_allows_nullable_true() method it_allows_union_with_false (line 172) | function it_allows_union_with_false() method it_does_not_prefix_never (line 181) | function it_does_not_prefix_never() method it_does_not_allow_union_never (line 188) | function it_does_not_allow_union_never() method it_has_a_return_statement_if_it_is_a_simple_type (line 195) | function it_has_a_return_statement_if_it_is_a_simple_type() method it_does_not_have_return_statement_if_it_returns_void (line 202) | function it_does_not_have_return_statement_if_it_returns_void() method it_does_not_have_return_statement_if_it_returns_never (line 209) | function it_does_not_have_return_statement_if_it_returns_never() FILE: spec/Prophecy/Doubler/Generator/Node/Type/BuiltinTypeSpec.php class BuiltinTypeSpec (line 8) | class BuiltinTypeSpec extends ObjectBehavior method let (line 10) | function let(): void method it_implements_type_interface (line 15) | function it_implements_type_interface(): void method it_is_stringable (line 20) | function it_is_stringable(): void FILE: spec/Prophecy/Doubler/Generator/Node/Type/IntersectionTypeSpec.php class IntersectionTypeSpec (line 12) | class IntersectionTypeSpec extends ObjectBehavior method let (line 14) | function let(): void method it_should_implement_type_union (line 22) | function it_should_implement_type_union(): void method it_should_throw_double_exception_for_builtin_types (line 27) | function it_should_throw_double_exception_for_builtin_types() method it_should_throw_double_exception_if_less_than_2_types_provided (line 36) | function it_should_throw_double_exception_if_less_than_2_types_provided() method it_should_throw_double_exception_if_union_type_given (line 44) | function it_should_throw_double_exception_if_union_type_given(): void method it_is_stringable (line 53) | function it_is_stringable(): void FILE: spec/Prophecy/Doubler/Generator/Node/Type/ObjectTypeSpec.php class ObjectTypeSpec (line 9) | class ObjectTypeSpec extends ObjectBehavior method let (line 11) | function let(): void method it_implements_type_interface (line 16) | function it_implements_type_interface(): void method it_is_stringable (line 21) | function it_is_stringable(): void FILE: spec/Prophecy/Doubler/Generator/Node/Type/UnionTypeSpec.php class UnionTypeSpec (line 13) | class UnionTypeSpec extends ObjectBehavior method let (line 15) | function let(): void method it_implements_type_interface (line 22) | function it_implements_type_interface(): void method it_throws_double_exception_when_union_type_given (line 27) | function it_throws_double_exception_when_union_type_given(): void method it_throws_double_exception_when_types_duplicated (line 36) | function it_throws_double_exception_when_types_duplicated(): void method it_throws_double_exception_when_union_with_void (line 42) | function it_throws_double_exception_when_union_with_void(): void method it_throws_double_exception_when_union_with_never (line 48) | function it_throws_double_exception_when_union_with_never(): void method it_throws_double_exception_when_union_with_mixed (line 54) | function it_throws_double_exception_when_union_with_mixed(): void method it_throws_double_exception_when_union_with_only_one_type (line 60) | function it_throws_double_exception_when_union_with_only_one_type(): void method it_return_array_of_its_types (line 66) | function it_return_array_of_its_types(): void method it_should_accept_simple_type_and_intersection (line 74) | function it_should_accept_simple_type_and_intersection() method it_is_stringable (line 84) | function it_is_stringable(): void FILE: spec/Prophecy/Doubler/LazyDoubleSpec.php class LazyDoubleSpec (line 9) | class LazyDoubleSpec extends ObjectBehavior method let (line 11) | function let(Doubler $doubler) method it_returns_anonymous_double_instance_by_default (line 16) | function it_returns_anonymous_double_instance_by_default($doubler, Pro... method it_returns_class_double_instance_if_set (line 23) | function it_returns_class_double_instance_if_set($doubler, ProphecySub... method it_returns_same_double_instance_if_called_2_times (line 32) | function it_returns_same_double_instance_if_called_2_times( method its_setParentClass_throws_ClassNotFoundException_if_class_not_found (line 44) | function its_setParentClass_throws_ClassNotFoundException_if_class_not... method its_setParentClass_throws_exception_if_prophecy_is_already_created (line 50) | function its_setParentClass_throws_exception_if_prophecy_is_already_cr... method its_addInterface_throws_InterfaceNotFoundException_if_no_interface_found (line 62) | function its_addInterface_throws_InterfaceNotFoundException_if_no_inte... method its_addInterface_throws_exception_if_prophecy_is_already_created (line 68) | function its_addInterface_throws_exception_if_prophecy_is_already_crea... FILE: spec/Prophecy/Doubler/NameGeneratorSpec.php class NameGeneratorSpec (line 7) | class NameGeneratorSpec extends ObjectBehavior method its_name_generates_name_based_on_simple_class_reflection (line 9) | function its_name_generates_name_based_on_simple_class_reflection(\Ref... method its_name_generates_name_based_on_namespaced_class_reflection (line 15) | function its_name_generates_name_based_on_namespaced_class_reflection(... method its_name_generates_name_based_on_interface_shortnames (line 21) | function its_name_generates_name_based_on_interface_shortnames( method it_generates_proper_name_for_no_class_and_interfaces_list (line 33) | function it_generates_proper_name_for_no_class_and_interfaces_list() method its_name_generates_name_based_only_on_class_if_its_available (line 38) | function its_name_generates_name_based_only_on_class_if_its_available( method getMatchers (line 52) | public function getMatchers(): array FILE: spec/Prophecy/Exception/Call/UnexpectedCallExceptionSpec.php class UnexpectedCallExceptionSpec (line 8) | class UnexpectedCallExceptionSpec extends ObjectBehavior method let (line 10) | function let(ObjectProphecy $objectProphecy) method it_is_prophecy_exception (line 15) | function it_is_prophecy_exception() method it_exposes_method_name_through_getter (line 20) | function it_exposes_method_name_through_getter() method it_exposes_arguments_through_getter (line 25) | function it_exposes_arguments_through_getter() FILE: spec/Prophecy/Exception/Doubler/ClassCreatorExceptionSpec.php class ClassCreatorExceptionSpec (line 8) | class ClassCreatorExceptionSpec extends ObjectBehavior method let (line 10) | function let(ClassNode $node) method it_is_a_prophecy_exception (line 15) | function it_is_a_prophecy_exception() method it_contains_a_reflected_node (line 21) | function it_contains_a_reflected_node($node) FILE: spec/Prophecy/Exception/Doubler/ClassMirrorExceptionSpec.php class ClassMirrorExceptionSpec (line 7) | class ClassMirrorExceptionSpec extends ObjectBehavior method let (line 9) | function let(\ReflectionClass $class) method it_is_a_prophecy_exception (line 14) | function it_is_a_prophecy_exception() method it_contains_a_reflected_class_link (line 20) | function it_contains_a_reflected_class_link($class) FILE: spec/Prophecy/Exception/Doubler/ClassNotFoundExceptionSpec.php class ClassNotFoundExceptionSpec (line 7) | class ClassNotFoundExceptionSpec extends ObjectBehavior method let (line 9) | function let() method it_is_a_prophecy_exception (line 14) | function it_is_a_prophecy_exception() method its_getClassname_returns_classname (line 20) | function its_getClassname_returns_classname() FILE: spec/Prophecy/Exception/Doubler/DoubleExceptionSpec.php class DoubleExceptionSpec (line 7) | class DoubleExceptionSpec extends ObjectBehavior method it_is_a_double_exception (line 9) | function it_is_a_double_exception() FILE: spec/Prophecy/Exception/Doubler/InterfaceNotFoundExceptionSpec.php class InterfaceNotFoundExceptionSpec (line 7) | class InterfaceNotFoundExceptionSpec extends ObjectBehavior method let (line 9) | function let() method it_extends_ClassNotFoundException (line 14) | function it_extends_ClassNotFoundException() method its_getClassname_returns_classname (line 19) | function its_getClassname_returns_classname() FILE: spec/Prophecy/Exception/Doubler/MethodNotExtendableExceptionSpec.php class MethodNotExtendableExceptionSpec (line 7) | class MethodNotExtendableExceptionSpec extends ObjectBehavior method let (line 9) | function let() method it_is_DoubleException (line 14) | function it_is_DoubleException() method it_has_MethodName (line 19) | function it_has_MethodName() method it_has_classname (line 24) | function it_has_classname() FILE: spec/Prophecy/Exception/Doubler/MethodNotFoundExceptionSpec.php class MethodNotFoundExceptionSpec (line 7) | class MethodNotFoundExceptionSpec extends ObjectBehavior method let (line 9) | function let() method it_is_DoubleException (line 14) | function it_is_DoubleException() method it_has_MethodName (line 19) | function it_has_MethodName() method it_has_classnamej (line 24) | function it_has_classnamej() method it_has_an_arguments_list (line 29) | function it_has_an_arguments_list() method it_has_a_default_null_argument_list (line 34) | function it_has_a_default_null_argument_list() FILE: spec/Prophecy/Exception/Prediction/AggregateExceptionSpec.php class AggregateExceptionSpec (line 10) | class AggregateExceptionSpec extends ObjectBehavior method let (line 12) | function let() method it_is_prediction_exception (line 17) | function it_is_prediction_exception() method it_can_store_objectProphecy_link (line 23) | function it_can_store_objectProphecy_link(ObjectProphecy $object) method it_should_not_have_exceptions_at_the_beginning (line 29) | function it_should_not_have_exceptions_at_the_beginning() method it_should_append_exception_through_append_method (line 34) | function it_should_append_exception_through_append_method() method it_should_update_message_during_append (line 43) | function it_should_update_message_during_append() method it_should_update_message_during_append_more_exceptions (line 52) | function it_should_update_message_during_append_more_exceptions( FILE: spec/Prophecy/Exception/Prediction/NoCallsExceptionSpec.php class NoCallsExceptionSpec (line 9) | class NoCallsExceptionSpec extends ObjectBehavior method let (line 11) | function let(ObjectProphecy $objectProphecy, MethodProphecy $methodPro... method it_is_PredictionException (line 18) | function it_is_PredictionException() method it_extends_MethodProphecyException (line 23) | function it_extends_MethodProphecyException() FILE: spec/Prophecy/Exception/Prediction/UnexpectedCallsCountExceptionSpec.php class UnexpectedCallsCountExceptionSpec (line 10) | class UnexpectedCallsCountExceptionSpec extends ObjectBehavior method let (line 12) | function let(ObjectProphecy $objectProphecy, MethodProphecy $methodPro... method it_extends_UnexpectedCallsException (line 19) | function it_extends_UnexpectedCallsException() method it_should_expose_expectedCount_through_getter (line 24) | function it_should_expose_expectedCount_through_getter() FILE: spec/Prophecy/Exception/Prediction/UnexpectedCallsExceptionSpec.php class UnexpectedCallsExceptionSpec (line 10) | class UnexpectedCallsExceptionSpec extends ObjectBehavior method let (line 12) | function let(ObjectProphecy $objectProphecy, MethodProphecy $methodPro... method it_is_PredictionException (line 19) | function it_is_PredictionException() method it_extends_MethodProphecyException (line 24) | function it_extends_MethodProphecyException() method it_should_expose_calls_list_through_getter (line 29) | function it_should_expose_calls_list_through_getter($call1, $call2) FILE: spec/Prophecy/Exception/Prophecy/MethodProphecyExceptionSpec.php class MethodProphecyExceptionSpec (line 9) | class MethodProphecyExceptionSpec extends ObjectBehavior method let (line 11) | function let(ObjectProphecy $objectProphecy, MethodProphecy $methodPro... method it_extends_DoubleException (line 18) | function it_extends_DoubleException() method it_holds_a_stub_reference (line 23) | function it_holds_a_stub_reference($methodProphecy) FILE: spec/Prophecy/Exception/Prophecy/ObjectProphecyExceptionSpec.php class ObjectProphecyExceptionSpec (line 8) | class ObjectProphecyExceptionSpec extends ObjectBehavior method let (line 10) | function let(ObjectProphecy $objectProphecy) method it_should_be_a_prophecy_exception (line 15) | function it_should_be_a_prophecy_exception() method it_holds_double_reference (line 20) | function it_holds_double_reference($objectProphecy) FILE: spec/Prophecy/Prediction/CallPredictionSpec.php class CallPredictionSpec (line 12) | class CallPredictionSpec extends ObjectBehavior method it_is_prediction (line 14) | function it_is_prediction() method it_does_nothing_if_there_is_more_than_one_call_been_made (line 19) | function it_does_nothing_if_there_is_more_than_one_call_been_made( method it_throws_NoCallsException_if_no_calls_found (line 27) | function it_throws_NoCallsException_if_no_calls_found( FILE: spec/Prophecy/Prediction/CallTimesPredictionSpec.php class CallTimesPredictionSpec (line 12) | class CallTimesPredictionSpec extends ObjectBehavior method let (line 14) | function let() method it_is_prediction (line 19) | function it_is_prediction() method it_does_nothing_if_there_were_exact_amount_of_calls_being_made (line 24) | function it_does_nothing_if_there_were_exact_amount_of_calls_being_made( method it_throws_UnexpectedCallsCountException_if_calls_found (line 33) | function it_throws_UnexpectedCallsCountException_if_calls_found( FILE: spec/Prophecy/Prediction/CallbackPredictionSpec.php class CallbackPredictionSpec (line 11) | class CallbackPredictionSpec extends ObjectBehavior method let (line 13) | function let() method it_is_prediction (line 18) | function it_is_prediction() method it_proxies_call_to_callback (line 23) | function it_proxies_call_to_callback(ObjectProphecy $object, MethodPro... FILE: spec/Prophecy/Prediction/NoCallsPredictionSpec.php class NoCallsPredictionSpec (line 11) | class NoCallsPredictionSpec extends ObjectBehavior method it_is_prediction (line 13) | function it_is_prediction() method it_does_nothing_if_there_is_no_calls_made (line 18) | function it_does_nothing_if_there_is_no_calls_made(ObjectProphecy $obj... method it_throws_UnexpectedCallsException_if_calls_found (line 23) | function it_throws_UnexpectedCallsException_if_calls_found( FILE: spec/Prophecy/Promise/CallbackPromiseSpec.php class CallbackPromiseSpec (line 9) | class CallbackPromiseSpec extends ObjectBehavior method let (line 11) | function let() method it_is_promise (line 16) | function it_is_promise() method it_should_execute_closure_callback (line 21) | function it_should_execute_closure_callback(ObjectProphecy $object, Me... method it_should_execute_static_array_callback (line 32) | function it_should_execute_static_array_callback(ObjectProphecy $objec... method it_should_execute_instance_array_callback (line 41) | function it_should_execute_instance_array_callback(ObjectProphecy $obj... method it_should_execute_string_function_callback (line 51) | function it_should_execute_string_function_callback(ObjectProphecy $ob... class ClassCallback (line 68) | class ClassCallback method callbackMethod (line 73) | function callbackMethod($args) method staticCallbackMethod (line 81) | static function staticCallbackMethod($args) function functionCallbackFirstArgument (line 93) | function functionCallbackFirstArgument($args) FILE: spec/Prophecy/Promise/ReturnArgumentPromiseSpec.php class ReturnArgumentPromiseSpec (line 9) | class ReturnArgumentPromiseSpec extends ObjectBehavior method it_is_promise (line 11) | function it_is_promise() method it_should_return_first_argument_if_provided (line 16) | function it_should_return_first_argument_if_provided(ObjectProphecy $o... method it_should_return_null_if_no_arguments_provided (line 21) | function it_should_return_null_if_no_arguments_provided(ObjectProphecy... method it_should_return_nth_argument_if_provided (line 26) | function it_should_return_nth_argument_if_provided(ObjectProphecy $obj... FILE: spec/Prophecy/Promise/ReturnPromiseSpec.php class ReturnPromiseSpec (line 9) | class ReturnPromiseSpec extends ObjectBehavior method let (line 11) | function let() method it_is_promise (line 16) | function it_is_promise() method it_returns_value_it_was_constructed_with (line 21) | function it_returns_value_it_was_constructed_with(ObjectProphecy $obje... method it_always_returns_last_value_left_in_the_return_values (line 26) | function it_always_returns_last_value_left_in_the_return_values(Object... method it_consequently_returns_multiple_values_it_was_constructed_with (line 32) | function it_consequently_returns_multiple_values_it_was_constructed_with( method it_returns_null_if_constructed_with_empty_array (line 43) | function it_returns_null_if_constructed_with_empty_array(ObjectProphec... FILE: spec/Prophecy/Promise/ThrowPromiseSpec.php class ThrowPromiseSpec (line 10) | class ThrowPromiseSpec extends ObjectBehavior method let (line 12) | function let() method it_is_promise (line 17) | function it_is_promise() method it_instantiates_and_throws_exception_from_provided_classname (line 22) | function it_instantiates_and_throws_exception_from_provided_classname(... method it_instantiates_exceptions_with_required_arguments (line 30) | function it_instantiates_exceptions_with_required_arguments(ObjectProp... method it_throws_provided_exception (line 38) | function it_throws_provided_exception(ObjectProphecy $object, MethodPr... method it_throws_error_instances (line 45) | function it_throws_error_instances(ObjectProphecy $object, MethodProph... method it_throws_errors_by_class_name (line 56) | function it_throws_errors_by_class_name() method it_does_not_throw_something_that_is_not_throwable_by_class_name (line 67) | function it_does_not_throw_something_that_is_not_throwable_by_class_na... method it_does_not_throw_something_that_is_not_throwable_by_instance (line 74) | function it_does_not_throw_something_that_is_not_throwable_by_instance() method it_throws_an_exception_by_class_name (line 81) | function it_throws_an_exception_by_class_name() method it_throws_an_extension_of_throwable_by_class_name (line 88) | function it_throws_an_extension_of_throwable_by_class_name() method it_throws_a_throwable_by_class_name (line 99) | function it_throws_a_throwable_by_class_name() class RequiredArgumentException (line 111) | class RequiredArgumentException extends \Exception method __construct (line 113) | final public function __construct($message, $code) {} FILE: spec/Prophecy/Prophecy/MethodProphecySpec.php class MethodProphecySpec (line 17) | class MethodProphecySpec extends ObjectBehavior method let (line 19) | function let(ObjectProphecy $objectProphecy, ReflectionClass $reflecti... method it_is_initializable (line 30) | function it_is_initializable() method its_constructor_throws_MethodNotFoundException_for_unexisting_method (line 35) | function its_constructor_throws_MethodNotFoundException_for_unexisting... method its_constructor_throws_MethodProphecyException_for_final_methods (line 47) | function its_constructor_throws_MethodProphecyException_for_final_meth... method its_constructor_transforms_array_passed_as_3rd_argument_to_ArgumentsWildcard (line 60) | function its_constructor_transforms_array_passed_as_3rd_argument_to_Ar... method its_constructor_records_default_callback_promise_for_return_type_hinted_methods (line 69) | function its_constructor_records_default_callback_promise_for_return_t... method its_constructor_records_promise_that_returns_null_for_void_type_hinted_methods (line 82) | function its_constructor_records_promise_that_returns_null_for_void_ty... method its_constructor_adds_itself_to_ObjectProphecy_for_return_type_hinted_methods (line 95) | function its_constructor_adds_itself_to_ObjectProphecy_for_return_type... method it_records_promise_through_will_method (line 108) | function it_records_promise_through_will_method(PromiseInterface $prom... method it_adds_itself_to_ObjectProphecy_during_call_to_will (line 116) | function it_adds_itself_to_ObjectProphecy_during_call_to_will( method it_adds_ReturnPromise_during_willReturn_call (line 125) | function it_adds_ReturnPromise_during_willReturn_call(ObjectProphecy $... method it_adds_CallbackPromise_during_willYield_call (line 133) | function it_adds_CallbackPromise_during_willYield_call(ObjectProphecy ... method it_yields_elements_configured_in_willYield (line 141) | function it_yields_elements_configured_in_willYield(ObjectProphecy $ob... method it_yields_key_value_pairs_configured_in_willYield (line 149) | function it_yields_key_value_pairs_configured_in_willYield(ObjectProph... method it_yields_and_return_elements_configured_in_willYield (line 157) | function it_yields_and_return_elements_configured_in_willYield(ObjectP... method it_adds_ThrowPromise_during_willThrow_call (line 167) | function it_adds_ThrowPromise_during_willThrow_call(ObjectProphecy $ob... method it_adds_ReturnArgumentPromise_during_willReturnArgument_call (line 175) | function it_adds_ReturnArgumentPromise_during_willReturnArgument_call(... method it_adds_ReturnArgumentPromise_during_willReturnArgument_call_with_index_argument (line 183) | function it_adds_ReturnArgumentPromise_during_willReturnArgument_call_... method it_adds_CallbackPromise_during_will_call_with_callback_argument (line 194) | function it_adds_CallbackPromise_during_will_call_with_callback_argume... method it_records_prediction_through_should_method (line 204) | function it_records_prediction_through_should_method( method it_adds_CallbackPrediction_during_should_call_with_callback_argument (line 214) | function it_adds_CallbackPrediction_during_should_call_with_callback_a... method it_adds_itself_to_ObjectProphecy_during_call_to_should (line 224) | function it_adds_itself_to_ObjectProphecy_during_call_to_should( method it_adds_CallPrediction_during_shouldBeCalled_call (line 233) | function it_adds_CallPrediction_during_shouldBeCalled_call($objectProp... method it_adds_NoCallsPrediction_during_shouldNotBeCalled_call (line 241) | function it_adds_NoCallsPrediction_during_shouldNotBeCalled_call(Objec... method it_adds_CallTimesPrediction_during_shouldBeCalledTimes_call (line 249) | function it_adds_CallTimesPrediction_during_shouldBeCalledTimes_call(O... method it_adds_CallTimesPrediction_during_shouldBeCalledOnce_call (line 257) | function it_adds_CallTimesPrediction_during_shouldBeCalledOnce_call(Ob... method it_checks_prediction_via_shouldHave_method_call (line 265) | function it_checks_prediction_via_shouldHave_method_call( method it_sets_return_promise_during_shouldHave_call_if_none_was_set_before (line 280) | function it_sets_return_promise_during_shouldHave_call_if_none_was_set... method it_does_not_set_return_promise_during_shouldHave_call_if_it_was_set_before (line 301) | function it_does_not_set_return_promise_during_shouldHave_call_if_it_w... method it_records_checked_predictions (line 320) | function it_records_checked_predictions( method it_records_even_failed_checked_predictions (line 342) | function it_records_even_failed_checked_predictions( method it_checks_prediction_via_shouldHave_method_call_with_callback (line 365) | function it_checks_prediction_via_shouldHave_method_call_with_callback( method it_does_nothing_during_checkPrediction_if_no_prediction_set (line 381) | function it_does_nothing_during_checkPrediction_if_no_prediction_set() method it_checks_set_prediction_during_checkPrediction (line 386) | function it_checks_set_prediction_during_checkPrediction( method it_links_back_to_ObjectProphecy_through_getter (line 402) | function it_links_back_to_ObjectProphecy_through_getter(ObjectProphecy... method it_has_MethodName (line 407) | function it_has_MethodName() method it_contains_ArgumentsWildcard_it_was_constructed_with (line 412) | function it_contains_ArgumentsWildcard_it_was_constructed_with( method its_ArgumentWildcard_is_mutable_through_setter (line 421) | function its_ArgumentWildcard_is_mutable_through_setter(ArgumentsWildc... method its_withArguments_transforms_passed_array_into_ArgumentsWildcard (line 428) | function its_withArguments_transforms_passed_array_into_ArgumentsWildc... method its_withArguments_throws_exception_if_wrong_arguments_provided (line 437) | function its_withArguments_throws_exception_if_wrong_arguments_provided() method it_returns_null_for_void_return_type (line 442) | function it_returns_null_for_void_return_type(ObjectProphecy $objectPr... method it_returns_empty_string_for_string_return_type (line 450) | function it_returns_empty_string_for_string_return_type(ObjectProphecy... method it_returns_zero_for_float_return_type (line 458) | function it_returns_zero_for_float_return_type(ObjectProphecy $objectP... method it_returns_false_for_bool_return_type (line 466) | function it_returns_false_for_bool_return_type(ObjectProphecy $objectP... method it_returns_empty_for_array_return_type (line 474) | function it_returns_empty_for_array_return_type(ObjectProphecy $object... method it_returns_empty_closure_for_callable_return_type (line 482) | function it_returns_empty_closure_for_callable_return_type(ObjectProph... method it_returns_empty_closure_for_closure_return_type (line 490) | function it_returns_empty_closure_for_closure_return_type(ObjectProphe... method it_returns_null_generator_for_traversable_return_type (line 498) | function it_returns_null_generator_for_traversable_return_type(ObjectP... method it_returns_null_generator_for_generator_return_type (line 506) | function it_returns_null_generator_for_generator_return_type(ObjectPro... method it_returns_an_object_prophecy_for_other_object_return_types (line 514) | function it_returns_an_object_prophecy_for_other_object_return_types(O... method it_returns_object_prophecy_for_nullable_return_type (line 524) | function it_returns_object_prophecy_for_nullable_return_type(ObjectPro... method it_returns_scalar_prophecy_for_scalar_and_null_union (line 534) | function it_returns_scalar_prophecy_for_scalar_and_null_union(ObjectPr... method it_returns_object_prophecy_for_object_scalar_union (line 546) | function it_returns_object_prophecy_for_object_scalar_union(ObjectProp... method it_returns_object_prophecy_for_object_return_type (line 560) | function it_returns_object_prophecy_for_object_return_type(ObjectProph... method it_throws_for_non_existent_class_return_type (line 569) | function it_throws_for_non_existent_class_return_type(ObjectProphecy $... method it_returns_true_prophecy_for_true_return_type (line 577) | function it_returns_true_prophecy_for_true_return_type(ObjectProphecy ... method it_returns_false_prophecy_for_false_return_type (line 589) | function it_returns_false_prophecy_for_false_return_type(ObjectProphec... method it_returns_null_prophecy_for_null_return_type (line 601) | function it_returns_null_prophecy_for_null_return_type(ObjectProphecy ... method generateMethodProphecyWithReturnValue (line 613) | private function generateMethodProphecyWithReturnValue($objectProphecy... class ClassWithFinalMethod (line 630) | class ClassWithFinalMethod method finalMethod (line 632) | final public function finalMethod() {} class ClassWithVoidTypeHintedMethods (line 635) | class ClassWithVoidTypeHintedMethods method getVoid (line 637) | public function getVoid(): void {} FILE: spec/Prophecy/Prophecy/ObjectProphecySpec.php class ObjectProphecySpec (line 16) | class ObjectProphecySpec extends ObjectBehavior method let (line 18) | function let(LazyDouble $lazyDouble, ProphecySubjectInterface $double) method it_implements_ProphecyInterface (line 25) | function it_implements_ProphecyInterface() method it_sets_parentClass_during_willExtend_call (line 30) | function it_sets_parentClass_during_willExtend_call($lazyDouble) method it_adds_interface_during_willImplement_call (line 37) | function it_adds_interface_during_willImplement_call($lazyDouble) method it_sets_constructor_arguments_during_willBeConstructedWith_call (line 44) | function it_sets_constructor_arguments_during_willBeConstructedWith_ca... method it_does_not_have_method_prophecies_by_default (line 51) | function it_does_not_have_method_prophecies_by_default() method it_should_get_method_prophecies_by_method_name (line 56) | function it_should_get_method_prophecies_by_method_name( method it_should_return_empty_array_if_no_method_prophecies_found (line 74) | function it_should_return_empty_array_if_no_method_prophecies_found() method it_should_proxy_makeProphecyMethodCall_to_CallCenter (line 80) | function it_should_proxy_makeProphecyMethodCall_to_CallCenter($lazyDou... method it_should_reveal_arguments_and_return_values_from_callCenter (line 89) | function it_should_reveal_arguments_and_return_values_from_callCenter( method it_should_proxy_getProphecyMethodCalls_to_CallCenter (line 104) | function it_should_proxy_getProphecyMethodCalls_to_CallCenter( method its_addMethodProphecy_adds_method_prophecy (line 117) | function its_addMethodProphecy_adds_method_prophecy( method its_addMethodProphecy_handles_prophecies_with_different_arguments (line 131) | function its_addMethodProphecy_handles_prophecies_with_different_argum... method its_addMethodProphecy_handles_prophecies_for_caseinsensitive_method_names (line 154) | function its_addMethodProphecy_handles_prophecies_for_caseinsensitive_... method its_addMethodProphecy_handles_prophecies_for_different_methods (line 177) | function its_addMethodProphecy_handles_prophecies_for_different_methods( method it_returns_null_after_checkPredictions_call_if_there_is_no_method_prophecies (line 202) | function it_returns_null_after_checkPredictions_call_if_there_is_no_me... method it_throws_AggregateException_during_checkPredictions_if_predictions_fail (line 207) | function it_throws_AggregateException_during_checkPredictions_if_predi... method it_returns_new_MethodProphecy_instance_for_arbitrary_call (line 229) | function it_returns_new_MethodProphecy_instance_for_arbitrary_call( method it_returns_same_MethodProphecy_for_same_registered_signature (line 240) | function it_returns_same_MethodProphecy_for_same_registered_signature( method it_returns_new_MethodProphecy_for_different_signatures (line 252) | function it_returns_new_MethodProphecy_for_different_signatures( method it_returns_new_MethodProphecy_for_all_callback_signatures (line 267) | function it_returns_new_MethodProphecy_for_all_callback_signatures( method it_throws_UnexpectedCallException_during_checkPredictions_if_unexpected_method_was_called (line 279) | function it_throws_UnexpectedCallException_during_checkPredictions_if_... class ObjectProphecySpecFixtureA (line 291) | class ObjectProphecySpecFixtureA class ObjectProphecySpecFixtureB (line 296) | class ObjectProphecySpecFixtureB extends ObjectProphecySpecFixtureA method __construct (line 301) | public function __construct($value) FILE: spec/Prophecy/Prophecy/RevealerSpec.php class RevealerSpec (line 8) | class RevealerSpec extends ObjectBehavior method it_is_revealer (line 10) | function it_is_revealer() method it_reveals_single_instance_of_ProphecyInterface (line 15) | function it_reveals_single_instance_of_ProphecyInterface(ProphecyInter... method it_reveals_instances_of_ProphecyInterface_inside_array (line 22) | function it_reveals_instances_of_ProphecyInterface_inside_array( method it_does_not_touch_non_prophecy_interface (line 40) | function it_does_not_touch_non_prophecy_interface() FILE: spec/Prophecy/ProphetSpec.php class ProphetSpec (line 12) | class ProphetSpec extends ObjectBehavior method let (line 14) | function let(Doubler $doubler, ProphecySubjectInterface $double) method it_constructs_new_prophecy_on_prophesize_call (line 21) | function it_constructs_new_prophecy_on_prophesize_call() method it_constructs_new_prophecy_with_parent_class_if_specified (line 27) | function it_constructs_new_prophecy_with_parent_class_if_specified($do... method it_constructs_new_prophecy_with_interface_if_specified (line 34) | function it_constructs_new_prophecy_with_interface_if_specified($doubl... method it_exposes_all_created_prophecies_through_getter (line 41) | function it_exposes_all_created_prophecies_through_getter() method it_does_nothing_during_checkPredictions_call_if_no_predictions_defined (line 49) | function it_does_nothing_during_checkPredictions_call_if_no_prediction... method it_throws_AggregateException_if_defined_predictions_fail (line 54) | function it_throws_AggregateException_if_defined_predictions_fail( method it_exposes_doubler_through_getter (line 77) | function it_exposes_doubler_through_getter($doubler) method it_throws_ClassNotFound_if_class_to_prophesize_does_not_exist (line 82) | function it_throws_ClassNotFound_if_class_to_prophesize_does_not_exist() method it_does_not_throw_when_creating_void_mock (line 89) | function it_does_not_throw_when_creating_void_mock() FILE: spec/Prophecy/Util/StringUtilSpec.php class StringUtilSpec (line 7) | class StringUtilSpec extends ObjectBehavior method it_generates_proper_string_representation_for_integer (line 9) | function it_generates_proper_string_representation_for_integer() method it_generates_proper_string_representation_for_string (line 14) | function it_generates_proper_string_representation_for_string() method it_generates_single_line_representation_for_multiline_string (line 19) | function it_generates_single_line_representation_for_multiline_string() method it_generates_proper_string_representation_for_double (line 24) | function it_generates_proper_string_representation_for_double() method it_generates_proper_string_representation_for_boolean_true (line 29) | function it_generates_proper_string_representation_for_boolean_true() method it_generates_proper_string_representation_for_boolean_false (line 34) | function it_generates_proper_string_representation_for_boolean_false() method it_generates_proper_string_representation_for_null (line 39) | function it_generates_proper_string_representation_for_null() method it_generates_proper_string_representation_for_empty_array (line 44) | function it_generates_proper_string_representation_for_empty_array() method it_generates_proper_string_representation_for_array (line 49) | function it_generates_proper_string_representation_for_array() method it_generates_proper_string_representation_for_hash_containing_one_value (line 54) | function it_generates_proper_string_representation_for_hash_containing... method it_generates_proper_string_representation_for_hash (line 59) | function it_generates_proper_string_representation_for_hash() method it_generates_proper_string_representation_for_resource (line 66) | function it_generates_proper_string_representation_for_resource() method it_generates_proper_string_representation_for_object (line 72) | function it_generates_proper_string_representation_for_object(\stdClas... method it_generates_proper_string_representation_for_object_without_exporting (line 83) | function it_generates_proper_string_representation_for_object_without_... FILE: src/Prophecy/Argument.php class Argument (line 21) | class Argument method exact (line 30) | public static function exact($value) method type (line 42) | public static function type($type) method which (line 55) | public static function which($methodName, $value) method that (line 68) | public static function that($callback, ?string $customStringRepresenta... method any (line 78) | public static function any() method cetera (line 88) | public static function cetera() method allOf (line 100) | public static function allOf(...$tokens) method size (line 112) | public static function size($value) method withEntry (line 125) | public static function withEntry($key, $value) method withEveryEntry (line 137) | public static function withEveryEntry($value) method containing (line 149) | public static function containing($value) method withKey (line 161) | public static function withKey($key) method not (line 173) | public static function not($value) method containingString (line 183) | public static function containingString($value) method is (line 195) | public static function is($value) method approximate (line 209) | public static function approximate($value, $precision = 0) method in (line 222) | public static function in($value) method notIn (line 235) | public static function notIn($value) FILE: src/Prophecy/Argument/ArgumentsWildcard.php class ArgumentsWildcard (line 19) | class ArgumentsWildcard method __construct (line 35) | public function __construct(array $arguments) method scoreArguments (line 53) | public function scoreArguments(array $arguments) method __toString (line 86) | public function __toString() method getTokens (line 100) | public function getTokens() FILE: src/Prophecy/Argument/Token/AnyValueToken.php class AnyValueToken (line 19) | class AnyValueToken implements TokenInterface method scoreArgument (line 28) | public function scoreArgument($argument) method isLast (line 38) | public function isLast() method __toString (line 48) | public function __toString() FILE: src/Prophecy/Argument/Token/AnyValuesToken.php class AnyValuesToken (line 19) | class AnyValuesToken implements TokenInterface method scoreArgument (line 28) | public function scoreArgument($argument) method isLast (line 38) | public function isLast() method __toString (line 48) | public function __toString() FILE: src/Prophecy/Argument/Token/ApproximateValueToken.php class ApproximateValueToken (line 19) | class ApproximateValueToken implements TokenInterface method __construct (line 28) | public function __construct($value, $precision = 0) method scoreArgument (line 37) | public function scoreArgument($argument) method isLast (line 49) | public function isLast() method __toString (line 59) | public function __toString() FILE: src/Prophecy/Argument/Token/ArrayCountToken.php class ArrayCountToken (line 20) | class ArrayCountToken implements TokenInterface method __construct (line 27) | public function __construct($value) method scoreArgument (line 39) | public function scoreArgument($argument) method isLast (line 49) | public function isLast() method __toString (line 59) | public function __toString() method isCountable (line 72) | private function isCountable($argument) method hasProperCount (line 84) | private function hasProperCount($argument) FILE: src/Prophecy/Argument/Token/ArrayEntryToken.php class ArrayEntryToken (line 21) | class ArrayEntryToken implements TokenInterface method __construct (line 32) | public function __construct($key, $value) method scoreArgument (line 47) | public function scoreArgument($argument) method isLast (line 75) | public function isLast() method __toString (line 85) | public function __toString() method getKey (line 95) | public function getKey() method getValue (line 105) | public function getValue() method wrapIntoExactValueToken (line 116) | private function wrapIntoExactValueToken($value) method convertArrayAccessToEntry (line 129) | private function convertArrayAccessToEntry(\ArrayAccess $object) FILE: src/Prophecy/Argument/Token/ArrayEveryEntryToken.php class ArrayEveryEntryToken (line 19) | class ArrayEveryEntryToken implements TokenInterface method __construct (line 29) | public function __construct($value) method scoreArgument (line 41) | public function scoreArgument($argument) method isLast (line 62) | public function isLast() method __toString (line 70) | public function __toString() method getValue (line 78) | public function getValue() FILE: src/Prophecy/Argument/Token/CallbackToken.php class CallbackToken (line 21) | class CallbackToken implements TokenInterface method __construct (line 38) | public function __construct($callback, ?string $customStringRepresenta... method scoreArgument (line 58) | public function scoreArgument($argument) method isLast (line 68) | public function isLast() method __toString (line 78) | public function __toString() FILE: src/Prophecy/Argument/Token/ExactValueToken.php class ExactValueToken (line 24) | class ExactValueToken implements TokenInterface method __construct (line 39) | public function __construct($value, ?StringUtil $util = null, ?Compara... method scoreArgument (line 54) | public function scoreArgument($argument) method getValue (line 96) | public function getValue() method isLast (line 106) | public function isLast() method __toString (line 116) | public function __toString() FILE: src/Prophecy/Argument/Token/IdenticalValueToken.php class IdenticalValueToken (line 21) | class IdenticalValueToken implements TokenInterface method __construct (line 35) | public function __construct($value, ?StringUtil $util = null) method scoreArgument (line 48) | public function scoreArgument($argument) method isLast (line 58) | public function isLast() method __toString (line 68) | public function __toString() FILE: src/Prophecy/Argument/Token/InArrayToken.php class InArrayToken (line 19) | class InArrayToken implements TokenInterface method __construct (line 28) | public function __construct(array $arguments, $strict = true) method scoreArgument (line 41) | public function scoreArgument($argument) method isLast (line 59) | public function isLast() method __toString (line 69) | public function __toString() FILE: src/Prophecy/Argument/Token/LogicalAndToken.php class LogicalAndToken (line 19) | class LogicalAndToken implements TokenInterface method __construct (line 29) | public function __construct(array $arguments) method scoreArgument (line 46) | public function scoreArgument($argument) method isLast (line 69) | public function isLast() method __toString (line 79) | public function __toString() FILE: src/Prophecy/Argument/Token/LogicalNotToken.php class LogicalNotToken (line 19) | class LogicalNotToken implements TokenInterface method __construct (line 27) | public function __construct($value) method scoreArgument (line 39) | public function scoreArgument($argument) method isLast (line 49) | public function isLast() method getOriginatingToken (line 59) | public function getOriginatingToken() method __toString (line 69) | public function __toString() FILE: src/Prophecy/Argument/Token/NotInArrayToken.php class NotInArrayToken (line 19) | class NotInArrayToken implements TokenInterface method __construct (line 28) | public function __construct(array $arguments, $strict = true) method scoreArgument (line 41) | public function scoreArgument($argument) method isLast (line 59) | public function isLast() method __toString (line 69) | public function __toString() FILE: src/Prophecy/Argument/Token/ObjectStateToken.php class ObjectStateToken (line 24) | class ObjectStateToken implements TokenInterface method __construct (line 37) | public function __construct( method scoreArgument (line 57) | public function scoreArgument($argument) method isLast (line 87) | public function isLast() method __toString (line 97) | public function __toString() FILE: src/Prophecy/Argument/Token/StringContainsToken.php class StringContainsToken (line 19) | class StringContainsToken implements TokenInterface method __construct (line 28) | public function __construct($value) method scoreArgument (line 33) | public function scoreArgument($argument) method getValue (line 43) | public function getValue() method isLast (line 53) | public function isLast() method __toString (line 63) | public function __toString() FILE: src/Prophecy/Argument/Token/TokenInterface.php type TokenInterface (line 19) | interface TokenInterface method scoreArgument (line 28) | public function scoreArgument($argument); method isLast (line 35) | public function isLast(); method __toString (line 42) | public function __toString(); FILE: src/Prophecy/Argument/Token/TypeToken.php class TypeToken (line 21) | class TypeToken implements TokenInterface method __construct (line 28) | public function __construct($type) method scoreArgument (line 47) | public function scoreArgument($argument) method isLast (line 62) | public function isLast() method __toString (line 72) | public function __toString() FILE: src/Prophecy/Call/Call.php class Call (line 22) | class Call method __construct (line 51) | public function __construct($methodName, array $arguments, $returnValue, method getMethodName (line 71) | public function getMethodName() method getArguments (line 81) | public function getArguments() method getReturnValue (line 91) | public function getReturnValue() method getException (line 101) | public function getException() method getFile (line 111) | public function getFile() method getLine (line 121) | public function getLine() method getCallPlace (line 131) | public function getCallPlace() method addScore (line 148) | public function addScore(ArgumentsWildcard $wildcard, $score) method getScore (line 163) | public function getScore(ArgumentsWildcard $wildcard) FILE: src/Prophecy/Call/CallCenter.php class CallCenter (line 27) | class CallCenter method __construct (line 46) | public function __construct(?StringUtil $util = null) method makeCall (line 63) | public function makeCall(ObjectProphecy $prophecy, $methodName, array ... method findCalls (line 136) | public function findCalls($methodName, ArgumentsWildcard $wildcard) method checkUnexpectedCalls (line 153) | public function checkUnexpectedCalls() method createUnexpectedCallException (line 172) | private function createUnexpectedCallException(ObjectProphecy $prophec... method indentArguments (line 225) | private function indentArguments(array $arguments, $indentationLength) method findMethodProphecies (line 245) | private function findMethodProphecies(ObjectProphecy $prophecy, $metho... FILE: src/Prophecy/Comparator/ClosureComparator.php class ClosureComparator (line 22) | final class ClosureComparator extends Comparator method accepts (line 28) | public function accepts($expected, $actual): bool method assertEquals (line 41) | public function assertEquals($expected, $actual, $delta = 0.0, $canoni... FILE: src/Prophecy/Comparator/Factory.php class Factory (line 23) | final class Factory extends BaseFactory method __construct (line 30) | public function __construct() method getInstance (line 41) | public static function getInstance() FILE: src/Prophecy/Comparator/FactoryProvider.php class FactoryProvider (line 21) | final class FactoryProvider method __construct (line 28) | private function __construct() {} method getInstance (line 30) | public static function getInstance(): Factory FILE: src/Prophecy/Comparator/ProphecyComparator.php class ProphecyComparator (line 21) | class ProphecyComparator extends Comparator method accepts (line 27) | public function accepts($expected, $actual): bool method assertEquals (line 39) | public function assertEquals($expected, $actual, $delta = 0.0, $canoni... method getComparatorFactory (line 45) | private function getComparatorFactory(): Factory FILE: src/Prophecy/Doubler/CachedDoubler.php class CachedDoubler (line 22) | class CachedDoubler extends Doubler method createDoubleClass (line 29) | protected function createDoubleClass(?ReflectionClass $class, array $i... method generateClassId (line 45) | private function generateClassId(?ReflectionClass $class, array $inter... method resetCache (line 65) | public function resetCache() FILE: src/Prophecy/Doubler/ClassPatch/ClassPatchInterface.php type ClassPatchInterface (line 23) | interface ClassPatchInterface method supports (line 32) | public function supports(ClassNode $node); method apply (line 40) | public function apply(ClassNode $node); method getPriority (line 47) | public function getPriority(); FILE: src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php class DisableConstructorPatch (line 26) | class DisableConstructorPatch implements ClassPatchInterface method supports (line 35) | public function supports(ClassNode $node) method apply (line 45) | public function apply(ClassNode $node) method getPriority (line 103) | public function getPriority() FILE: src/Prophecy/Doubler/ClassPatch/KeywordPatch.php class KeywordPatch (line 21) | class KeywordPatch implements ClassPatchInterface method supports (line 30) | public function supports(ClassNode $node) method apply (line 40) | public function apply(ClassNode $node) method getPriority (line 54) | public function getPriority() method getKeywords (line 64) | private function getKeywords() FILE: src/Prophecy/Doubler/ClassPatch/MagicCallPatch.php class MagicCallPatch (line 27) | class MagicCallPatch implements ClassPatchInterface method __construct (line 33) | public function __construct(?MethodTagRetrieverInterface $tagRetriever... method supports (line 45) | public function supports(ClassNode $node) method apply (line 55) | public function apply(ClassNode $node) method getPriority (line 110) | public function getPriority() FILE: src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php class ProphecySubjectPatch (line 26) | class ProphecySubjectPatch implements ClassPatchInterface method supports (line 35) | public function supports(ClassNode $node) method apply (line 45) | public function apply(ClassNode $node) method getPriority (line 110) | public function getPriority() FILE: src/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatch.php class ReflectionClassNewInstancePatch (line 22) | class ReflectionClassNewInstancePatch implements ClassPatchInterface method supports (line 31) | public function supports(ClassNode $node) method apply (line 41) | public function apply(ClassNode $node) method getPriority (line 55) | public function getPriority() FILE: src/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.php class SplFileInfoPatch (line 23) | class SplFileInfoPatch implements ClassPatchInterface method supports (line 32) | public function supports(ClassNode $node) method apply (line 44) | public function apply(ClassNode $node) method getPriority (line 82) | public function getPriority() method nodeIsDirectoryIterator (line 91) | private function nodeIsDirectoryIterator(ClassNode $node) method nodeIsSplFileObject (line 103) | private function nodeIsSplFileObject(ClassNode $node) method nodeIsSymfonySplFileInfo (line 115) | private function nodeIsSymfonySplFileInfo(ClassNode $node) FILE: src/Prophecy/Doubler/ClassPatch/ThrowablePatch.php class ThrowablePatch (line 8) | class ThrowablePatch implements ClassPatchInterface method supports (line 16) | public function supports(ClassNode $node) method implementsAThrowableInterface (line 25) | private function implementsAThrowableInterface(ClassNode $node) method doesNotExtendAThrowableClass (line 40) | private function doesNotExtendAThrowableClass(ClassNode $node) method apply (line 52) | public function apply(ClassNode $node) method checkItCanBeDoubled (line 58) | private function checkItCanBeDoubled(ClassNode $node): void method setParentClassToException (line 72) | private function setParentClassToException(ClassNode $node): void method getPriority (line 91) | public function getPriority() FILE: src/Prophecy/Doubler/ClassPatch/TraversablePatch.php class TraversablePatch (line 25) | class TraversablePatch implements ClassPatchInterface method supports (line 34) | public function supports(ClassNode $node) method apply (line 65) | public function apply(ClassNode $node) method getPriority (line 95) | public function getPriority() FILE: src/Prophecy/Doubler/DoubleInterface.php type DoubleInterface (line 20) | interface DoubleInterface {} FILE: src/Prophecy/Doubler/Doubler.php class Doubler (line 27) | class Doubler method __construct (line 43) | public function __construct(?ClassMirror $mirror = null, ?ClassCreator... method getClassPatches (line 56) | public function getClassPatches() method registerClassPatch (line 68) | public function registerClassPatch(ClassPatchInterface $patch) method double (line 90) | public function double(?ReflectionClass $class, array $interfaces, ?ar... method createDoubleClass (line 130) | protected function createDoubleClass(?ReflectionClass $class, array $i... FILE: src/Prophecy/Doubler/Generator/ClassCodeGenerator.php class ClassCodeGenerator (line 22) | class ClassCodeGenerator method __construct (line 25) | public function __construct() {} method generate (line 35) | public function generate($classname, Node\ClassNode $class) method generateMethod (line 63) | private function generateMethod(Node\MethodNode $method): string method generateTypes (line 78) | private function generateTypes(TypeNodeAbstract $typeNode): string method generateArguments (line 92) | private function generateArguments(array $arguments): array FILE: src/Prophecy/Doubler/Generator/ClassCreator.php class ClassCreator (line 22) | class ClassCreator method __construct (line 26) | public function __construct(?ClassCodeGenerator $generator = null) method create (line 41) | public function create($classname, Node\ClassNode $class) FILE: src/Prophecy/Doubler/Generator/ClassMirror.php class ClassMirror (line 38) | class ClassMirror method reflect (line 59) | public function reflect(?ReflectionClass $class, array $interfaces) method reflectClassToNode (line 102) | private function reflectClassToNode(ReflectionClass $class, Node\Class... method reflectInterfaceToNode (line 142) | private function reflectInterfaceToNode(ReflectionClass $interface, No... method reflectMethodToNode (line 151) | private function reflectMethodToNode(ReflectionMethod $method, Node\Cl... method reflectArgumentToNode (line 197) | private function reflectArgumentToNode(ReflectionParameter $parameter,... method hasDefaultValue (line 223) | private function hasDefaultValue(ReflectionParameter $parameter): bool method getDefaultValue (line 239) | private function getDefaultValue(ReflectionParameter $parameter) method createTypeFromReflection (line 251) | private function createTypeFromReflection(ReflectionType $type, Reflec... method resolveTypeName (line 314) | private function resolveTypeName(string $name, \ReflectionClass $conte... FILE: src/Prophecy/Doubler/Generator/Node/ArgumentNode.php class ArgumentNode (line 19) | class ArgumentNode method __construct (line 47) | public function __construct($name) method getName (line 56) | public function getName() method setTypeNode (line 64) | public function setTypeNode(ArgumentTypeNode $typeNode) method getTypeNode (line 69) | public function getTypeNode(): ArgumentTypeNode method hasDefault (line 77) | public function hasDefault() method getDefault (line 85) | public function getDefault() method setDefault (line 95) | public function setDefault($default = null) method isOptional (line 104) | public function isOptional() method setAsPassedByReference (line 114) | public function setAsPassedByReference($byReference = true) method isPassedByReference (line 122) | public function isPassedByReference() method setAsVariadic (line 132) | public function setAsVariadic($isVariadic = true) method isVariadic (line 140) | public function isVariadic() method getTypeHint (line 149) | public function getTypeHint() method setTypeHint (line 162) | public function setTypeHint($typeHint = null) method isNullable (line 171) | public function isNullable() method setAsNullable (line 182) | public function setAsNullable($isNullable = true) FILE: src/Prophecy/Doubler/Generator/Node/ArgumentTypeNode.php class ArgumentTypeNode (line 5) | class ArgumentTypeNode extends TypeNodeAbstract {} FILE: src/Prophecy/Doubler/Generator/Node/ClassNode.php class ClassNode (line 22) | class ClassNode method getParentClass (line 58) | public function getParentClass() method setParentClass (line 68) | public function setParentClass($class) method getInterfaces (line 76) | public function getInterfaces() method addInterface (line 86) | public function addInterface($interface) method hasInterface (line 100) | public function hasInterface($interface) method getProperties (line 110) | public function getProperties() method addProperty (line 123) | public function addProperty($name, $visibility = 'public') method getMethods (line 139) | public function getMethods() method addMethod (line 150) | public function addMethod(MethodNode $method, $force = false) method removeMethod (line 169) | public function removeMethod($name) method getMethod (line 179) | public function getMethod($name) method hasMethod (line 189) | public function hasMethod($name) method getUnextendableMethods (line 197) | public function getUnextendableMethods() method addUnextendableMethod (line 207) | public function addUnextendableMethod($unextendableMethod) method isExtendable (line 220) | public function isExtendable($method) method isReadOnly (line 228) | public function isReadOnly() method setReadOnly (line 238) | public function setReadOnly($readOnly) FILE: src/Prophecy/Doubler/Generator/Node/MethodNode.php class MethodNode (line 21) | class MethodNode method __construct (line 53) | public function __construct($name, $code = null) method getVisibility (line 65) | public function getVisibility() method setVisibility (line 75) | public function setVisibility($visibility) method isStatic (line 91) | public function isStatic() method setStatic (line 101) | public function setStatic($static = true) method returnsReference (line 109) | public function returnsReference() method setReturnsReference (line 117) | public function setReturnsReference() method getName (line 125) | public function getName() method addArgument (line 133) | public function addArgument(ArgumentNode $argument) method getArguments (line 141) | public function getArguments() method hasReturnType (line 150) | public function hasReturnType() method setReturnTypeNode (line 155) | public function setReturnTypeNode(ReturnTypeNode $returnTypeNode): void method setReturnType (line 166) | public function setReturnType($type = null) method setNullableReturnType (line 177) | public function setNullableReturnType($bool = true) method getReturnType (line 190) | public function getReturnType() method getReturnTypeNode (line 199) | public function getReturnTypeNode(): ReturnTypeNode method hasNullableReturnType (line 208) | public function hasNullableReturnType() method setCode (line 218) | public function setCode($code) method getCode (line 226) | public function getCode() method useParentCode (line 238) | public function useParentCode() method generateArgument (line 250) | private function generateArgument(ArgumentNode $arg) FILE: src/Prophecy/Doubler/Generator/Node/ReturnTypeNode.php class ReturnTypeNode (line 7) | final class ReturnTypeNode extends TypeNodeAbstract method isBuiltIn (line 9) | protected function isBuiltIn(string $type): bool method isVoid (line 25) | public function isVoid(): bool method hasReturnStatement (line 34) | public function hasReturnStatement(): bool FILE: src/Prophecy/Doubler/Generator/Node/Type/BuiltinType.php class BuiltinType (line 5) | final class BuiltinType implements SimpleType method __construct (line 7) | public function __construct(private readonly string $type) {} method __toString (line 9) | public function __toString(): string method getType (line 14) | public function getType(): string method equals (line 19) | public function equals(TypeInterface $givenType): bool FILE: src/Prophecy/Doubler/Generator/Node/Type/IntersectionType.php class IntersectionType (line 7) | final class IntersectionType implements TypeInterface method __construct (line 12) | public function __construct(private array $types) method getTypes (line 20) | public function getTypes(): array method has (line 28) | private function has(SimpleType $givenType): bool method equals (line 39) | public function equals(TypeInterface $givenType): bool method guard (line 58) | private function guard(): void method __toString (line 71) | public function __toString(): string FILE: src/Prophecy/Doubler/Generator/Node/Type/ObjectType.php class ObjectType (line 5) | final class ObjectType implements SimpleType method __construct (line 10) | public function __construct(private readonly string $type) {} method __toString (line 12) | public function __toString(): string method getType (line 20) | public function getType(): string method equals (line 25) | public function equals(TypeInterface $givenType): bool FILE: src/Prophecy/Doubler/Generator/Node/Type/SimpleType.php type SimpleType (line 5) | interface SimpleType extends TypeInterface method getType (line 7) | public function getType(): string; FILE: src/Prophecy/Doubler/Generator/Node/Type/TypeInterface.php type TypeInterface (line 5) | interface TypeInterface extends \Stringable method equals (line 7) | public function equals(TypeInterface $givenType): bool; FILE: src/Prophecy/Doubler/Generator/Node/Type/UnionType.php class UnionType (line 7) | final class UnionType implements TypeInterface method __construct (line 12) | public function __construct(private array $types) method getTypes (line 20) | public function getTypes(): array method guard (line 25) | private function guard(): void method has (line 69) | public function has(SimpleType|IntersectionType $givenType): bool method equals (line 80) | public function equals(TypeInterface $givenType): bool method __toString (line 99) | public function __toString(): string FILE: src/Prophecy/Doubler/Generator/Node/TypeNodeAbstract.php class TypeNodeAbstract (line 13) | abstract class TypeNodeAbstract method __construct (line 21) | public function __construct(string|TypeInterface|null $type = null, st... method canUseNullShorthand (line 71) | public function canUseNullShorthand(): bool method isNullable (line 85) | public function isNullable(): bool method getTypes (line 102) | public function getTypes(): array method getType (line 130) | public function getType(): ?TypeInterface method getNonNullTypes (line 139) | public function getNonNullTypes(): array method normalizeBuiltinType (line 173) | private function normalizeBuiltinType(string $type): string method isBuiltIn (line 189) | protected function isBuiltIn(string $type): bool method removePrefixNsSeparator (line 222) | protected function removePrefixNsSeparator(string $type): string FILE: src/Prophecy/Doubler/Generator/ReflectionInterface.php type ReflectionInterface (line 20) | interface ReflectionInterface {} FILE: src/Prophecy/Doubler/Generator/TypeHintReference.php class TypeHintReference (line 11) | final class TypeHintReference method isBuiltInParamTypeHint (line 18) | public function isBuiltInParamTypeHint($type) method isBuiltInReturnTypeHint (line 43) | public function isBuiltInReturnTypeHint($type) FILE: src/Prophecy/Doubler/LazyDouble.php class LazyDouble (line 27) | class LazyDouble method __construct (line 47) | public function __construct(Doubler $doubler) method setParentClass (line 66) | public function setParentClass($class) method addInterface (line 99) | public function addInterface($interface) method setArguments (line 128) | public function setArguments(?array $arguments = null) method getInstance (line 138) | public function getInstance() FILE: src/Prophecy/Doubler/NameGenerator.php class NameGenerator (line 22) | class NameGenerator method name (line 37) | public function name(?ReflectionClass $class, array $interfaces) FILE: src/Prophecy/Exception/Call/UnexpectedCallException.php class UnexpectedCallException (line 17) | class UnexpectedCallException extends ObjectProphecyException method __construct (line 28) | public function __construct($message, ObjectProphecy $objectProphecy, method getMethodName (line 40) | public function getMethodName() method getArguments (line 48) | public function getArguments() FILE: src/Prophecy/Exception/Doubler/ClassCreatorException.php class ClassCreatorException (line 16) | class ClassCreatorException extends \RuntimeException implements Doubler... method __construct (line 24) | public function __construct($message, ClassNode $node) method getClassNode (line 34) | public function getClassNode() FILE: src/Prophecy/Exception/Doubler/ClassMirrorException.php class ClassMirrorException (line 16) | class ClassMirrorException extends \RuntimeException implements DoublerE... method __construct (line 24) | public function __construct($message, ReflectionClass $class) method getReflectedClass (line 34) | public function getReflectedClass() FILE: src/Prophecy/Exception/Doubler/ClassNotFoundException.php class ClassNotFoundException (line 14) | class ClassNotFoundException extends DoubleException method __construct (line 22) | public function __construct($message, $classname) method getClassname (line 32) | public function getClassname() FILE: src/Prophecy/Exception/Doubler/DoubleException.php class DoubleException (line 16) | class DoubleException extends RuntimeException implements DoublerExcepti... FILE: src/Prophecy/Exception/Doubler/DoublerException.php type DoublerException (line 16) | interface DoublerException extends Exception {} FILE: src/Prophecy/Exception/Doubler/InterfaceNotFoundException.php class InterfaceNotFoundException (line 14) | class InterfaceNotFoundException extends ClassNotFoundException method getInterfaceName (line 19) | public function getInterfaceName() FILE: src/Prophecy/Exception/Doubler/MethodNotExtendableException.php class MethodNotExtendableException (line 5) | class MethodNotExtendableException extends DoubleException method __construct (line 16) | public function __construct($message, $className, $methodName) method getMethodName (line 28) | public function getMethodName() method getClassName (line 36) | public function getClassName() FILE: src/Prophecy/Exception/Doubler/MethodNotFoundException.php class MethodNotFoundException (line 16) | class MethodNotFoundException extends DoubleException method __construct (line 39) | public function __construct($message, $classname, $methodName, $argume... method getClassname (line 51) | public function getClassname() method getMethodName (line 59) | public function getMethodName() method getArguments (line 67) | public function getArguments() FILE: src/Prophecy/Exception/Doubler/ReturnByReferenceException.php class ReturnByReferenceException (line 14) | class ReturnByReferenceException extends DoubleException method __construct (line 24) | public function __construct($message, $classname, $methodName) method getClassname (line 35) | public function getClassname() method getMethodName (line 43) | public function getMethodName() FILE: src/Prophecy/Exception/Exception.php type Exception (line 20) | interface Exception extends \Throwable {} FILE: src/Prophecy/Exception/InvalidArgumentException.php class InvalidArgumentException (line 14) | class InvalidArgumentException extends \InvalidArgumentException impleme... FILE: src/Prophecy/Exception/Prediction/AggregateException.php class AggregateException (line 16) | class AggregateException extends \RuntimeException implements Prediction... method append (line 30) | public function append(PredictionException $exception) method getExceptions (line 43) | public function getExceptions() method setObjectProphecy (line 53) | public function setObjectProphecy(ObjectProphecy $objectProphecy) method getObjectProphecy (line 61) | public function getObjectProphecy() FILE: src/Prophecy/Exception/Prediction/FailedPredictionException.php class FailedPredictionException (line 22) | class FailedPredictionException extends RuntimeException implements Pred... FILE: src/Prophecy/Exception/Prediction/NoCallsException.php class NoCallsException (line 16) | class NoCallsException extends MethodProphecyException implements Predic... FILE: src/Prophecy/Exception/Prediction/PredictionException.php type PredictionException (line 16) | interface PredictionException extends Exception {} FILE: src/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php class UnexpectedCallsCountException (line 17) | class UnexpectedCallsCountException extends UnexpectedCallsException method __construct (line 27) | public function __construct($message, MethodProphecy $methodProphecy, ... method getExpectedCount (line 37) | public function getExpectedCount() FILE: src/Prophecy/Exception/Prediction/UnexpectedCallsException.php class UnexpectedCallsException (line 18) | class UnexpectedCallsException extends MethodProphecyException implement... method __construct (line 28) | public function __construct($message, MethodProphecy $methodProphecy, ... method getCalls (line 38) | public function getCalls() FILE: src/Prophecy/Exception/Prophecy/MethodProphecyException.php class MethodProphecyException (line 16) | class MethodProphecyException extends ObjectProphecyException method __construct (line 23) | public function __construct($message, MethodProphecy $methodProphecy, ... method getMethodProphecy (line 33) | public function getMethodProphecy() FILE: src/Prophecy/Exception/Prophecy/ObjectProphecyException.php class ObjectProphecyException (line 16) | class ObjectProphecyException extends \RuntimeException implements Proph... method __construct (line 24) | public function __construct($message, ObjectProphecy $objectProphecy, ... method getObjectProphecy (line 34) | public function getObjectProphecy() FILE: src/Prophecy/Exception/Prophecy/ProphecyException.php type ProphecyException (line 16) | interface ProphecyException extends Exception {} FILE: src/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php class ClassAndInterfaceTagRetriever (line 21) | final class ClassAndInterfaceTagRetriever implements MethodTagRetrieverI... method __construct (line 28) | public function __construct(?MethodTagRetrieverInterface $classRetriev... method getTagList (line 39) | public function getTagList(\ReflectionClass $reflectionClass) method getInterfacesTagList (line 52) | private function getInterfacesTagList(\ReflectionClass $reflectionClass) FILE: src/Prophecy/PhpDocumentor/ClassTagRetriever.php class ClassTagRetriever (line 23) | final class ClassTagRetriever implements MethodTagRetrieverInterface method __construct (line 28) | public function __construct() method getTagList (line 34) | public function getTagList(\ReflectionClass $reflectionClass) FILE: src/Prophecy/PhpDocumentor/MethodTagRetrieverInterface.php type MethodTagRetrieverInterface (line 21) | interface MethodTagRetrieverInterface method getTagList (line 28) | public function getTagList(\ReflectionClass $reflectionClass); FILE: src/Prophecy/Prediction/CallPrediction.php class CallPrediction (line 27) | class CallPrediction implements PredictionInterface method __construct (line 31) | public function __construct(?StringUtil $util = null) method check (line 36) | public function check(array $calls, ObjectProphecy $object, MethodProp... FILE: src/Prophecy/Prediction/CallTimesPrediction.php class CallTimesPrediction (line 26) | class CallTimesPrediction implements PredictionInterface method __construct (line 34) | public function __construct($times, ?StringUtil $util = null) method check (line 40) | public function check(array $calls, ObjectProphecy $object, MethodProp... FILE: src/Prophecy/Prediction/CallbackPrediction.php class CallbackPrediction (line 25) | class CallbackPrediction implements PredictionInterface method __construct (line 34) | public function __construct($callback) method check (line 46) | public function check(array $calls, ObjectProphecy $object, MethodProp... FILE: src/Prophecy/Prediction/NoCallsPrediction.php class NoCallsPrediction (line 24) | class NoCallsPrediction implements PredictionInterface method __construct (line 28) | public function __construct(?StringUtil $util = null) method check (line 33) | public function check(array $calls, ObjectProphecy $object, MethodProp... FILE: src/Prophecy/Prediction/PredictionInterface.php type PredictionInterface (line 25) | interface PredictionInterface method check (line 37) | public function check(array $calls, ObjectProphecy $object, MethodProp... FILE: src/Prophecy/Promise/CallbackPromise.php class CallbackPromise (line 25) | class CallbackPromise implements PromiseInterface method __construct (line 36) | public function __construct($callback) method execute (line 48) | public function execute(array $args, ObjectProphecy $object, MethodPro... FILE: src/Prophecy/Promise/PromiseInterface.php type PromiseInterface (line 23) | interface PromiseInterface method execute (line 34) | public function execute(array $args, ObjectProphecy $object, MethodPro... FILE: src/Prophecy/Promise/ReturnArgumentPromise.php class ReturnArgumentPromise (line 23) | class ReturnArgumentPromise implements PromiseInterface method __construct (line 37) | public function __construct($index = 0) method execute (line 48) | public function execute(array $args, ObjectProphecy $object, MethodPro... FILE: src/Prophecy/Promise/ReturnPromise.php class ReturnPromise (line 22) | class ReturnPromise implements PromiseInterface method __construct (line 31) | public function __construct(array $returnValues) method execute (line 36) | public function execute(array $args, ObjectProphecy $object, MethodPro... FILE: src/Prophecy/Promise/ThrowPromise.php class ThrowPromise (line 25) | class ThrowPromise implements PromiseInterface method __construct (line 43) | public function __construct($exception) method execute (line 62) | public function execute(array $args, ObjectProphecy $object, MethodPro... method isAValidThrowable (line 88) | private function isAValidThrowable($exception) FILE: src/Prophecy/Prophecy/MethodProphecy.php class MethodProphecy (line 31) | class MethodProphecy method __construct (line 69) | public function __construct(ObjectProphecy $objectProphecy, $methodNam... method withArguments (line 203) | public function withArguments($arguments) method will (line 231) | public function will($promise) method willReturn (line 259) | public function willReturn(...$return) method willYield (line 279) | public function willYield($items, $return = null) method willReturnArgument (line 313) | public function willReturnArgument($index = 0) method willThrow (line 333) | public function willThrow($exception) method should (line 347) | public function should($prediction) method shouldBeCalled (line 373) | public function shouldBeCalled() method shouldNotBeCalled (line 385) | public function shouldNotBeCalled() method shouldBeCalledTimes (line 399) | public function shouldBeCalledTimes($count) method shouldBeCalledOnce (line 411) | public function shouldBeCalledOnce() method shouldHave (line 426) | public function shouldHave($prediction) method shouldHaveBeenCalled (line 469) | public function shouldHaveBeenCalled() method shouldNotHaveBeenCalled (line 483) | public function shouldNotHaveBeenCalled() method shouldNotBeenCalled (line 496) | public function shouldNotBeenCalled() method shouldHaveBeenCalledTimes (line 510) | public function shouldHaveBeenCalledTimes($count) method shouldHaveBeenCalledOnce (line 522) | public function shouldHaveBeenCalledOnce() method checkPrediction (line 534) | public function checkPrediction() method getPromise (line 548) | public function getPromise() method getPrediction (line 558) | public function getPrediction() method getCheckedPredictions (line 568) | public function getCheckedPredictions() method getObjectProphecy (line 578) | public function getObjectProphecy() method getMethodName (line 588) | public function getMethodName() method getArgumentsWildcard (line 598) | public function getArgumentsWildcard() method hasReturnVoid (line 606) | public function hasReturnVoid() method bindToObjectProphecy (line 614) | private function bindToObjectProphecy() FILE: src/Prophecy/Prophecy/ObjectProphecy.php class ObjectProphecy (line 31) | class ObjectProphecy implements ProphecyInterface method __construct (line 49) | public function __construct( method willExtend (line 73) | public function willExtend($class) method willImplement (line 91) | public function willImplement($interface) method willBeConstructedWith (line 105) | public function willBeConstructedWith(?array $arguments = null) method reveal (line 121) | public function reveal() method addMethodProphecy (line 145) | public function addMethodProphecy(MethodProphecy $methodProphecy) method getMethodProphecies (line 165) | public function getMethodProphecies($methodName = null) method makeProphecyMethodCall (line 188) | public function makeProphecyMethodCall($methodName, array $arguments) method findProphecyMethodCalls (line 205) | public function findProphecyMethodCalls($methodName, ArgumentsWildcard... method checkProphecyMethodsPredictions (line 218) | public function checkProphecyMethodsPredictions() method __call (line 248) | public function __call($methodName, array $arguments) method __get (line 277) | public function __get($name) method __set (line 290) | public function __set($name, $value) FILE: src/Prophecy/Prophecy/ProphecyInterface.php type ProphecyInterface (line 21) | interface ProphecyInterface method reveal (line 30) | public function reveal(); FILE: src/Prophecy/Prophecy/ProphecySubjectInterface.php type ProphecySubjectInterface (line 19) | interface ProphecySubjectInterface method setProphecy (line 28) | public function setProphecy(ProphecyInterface $prophecy); method getProphecy (line 35) | public function getProphecy(); FILE: src/Prophecy/Prophecy/Revealer.php class Revealer (line 19) | class Revealer implements RevealerInterface method reveal (line 28) | public function reveal($value) FILE: src/Prophecy/Prophecy/RevealerInterface.php type RevealerInterface (line 19) | interface RevealerInterface method reveal (line 28) | public function reveal($value); FILE: src/Prophecy/Prophet.php class Prophet (line 32) | class Prophet method __construct (line 46) | public function __construct( method prophesize (line 79) | public function prophesize($classOrInterface = null) method getProphecies (line 110) | public function getProphecies() method getDoubler (line 120) | public function getDoubler() method checkPredictions (line 132) | public function checkPredictions() FILE: src/Prophecy/Util/ExportUtil.php class ExportUtil (line 20) | class ExportUtil method export (line 39) | public static function export($value, $indentation = 0) method toArray (line 51) | public static function toArray($value) method recursiveExport (line 101) | protected static function recursiveExport(&$value, $indentation, $proc... FILE: src/Prophecy/Util/StringUtil.php class StringUtil (line 21) | class StringUtil method __construct (line 28) | public function __construct($verbose = true) method stringify (line 41) | public function stringify($value, $exportObject = true) method stringifyCalls (line 89) | public function stringifyCalls(array $calls) FILE: tests/Argument/Token/ExactValueTokenTest.php class ExactValueTokenTest (line 9) | class ExactValueTokenTest extends TestCase method does_not_trigger_nesting_error (line 15) | #[Test] method scores_10_for_objects_with_same_fields (line 25) | #[Test] method scores_10_for_matching_callables (line 35) | #[Test] method scores_false_for_object_and_string (line 44) | #[Test] method scores_false_for_object_and_int (line 53) | #[Test] method scores_false_for_object_and_stdclass (line 62) | #[Test] method scores_false_for_object_and_null (line 71) | #[Test] class ParentClass (line 82) | class ParentClass method addChild (line 86) | public function addChild($child) class ChildClass (line 92) | class ChildClass method __construct (line 97) | public function __construct($name, $parent) FILE: tests/Comparator/FactoryProviderTest.php class FactoryProviderTest (line 10) | class FactoryProviderTest extends TestCase method it_should_have_ClosureComparator_registered (line 12) | #[Test] FILE: tests/Doubler/ClassPatch/MagicCallPatchTest.php class MagicCallPatchTest (line 12) | class MagicCallPatchTest extends TestCase method it_supports_classes_with_invalid_tags (line 14) | #[Test] method it_supports_arguments_for_magic_methods (line 31) | #[Test] method applyPatchTo (line 50) | private function applyPatchTo(\ReflectionClass $class): ClassNode FILE: tests/Doubler/Generator/ClassMirrorTest.php class ClassMirrorTest (line 19) | class ClassMirrorTest extends TestCase method it_reflects_allowed_magic_methods (line 21) | #[Test] method it_reflects_protected_abstract_methods (line 33) | #[Test] method it_reflects_public_static_methods (line 50) | #[Test] method it_marks_required_args_without_types_as_not_optional (line 67) | #[Test] method it_properly_reads_methods_arguments_with_types (line 88) | #[Test] method it_properly_reads_methods_arguments_with_callable_types (line 124) | #[Test] method it_properly_reads_methods_variadic_arguments (line 154) | #[Test] method it_properly_reads_methods_typehinted_variadic_arguments (line 174) | #[Test] method it_marks_passed_by_reference_args_as_passed_by_reference (line 194) | #[Test] method it_throws_an_exception_if_class_is_final (line 213) | #[Test] method it_ignores_final_methods (line 225) | #[Test] method it_marks_final_methods_as_unextendable (line 237) | #[Test] method it_throws_an_exception_if_interface_provided_instead_of_class (line 250) | #[Test] method it_reflects_all_interfaces_methods (line 262) | #[Test] method it_ignores_virtually_private_methods (line 285) | #[Test] method it_does_not_throw_exception_for_virtually_private_finals (line 300) | #[Test] method it_reflects_return_typehints (line 312) | #[Test] method it_throws_an_exception_if_class_provided_in_interfaces_list (line 331) | #[Test] method it_throws_an_exception_if_not_reflection_provided_as_interface (line 343) | #[Test] method it_doesnt_fail_to_typehint_nonexistent_FQCN (line 353) | #[Test] method it_doesnt_fail_on_array_nullable_parameter_with_not_null_default_value (line 364) | #[Test] method it_doesnt_fail_to_typehint_nonexistent_RQCN (line 378) | #[Test] method it_doesnt_fail_when_method_is_extended_with_more_params (line 389) | #[Test] method it_doesnt_fail_to_mock_self_referencing_interface (line 405) | #[Test] method it_changes_argument_names_if_they_are_varying (line 420) | #[Test] method it_can_double_a_class_with_union_return_types (line 473) | #[Test] method it_can_double_a_class_with_union_return_type_with_false (line 490) | #[Test] method it_can_double_a_class_with_union_argument_types (line 506) | #[Test] method it_can_double_a_class_with_union_argument_type_with_false (line 519) | #[Test] method it_can_double_a_class_with_mixed_types (line 532) | #[Test] method it_can_double_inherited_self_return_type (line 546) | #[Test] method it_can_double_never_return_type (line 555) | #[Test] method it_can_not_double_an_enum (line 569) | #[Test] method it_can_double_intersection_return_types (line 581) | #[Test] method it_can_double_intersection_argument_types (line 602) | #[Test] method it_can_double_a_standalone_return_type_of_false (line 623) | #[Test] method it_can_double_a_standalone_parameter_type_of_false (line 636) | #[Test] method it_can_double_a_nullable_return_type_of_false (line 650) | #[Test] method it_can_double_a_nullable_parameter_type_of_false (line 663) | #[Test] method it_can_not_double_dnf_intersection_argument_types (line 680) | #[Test] method it_can_double_dnf_intersection_return_types (line 705) | #[Test] method it_can_double_a_standalone_return_type_of_true (line 725) | #[Test] method it_reflects_non_read_only_class (line 738) | #[Test] method it_can_double_a_standalone_parameter_type_of_true (line 749) | #[Test] method it_can_double_a_nullable_return_type_of_true (line 763) | #[Test] method it_can_double_a_nullable_parameter_type_of_true (line 776) | #[Test] method it_can_double_a_standalone_return_type_of_null (line 793) | #[Test] method it_can_double_a_standalone_parameter_type_of_null (line 806) | #[Test] method it_reflects_read_only_class (line 820) | #[Test] FILE: tests/Doubler/Generator/Node/TypeNodeAbstractTest.php class TypeNodeAbstractTest (line 12) | class TypeNodeAbstractTest extends TestCase method childClassDataProvider (line 17) | public static function childClassDataProvider(): \Generator method it_can_use_null_shorthand_only_with_two_types (line 37) | #[DataProvider('childClassDataProvider')] FILE: tests/FunctionalTest.php class FunctionalTest (line 13) | class FunctionalTest extends TestCase method case_insensitive_method_names (line 15) | #[Test] method it_implements_the_double_interface (line 30) | #[Test] method it_implements_the_prophecy_subject_interface (line 39) | #[Test] method testUnconfiguredFinalReturnType (line 48) | public function testUnconfiguredFinalReturnType(): void