Skip to content

Commit 2117761

Browse files
committed
docs: clarify README
1 parent 117338e commit 2117761

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
An opinionated coding standard for PHP and Laravel projects, built on [PER-CS 3](https://www.php-fig.org/per/coding-style/).
99
Focuses on:
1010
- **High signal-to-noise ratio** (concise but informative PHPDoc, e.g. array shapes)
11-
- **Strict, explicit code**: `strict_types`, strict comparisons, final by default, no magic (`extract()`, variable variables, superglobals)
11+
- **Strict, explicit code**: `strict_types`, strict comparisons, final by default, no magic
1212
- **Harmony with static analysis tools** (PHPStan, Psalm, Rector, etc.)
1313
- **Auto-fixing over reporting** (violations are not only reported but fixed automatically, when possible)
1414
- **PHP and Laravel best practices** (enforced, not just suggested)
1515

1616
Two tools, two roles, meant to run together:
1717
- **PHP-CS-Fixer** (primary): fast auto-formatting and modernization rules.
18-
- **PHP_CodeSniffer** (supplementary): structural and semantic checks PHP-CS-Fixer cannot express (strict types, Laravel conventions, naming, complexity).
18+
- **PHP_CodeSniffer** (supplementary): structural and semantic checks PHP-CS-Fixer cannot express (complexity, Laravel conventions, naming).
1919

2020
> [!TIP]
2121
> This repository is a part of the IxDF toolchain for PHP: Rector ➝ Coding Standard Fixers ➝ PHPStan + Psalm.

0 commit comments

Comments
 (0)