Skip to content

Commit

Permalink
Prepare readme for v1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Nov 10, 2021
1 parent 38f3845 commit f3d1f93
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Add the package to your dev dependencies
composer require --dev nextcloud/coding-standard
```

and create a `.php_cs.dist` like
and create a `.php-cs-fixer.dist.php` like

```php
<?php
Expand Down Expand Up @@ -47,3 +47,10 @@ For convenience you may add it to the `scripts` section of your `composer.json`:
```

*Note: Don't forget to exclude .php_cs.dist in your build scripts.*

## Upgrade from v0.x to v1.0

With v1.0 php-cs-fixer was updated from v2 to v3. You'll have to adjust your app slightly:

* Rename `.php_cs.dist` to `.php-cs-fixer.dist.php`
* Add `.php-cs-fixer.cache` to your ignore files

0 comments on commit f3d1f93

Please sign in to comment.