GrumPhp is not able to validate a valid regular expression for branch name validation
My branch name: feature/grumphp-setup
validating with: "/(hotfix|bugfix|feature|release|task)\/([a-z|0-9|-]+)$/"
# 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.
git checkout -b feature/grumphp-setup
# Run GrumPHP:
git add -A && git commit -m"Test"
# or
./vendor/bin/grumphp run
Result:
# Please add the result of the run or git commit actions here.
git_branch_name
===============
Whitelist rule not matched: /(hotfix|bugfix|feature|release|task)/([a-z|0-9|-]+)$/
GrumPhp is not able to validate a valid regular expression for branch name validation My branch name: feature/grumphp-setup validating with: "/(hotfix|bugfix|feature|release|task)\/([a-z|0-9|-]+)$/"
![image](https://user-images.githubusercontent.com/4614581/228850020-6f72fe91-103f-4abd-ac7b-db1103f6d472.png)
My configuration
Steps to reproduce:
Result: