Skip to content

Commit 800f2bf

Browse files
committed
ensure format fails CI
1 parent 41d0565 commit 800f2bf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ jobs:
7070
ecs-cache-
7171
7272
- name: Run format checks
73-
run: composer format --no-progress-bar
73+
run: composer format:check --no-progress-bar

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,19 @@
4444
"scripts": {
4545
"test": "pest",
4646
"ecs": "ecs check --fix",
47+
"ecs:check": "ecs check",
4748
"rector": "rector process",
49+
"rector:check": "rector process --dry-run",
4850
"stan": "phpstan analyse",
4951
"type-coverage": "pest --type-coverage --min=100",
5052
"format": [
5153
"@rector",
5254
"@ecs"
5355
],
56+
"format:check": [
57+
"@rector:check",
58+
"@ecs:check"
59+
],
5460
"check": [
5561
"@format",
5662
"@test",

0 commit comments

Comments
 (0)