From 6ff7f7731f5408a1216be1f1f960e837ce462434 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 11 Dec 2023 11:56:51 +0700 Subject: [PATCH] add test for override parent --- .../Fixture/override_parent_method.php.inc | 34 +++++++++++++++++++ .../Source/ParentClass.php | 13 +++++++ 2 files changed, 47 insertions(+) create mode 100644 rules-tests/DowngradePhp82/Rector/FunctionLike/DowngradeStandaloneNullTrueFalseReturnTypeRector/Fixture/override_parent_method.php.inc create mode 100644 rules-tests/DowngradePhp82/Rector/FunctionLike/DowngradeStandaloneNullTrueFalseReturnTypeRector/Source/ParentClass.php diff --git a/rules-tests/DowngradePhp82/Rector/FunctionLike/DowngradeStandaloneNullTrueFalseReturnTypeRector/Fixture/override_parent_method.php.inc b/rules-tests/DowngradePhp82/Rector/FunctionLike/DowngradeStandaloneNullTrueFalseReturnTypeRector/Fixture/override_parent_method.php.inc new file mode 100644 index 00000000..82b7314e --- /dev/null +++ b/rules-tests/DowngradePhp82/Rector/FunctionLike/DowngradeStandaloneNullTrueFalseReturnTypeRector/Fixture/override_parent_method.php.inc @@ -0,0 +1,34 @@ + +----- + \ No newline at end of file diff --git a/rules-tests/DowngradePhp82/Rector/FunctionLike/DowngradeStandaloneNullTrueFalseReturnTypeRector/Source/ParentClass.php b/rules-tests/DowngradePhp82/Rector/FunctionLike/DowngradeStandaloneNullTrueFalseReturnTypeRector/Source/ParentClass.php new file mode 100644 index 00000000..6507f198 --- /dev/null +++ b/rules-tests/DowngradePhp82/Rector/FunctionLike/DowngradeStandaloneNullTrueFalseReturnTypeRector/Source/ParentClass.php @@ -0,0 +1,13 @@ +