Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,12 +451,4 @@ PHPUnit, PHPCS, PHPSTAN, and PHPMD:

```console
composer analyze
```

[GrumPHP](https://github.com/phpro/grumphp) can be used to run tests and static analyzers in a pre-commit hook.

```console
composer grumphp-init
```

I've set grumphp to be installed globally: https://github.com/phpro/grumphp/blob/master/doc/installation/global.md
```
10 changes: 4 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
},
"suggest": {
"cakephp/bake": "Used by SwaggerBake bake templates",
"friendsofcake/search": "Required by SwaggerBake #[OpenApiSearch]",
"mixerapi/mixerapi": "Streamline development of your API with MixerAPI"
"friendsofcake/search": "Required by SwaggerBake #[OpenApiSearch]"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
Expand Down Expand Up @@ -60,9 +59,7 @@
"phpstan": "phpstan analyse src/",
"test": "phpunit --colors=always",
"phpmd": "phpmd src/ ansi phpmd.xml",
"coverage": "phpunit --coverage-html coverage-reports/",
"grumphp-init": "grumphp git:init",
"grumphp": "grumphp"
"coverage": "phpunit --coverage-html coverage-reports/"
},
"support": {
"issues": "https://github.com/cnizzardini/cakephp-swagger-bake/issues",
Expand All @@ -78,6 +75,7 @@
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"prefer-stable": true
}
}