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

Properly parse binaries #147

Merged
merged 2 commits into from
Feb 6, 2018
Merged

Conversation

theofidry
Copy link
Member

As now we have access to the content of the file, we can also check if a file is a PHP file based on its content. This ensure binary PHP files are scoped.

Also did a small refactoring regarding the order of the scopers registered for a micro-optimisation.

@theofidry theofidry merged commit 8008d45 into humbug:master Feb 6, 2018
@theofidry theofidry deleted the bugfix/scope-bin branch February 6, 2018 22:58
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