Skip to content

Commit f4ceafd

Browse files
committed
cleanup
1 parent 3e9928b commit f4ceafd

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Focuses on:
1010
- **High signal-to-noise ratio** (concise but informative PHPDoc, e.g. array shapes)
1111
- **Harmony with static analysis tools** (PHPStan, Psalm, Rector, etc.)
1212
- **Auto-fixing** (violations are not only reported but fixed automatically, when possible)
13-
- **PHP and Laravel best practices** (enforced, not just suggested)
1413

1514
Two tools, two roles, meant to run together:
1615
- **PHP-CS-Fixer** (primary): fast PER-CS 3+ auto-formatting and modernization rules.
@@ -19,12 +18,12 @@ Two tools, two roles, meant to run together:
1918
> [!TIP]
2019
> This repository is a part of the IxDF toolchain for PHP. Better to use together with Rector, PHPStan, and Psalm.
2120
22-
## Installation
21+
## 1. Installation
2322

2423
```shell
2524
composer require --dev interaction-design-foundation/coding-standard
2625
```
27-
## Configuration
26+
## 2. Configuration
2827

2928
### PHP-CS-Fixer
3029

@@ -115,7 +114,7 @@ composer cs
115114
}
116115
```
117116

118-
## Continuous integration
117+
## 3. Continuous integration
119118

120119
Run the fixer in CI and commit the result back, so the branch is always formatted without blocking the build.
121120
This repository dogfoods that pattern; copy its workflow as a starting point: [`.github/workflows/coding-standard.yml`](.github/workflows/coding-standard.yml).

0 commit comments

Comments
 (0)