File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -450,8 +450,7 @@ protected function applyListsFilter(&$data)
450450 protected function initializeFilesThatAreSeenTheFirstTime ($ data )
451451 {
452452 foreach ($ data as $ file => $ lines ) {
453- if (PHP_CodeCoverage_Filter::isFile ($ file ) &&
454- !isset ($ this ->data [$ file ])) {
453+ if ($ this ->filter ->isFile ($ file ) && !isset ($ this ->data [$ file ])) {
455454 $ this ->data [$ file ] = array ();
456455
457456 foreach ($ lines as $ k => $ v ) {
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ public function removeFileFromWhitelist($filename)
270270 *
271271 * @param string $filename
272272 */
273- public static function isFile ($ filename )
273+ public function isFile ($ filename )
274274 {
275275 if ($ filename == '- ' ||
276276 strpos ($ filename , 'eval() \'d code ' ) !== FALSE ||
You can’t perform that action at this time.
0 commit comments