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
Warning for negative string offset (< PHP 7.1) #1791
Merged
TysonAndre
merged 9 commits into
phan:master
from
maksimovic:negative-string-offset-warning
Jun 16, 2018
Merged
Warning for negative string offset (< PHP 7.1) #1791
TysonAndre
merged 9 commits into
phan:master
from
maksimovic:negative-string-offset-warning
Jun 16, 2018
Commits on Jun 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 37e28bf - Browse repository at this point
Copy the full SHA 37e28bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe990f3 - Browse repository at this point
Copy the full SHA fe990f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce7e89d - Browse repository at this point
Copy the full SHA ce7e89dView commit details
Commits on Jun 16, 2018
-
handling negative string offset++
- separated the check into its own method - using type check for strings, so we don't catch arrays - renamed the issue - it's not specific to PHP 7.0 - updated .gitignore to exclude .idea/ - updated config finder so it doesn't break when realpath() returns false
Configuration menu - View commit details
-
Copy full SHA for ba223ec - Browse repository at this point
Copy the full SHA ba223ecView commit details -
work in progress - the test will fail
also, expected values aren't real (yet)
Configuration menu - View commit details
-
Copy full SHA for 7b4555d - Browse repository at this point
Copy the full SHA 7b4555dView commit details -
Merge branch 'upstream/master' into negative-string-offset-warning
# Conflicts: # src/Phan/Issue.php
Configuration menu - View commit details
-
Copy full SHA for 721cc4e - Browse repository at this point
Copy the full SHA 721cc4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7460ea6 - Browse repository at this point
Copy the full SHA 7460ea6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 854c0e4 - Browse repository at this point
Copy the full SHA 854c0e4View commit details -
finishing up negative string offset
- moved the check to the place where we're pretty sure it could be a string - test file simplified - cleaned up the check from ParseVisitor
Configuration menu - View commit details
-
Copy full SHA for 4d241ef - Browse repository at this point
Copy the full SHA 4d241efView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.