We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b66120a commit b6ba987Copy full SHA for b6ba987
lib/runner.php
@@ -68,7 +68,7 @@ function parse_files( $files, $root ) {
68
69
foreach ( $file->getIncludes() as $include ) {
70
$out['includes'][] = array(
71
- 'name' => $include->getName(),
+ 'name' => property_exists( $include->getNode()->expr, 'value' ) ? $include->getName() : '',
72
'line' => $include->getLineNumber(),
73
'type' => $include->getType(),
74
);
0 commit comments