Skip to content

Commit

Permalink
Merge pull request #35 from GaryJones/patch-1
Browse files Browse the repository at this point in the history
Docs: Rename example script
  • Loading branch information
Potherca authored Aug 15, 2017
2 parents 87c4990 + 2ad551b commit e2f3158
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,25 @@ section of the `composer.json`:
```json
{
"scripts": {
"install-codesniffs": [
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
]
}
}

```

The command can then be called using `composer run-script install-codesniffs` or
The command can then be called using `composer run-script install-codestandards` or
referenced from other script configurations, as follows:

```json
{
"scripts": {
"install-codesniffs": [
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"post-install-cmd": [
"@install-codesniff"
"@install-codestandards"
]
}
}
Expand Down

0 comments on commit e2f3158

Please sign in to comment.