-
Notifications
You must be signed in to change notification settings - Fork 430
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
git_blacklist never runs? #1139
Comments
Hello, It is not executed during |
Hello there, Thanks for getting to me so fast, true ! but still not failing ?
➜ nanospa git:(last_bits_on_spa) git diff b31aeafbf0a35c506cd4d3828113e7b7f192865b ─────────────────────────────────────────────────────────────────────────────────┐ ─────────────────────────┐
|
It might be so, that you need to apply keyword escaping, since |
Hmm can not get it work, it runs but it has no tick? Tried with " without, with match_word on and off..
|
Not sure what's going wrong there, it seems to be working on my specific setup. Or phpstan with https://github.com/ekino/phpstan-banned-code. Both use PHP's AST to figure out if it's allowed or not which is less error prone on input like |
We noticed that the git_blacklist is not executing it seem its because
canRunInContext
always return false?My configuration
Steps to reproduce:
Put dd(); in PHP code, do
git add -y
run followingResult:
The text was updated successfully, but these errors were encountered: