Skip to content

Commit c40d600

Browse files
committed
refact - rename file and add some more doc
1 parent 2d84de4 commit c40d600

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

llms.md renamed to AGENTS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,19 @@
7171
- `//versionup:X.Y.Z`
7272
- Skips the test when the running PHP version is **higher** than `X.Y.Z`.
7373

74+
- **Version-gated fixtures**
75+
- For syntax added after PHP 5.6 (e.g., arrow functions, attributes), add a `//version:X.Y.Z` line at the top of the `.in`/`.out` to avoid failures on older runtimes.
76+
7477
- `//skipShortTag`
7578
- If `short_open_tag` is disabled in the current runtime and the fixture contains `//skipShortTag` in inline HTML, the test is skipped.
7679

7780
- If there is **no** `//passes:...` or `//excludes:...`, the harness applies a baseline set and calls `PsrDecorator::decorate($fmt)`.
7881

7982
- Some tests may be skipped depending on PHP version or `short_open_tag` settings (see the logic in `tests/run_all_tests.php`).
8083

84+
- **Alignment note**
85+
- `AlignDoubleArrow` can align `=>` even inside arrow functions when they appear on the same line; update `.out` expectations accordingly.
86+
8187
### 2) PHPUnit
8288

8389
- Run from the repository root:

0 commit comments

Comments
 (0)