Skip to content

Conversation

@xepa
Copy link

@xepa xepa commented Jul 23, 2013

When running phpcb and no errors are found following errors / warnings happen

PHP Warning: Invalid argument supplied for foreach() in /Users/michiel/Documents/workspace/PHP_CodeBrowser/src/ErrorHandler.php on line 103

Similar errors also happen but are not listed here, the problem is that the $files variable in getFilesWithErrors is initialised with null and should be array() instead.

...t an array and not null (happens when there are no errors)

…pect an array and not null (happens when there are no errors)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant