Skip to content

Commit fd55782

Browse files
authored
Update dev tooling (#1867)
1 parent 978577f commit fd55782

12 files changed

Lines changed: 285 additions & 213 deletions

File tree

.claude/commands/bench-compare.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ git stash pop # if stashed earlier
5353
Present a Markdown table comparing all benchmarked versions:
5454

5555
| Benchmark | Master | Branch | Uncommitted | vs Master |
56-
|-----------|--------|--------|-------------|-----------|
56+
| --------- | ------ | ------ | ----------- | --------- |
5757
| ... | ... | ... | ... | +X% / -X% |
5858

5959
## Important Notes

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- run: composer docs
3030

31-
- run: npx prettier --write --tab-width=2 *.md **/*.md
31+
- run: npx prettier --write --tab-width=2 '*.md' '**/*.md'
3232

3333
- uses: autofix-ci/action@v1
3434
with:

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ php-cs-fixer: ## Fix code style
2828

2929
.PHONY: prettier
3030
prettier: ## Format code with prettier
31-
prettier --write --tab-width=2 *.md **/*.md
31+
npx prettier --write --tab-width=2 '*.md' '**/*.md'
3232

3333
phpstan.neon:
3434
printf "includes:\n - phpstan.neon.dist" > phpstan.neon
@@ -52,7 +52,7 @@ bench: ## Runs benchmarks with PHPBench
5252
.PHONY: docs
5353
docs: ## Generate the class-reference docs
5454
php generate-class-reference.php
55-
prettier --write docs/class-reference.md
55+
npx prettier --write docs/class-reference.md
5656

5757
.PHONY: ai-sync
5858
ai-sync: ## Generate local agent configuration from .ai

0 commit comments

Comments
 (0)