We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c7e3d0 commit cf44e16Copy full SHA for cf44e16
1 file changed
tests/SearcherTest.php
@@ -17,6 +17,7 @@ public function it_searches_code_strings()
17
$searcher = new Searcher();
18
19
$results = $searcher
20
+ ->withoutSnippets()
21
->functions(['strtolower', 'strtoupper'])
22
->searchCode('<?' . "php \n\$myVar = strtolower('test');\n");
23
@@ -30,12 +31,14 @@ public function it_searches_for_function_calls()
30
31
$file = new File(tests_path('data/file1.php'));
32
33
34
35
36
->search($file);
37
38
$this->assertMatchesSnapshot($results->results);
39
40
41
42
->functions(['strtoupper', 'printf', 'strtolower'])
43
44
0 commit comments