Skip to content

Commit

Permalink
Fix CS/WS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 9, 2019
1 parent 56e1bce commit 99bd534
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Util/XdebugFilterScriptGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ private function getWhitelistItems(array $filterData): array

if (isset($filterData['include']['directory'])) {
foreach ($filterData['include']['directory'] as $directory) {
if (\is_string($path = \realpath($directory['path']))) {
$path = \realpath($directory['path']);

if (\is_string($path)) {
$files[] = \sprintf('%s/', $path);
}
}
Expand Down

0 comments on commit 99bd534

Please sign in to comment.