You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Generate empty folder
mkdir tmp
cd tmp
git init
echo"vendor"> .gitignore
pbpaste > grumphp.yml
composer require --dev phpro/grumphp
# Your actions# Please add the steps on how to reproduce the issue here.
Add config file from above
# Run GrumPHP:
git add -A && git commit -m"Test"# or
./vendor/bin/grumphp run
Result:
git_blacklist
=============
Something went wrong:
fatal: -e option, 'die\(': Unmatched ( or \(
Both use PHP's AST to figure out if it's allowed or not which is less error prone on input like dump[space](
Whilst the blacklist task only checks for a regex match.
2.6.0
My configuration
Steps to reproduce:
Result:
This config matches the config in the docs here: https://github.com/phpro/grumphp/blob/v2.x/doc/tasks/git_blacklist.md
The text was updated successfully, but these errors were encountered: