Skip to content

Commit b6ba987

Browse files
authored
Fix issue #216
1 parent b66120a commit b6ba987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runner.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function parse_files( $files, $root ) {
6868

6969
foreach ( $file->getIncludes() as $include ) {
7070
$out['includes'][] = array(
71-
'name' => $include->getName(),
71+
'name' => property_exists( $include->getNode()->expr, 'value' ) ? $include->getName() : '',
7272
'line' => $include->getLineNumber(),
7373
'type' => $include->getType(),
7474
);

0 commit comments

Comments
 (0)