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

Account for case insensitivity #404

Merged
merged 2 commits into from May 8, 2018
Merged

Account for case insensitivity #404

merged 2 commits into from May 8, 2018

Conversation

theofidry
Copy link
Contributor

The PR is a bit incomplete (missing tests) but it's more for myself to not forget about it :)

The issue is that PHP is case insensitive for namespaces, classes and methods. However BetterReflection does not account for that as a result if you have:

use PHAR;

Instead of:

use Phar;

BetterReflection is going to fail.

@asgrim
Copy link
Member

asgrim commented Feb 15, 2018

Sorry, this pull request could not be found.

@theofidry
Copy link
Contributor Author

Stop looking at your phone James

Copy link
Member

@asgrim asgrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs tests

@theofidry
Copy link
Contributor Author

Yes sorry, I won't be able to take a look before another 1-2 weeks :/

@theofidry
Copy link
Contributor Author

theofidry commented May 7, 2018

Tests added. The CI is failure is unrelated (it's failing on master as well, #421)

@Ocramius
Copy link
Member

Ocramius commented May 8, 2018

🚢 thanks @theofidry!

@Ocramius Ocramius self-assigned this May 8, 2018
@Ocramius Ocramius added this to the 3.0.0 milestone May 8, 2018
@Ocramius Ocramius merged commit 162adb9 into Roave:master May 8, 2018
kukulich added a commit to kukulich/BetterReflection that referenced this pull request May 8, 2018
@theofidry theofidry deleted the patch-1 branch May 8, 2018 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants