From 531cd497c50f1aaa47408aa772d67414b1bd2020 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Mon, 16 Sep 2024 10:12:27 +0200 Subject: [PATCH] test: cover false positive where types are not considered during Twig analysis --- .../Fixture/DontSkipTwigEntityWithMethods.php | 12 ++++++++++++ .../TemplatePathsTest.php | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 tests/Rules/UnusedPublicClassMethodRule/Fixture/DontSkipTwigEntityWithMethods.php diff --git a/tests/Rules/UnusedPublicClassMethodRule/Fixture/DontSkipTwigEntityWithMethods.php b/tests/Rules/UnusedPublicClassMethodRule/Fixture/DontSkipTwigEntityWithMethods.php new file mode 100644 index 0000000..caab957 --- /dev/null +++ b/tests/Rules/UnusedPublicClassMethodRule/Fixture/DontSkipTwigEntityWithMethods.php @@ -0,0 +1,12 @@ +