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
Copy file name to clipboardExpand all lines: MIGRATION.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,21 @@ As alternative, you can revert your project to the old behaviour by setting the
80
80
parameter in your `grumphp.yml`. Please read [Why you should always analyse the whole project](https://phpstan.org/blog/why-you-should-always-analyse-whole-project)
81
81
before reverting to the old behaviour.
82
82
83
-
### 4. Sanity checks
83
+
### 4. Commit Message Jira project configuration
84
+
85
+
Configure the Jira project(s) for which ticket numbers should be included in your commit messages.
86
+
Add the following configuration to the `grumphp.yml`:
87
+
88
+
```yaml
89
+
parameters:
90
+
# Configure your Jira Project codes as pipe-separated value:
The default configuration will validate the commit message adheres to the [Conventional Commit Message structure](https://cheatography.com/albelop/cheat-sheets/conventional-commits/)
4
+
and that the commit message body contains a Jira ticket number it relates to.
5
+
6
+
## Available configuration
7
+
8
+
The following configuration can be changed in your project's `grumphp.yml`:
9
+
10
+
```yaml
11
+
parameters:
12
+
git_commit_message.type_scope_conventions:
13
+
# Change list of allowed types, use `git_commit_message.type_scope_conventions: {}` to disable this feature
0 commit comments