@@ -267,11 +267,13 @@ public function testRemovingADirectoryFromTheWhitelistWorks()
267267 */
268268 public function testIsFile ()
269269 {
270- $ this ->assertfalse ($ this ->filter ->isFile ('eval() \'d code ' ));
271- $ this ->assertfalse ($ this ->filter ->isFile ('runtime-created function ' ));
272- $ this ->assertfalse ($ this ->filter ->isFile ('assert code ' ));
273- $ this ->assertfalse ($ this ->filter ->isFile ('regexp code ' ));
274- $ this ->asserttrue ($ this ->filter ->isFile ('filename ' ));
270+ $ this ->assertFalse ($ this ->filter ->isFile ('vfs://root/a/path ' ));
271+ $ this ->assertFalse ($ this ->filter ->isFile ('xdebug://debug-eval ' ));
272+ $ this ->assertFalse ($ this ->filter ->isFile ('eval() \'d code ' ));
273+ $ this ->assertFalse ($ this ->filter ->isFile ('runtime-created function ' ));
274+ $ this ->assertFalse ($ this ->filter ->isFile ('assert code ' ));
275+ $ this ->assertFalse ($ this ->filter ->isFile ('regexp code ' ));
276+ $ this ->assertTrue ($ this ->filter ->isFile ('filename ' ));
275277 }
276278
277279 /**
@@ -280,7 +282,7 @@ public function testIsFile()
280282 public function testBlacklistedFileIsFiltered ()
281283 {
282284 $ this ->filter ->addFileToBlacklist ($ this ->files [0 ]);
283- $ this ->asserttrue ($ this ->filter ->isFiltered ($ this ->files [0 ]));
285+ $ this ->assertTrue ($ this ->filter ->isFiltered ($ this ->files [0 ]));
284286 }
285287
286288 /**
@@ -289,7 +291,7 @@ public function testBlacklistedFileIsFiltered()
289291 public function testWhitelistedFileIsNotFiltered ()
290292 {
291293 $ this ->filter ->addFileToWhitelist ($ this ->files [0 ]);
292- $ this ->assertfalse ($ this ->filter ->isFiltered ($ this ->files [0 ]));
294+ $ this ->assertFalse ($ this ->filter ->isFiltered ($ this ->files [0 ]));
293295 }
294296
295297 /**
@@ -298,7 +300,7 @@ public function testWhitelistedFileIsNotFiltered()
298300 public function testNotWhitelistedFileIsFiltered ()
299301 {
300302 $ this ->filter ->addFileToWhitelist ($ this ->files [0 ]);
301- $ this ->asserttrue ($ this ->filter ->isFiltered ($ this ->files [1 ]));
303+ $ this ->assertTrue ($ this ->filter ->isFiltered ($ this ->files [1 ]));
302304 }
303305
304306 /**
@@ -307,6 +309,8 @@ public function testNotWhitelistedFileIsFiltered()
307309 */
308310 public function testNonFilesAreFiltered ()
309311 {
312+ $ this ->assertTrue ($ this ->filter ->isFiltered ('vfs://root/a/path ' ));
313+ $ this ->assertTrue ($ this ->filter ->isFiltered ('xdebug://debug-eval ' ));
310314 $ this ->assertTrue ($ this ->filter ->isFiltered ('eval() \'d code ' ));
311315 $ this ->assertTrue ($ this ->filter ->isFiltered ('runtime-created function ' ));
312316 $ this ->assertTrue ($ this ->filter ->isFiltered ('assert code ' ));
0 commit comments