Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replaceCommonSourcePath, parseSourceDirectory, getCommonSourcePath expec... #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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