Skip to content

Commit 8d4b35f

Browse files
committed
Add support for digits in the project key.
1 parent 10208c7 commit 8d4b35f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

configs/grumphp-extension.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ parameters:
4444
- profile
4545
git_branch_name:
4646
whitelist:
47-
- "#^\\d+\\.\\d+\\.x|feature/([A-Z]+-\\d+|[a-z]+(-[a-z]+)*)$#"
47+
- "#^\\d+\\.\\d+\\.x|feature/([A-Z][A-Z0-9]+-\\d+|[a-z]+(-[a-z]+)*)$#"
4848
git_commit_message:
4949
enforce_no_subject_trailing_period: false
5050
max_body_width: 80
5151
max_subject_width: 80
5252
matchers:
53-
- "/^([A-Z]+-\\d+(, [A-Z]+-\\d+)*: )?(Add|Change|Fix|Update|Remove) /"
53+
- "/^([A-Z][A-Z0-9]+-\\d+(, [A-Z]+-\\d+)*: )?(Add|Change|Fix|Update|Remove) /"
5454
case_insensitive: false
5555
phpcpd:
5656
names_exclude:

configs/grumphp-site.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ parameters:
5050
- profile
5151
git_branch_name:
5252
whitelist:
53-
- "#^develop|feature/([A-Z]+-\\d+|[a-z]+(-[a-z]+)*)|(release|hotfix)/\\d+(\\.\\d+){2}$#"
53+
- "#^develop|feature/([A-Z][A-Z0-9]+-\\d+|[a-z]+(-[a-z]+)*)|(release|hotfix)/\\d+(\\.\\d+){2}$#"
5454
git_commit_message:
5555
enforce_no_subject_trailing_period: false
5656
max_body_width: 80
5757
max_subject_width: 80
5858
matchers:
59-
- "/^([A-Z]+-\\d+(, [A-Z]+-\\d+)*: )?(Add|Change|Fix|Update|Remove) /"
59+
- "/^([A-Z][A-Z0-9]+-\\d+(, [A-Z]+-\\d+)*: )?(Add|Change|Fix|Update|Remove) /"
6060
case_insensitive: false
6161
phpcpd:
6262
directory:

0 commit comments

Comments
 (0)