From 1a3d360b141445b3bd31c141e2e25d485304c73e Mon Sep 17 00:00:00 2001 From: Manuel VACELET Date: Tue, 5 Oct 2021 15:04:42 +0200 Subject: [PATCH] Add test to verify that CallMap is OK --- tests/SomeTest.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/SomeTest.php diff --git a/tests/SomeTest.php b/tests/SomeTest.php new file mode 100644 index 000000000..b67d472a9 --- /dev/null +++ b/tests/SomeTest.php @@ -0,0 +1,30 @@ +addFile( + 'somefile.php', + 'getReflectionConstants(1); + ' + ); + + $this->analyzeFile('somefile.php', new Context()); + } +}