Make automatic conventions checking on each commit.
For application project:
"extra": {
"grumphp": {
"config-default-path": "vendor/linkorb/conventions-checker/config/app/grumphp.yml"
}
}
For library project:
"extra": {
"grumphp": {
"config-default-path": "vendor/linkorb/conventions-checker/config/lib/grumphp.yml"
}
}
composer require --dev linkorb/conventions-checker
Just commit some changes and you see warnings if you don't follow conventions.
- Automatic project type definition by
composer.json
'stype
("application" or default "library") and updatecomposer.json
's extra - Branded ASCII
- Distribute it as separate
linkorb-checker.phar
(Maybe?)