Skip to content

Commit

Permalink
Fix: Wording
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 18, 2023
1 parent 57b765a commit 403c7a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ All configuration examples use the caching feature, and if you want to use it as
/vendor/
```

### Configuration with header
### Configuring a rule set with header

:bulb: Optionally specify a header:

Expand Down Expand Up @@ -100,8 +100,7 @@ All configuration examples use the caching feature, and if you want to use it as
return $config;
```

This will enable and configure the [`HeaderCommentFixer`](https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.1.1/src/Fixer/Comment/HeaderCommentFixer.php), so that
file headers will be added to PHP files, for example:
This will enable and configure the [`HeaderCommentFixer`](https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.1.1/src/Fixer/Comment/HeaderCommentFixer.php), so that file headers will be added to PHP files, for example:

```diff
<?php
Expand All @@ -118,7 +117,7 @@ file headers will be added to PHP files, for example:
+ */
```

### Configuration with override rules
### Configuring a rule set that overrides rules

:bulb: Optionally override rules from a rule set by passing in an array of rules to be merged in:

Expand Down

0 comments on commit 403c7a8

Please sign in to comment.