Skip to content

Commit

Permalink
Fix issue WordPress#216
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucisu authored Oct 3, 2022
1 parent b66120a commit b6ba987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function parse_files( $files, $root ) {

foreach ( $file->getIncludes() as $include ) {
$out['includes'][] = array(
'name' => $include->getName(),
'name' => property_exists( $include->getNode()->expr, 'value' ) ? $include->getName() : '',
'line' => $include->getLineNumber(),
'type' => $include->getType(),
);
Expand Down

0 comments on commit b6ba987

Please sign in to comment.