10.0.0-beta6
joaocsilva
released this
28 Apr 09:38
·
164 commits
to release/10.x
since this release
What's Changed
- DQA-6736: PHPStan do not use includes if phpstan/extension-installer exist by @joaocsilva in #661
- DQA-6762: Toolkit requirements should not use constant to validate version by @joaocsilva in #664
- DQA-6670: GitHooks pass $io to extending class methods by @joaocsilva in #662
- DQA-6677: Use git hook commit-msg instead of prepare-commit-msg by @joaocsilva in #663
- DQA-6795: Consider mydumper in checkForNewerDump by @joaocsilva in #665
- DQA-6808: GitHooks identify if running docker by @joaocsilva in #666
- DQA-6792: Document how configuration works by @joaocsilva in #667
- DQA-6759: Fix outdated packages command by @joaocsilva in #668
GitHooks important changes
Replaced default git hook prepare-commit-msg
with commit-msg
Projects that were overriding the default active hooks or the commit message conditions, will need to adapt them.
toolkit:
hooks:
active:
- pre-commit
- - prepare-commit-msg
+ - commit-msg
- pre-push
- prepare-commit-msg:
+ commit-msg:
conditions:
- message: "The commit message must start with the JIRA issue number."
regex: /^[A-Z]+\-\d+/
- message: "The JIRA issue number must be followed by a colon and space."
regex: /^[A-Z]+\-\d+:\ /
Changed default extending class
Projects that were extending the GitHooks functionality will need to adapt the code.
To see more details please refer to the documentation page.
Full Changelog: 10.0.0-beta5...10.0.0-beta6