Skip to content

Commit 8f725ad

Browse files
committed
chore: test:format:php
1 parent b708685 commit 8f725ad

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ jobs:
2020
- name: Install dependencies
2121
run: composer install --prefer-dist --no-progress
2222

23-
- name: Type coverage
24-
run: composer test:type-co
25-
2623
- name: Unit tests with coverage
2724
run: composer test:unit:co
2825

26+
- name: Type coverage
27+
run: composer test:type-co
28+
2929
- name: PHPStan
3030
run: composer test:stan
31+
32+
- name: Test PHP formating
33+
run: composer test:format:php

composer.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,17 @@
3838
"test:unit:co": "pest --parallel --coverage --min=100",
3939
"test:type-co": "pest --parallel --type-coverage --min=100",
4040
"test:js": "npm run test:js",
41-
"format": [
42-
"pint",
43-
"npm run format"
44-
],
45-
"test:format": [
46-
"pint --test",
47-
"npm run format:check"
48-
],
41+
"format:js": "npm run format",
42+
"format:php": "pint",
43+
"test:format:php": "pint --test",
44+
"test:format:js": "npm run format:check",
4945
"test:stan": "phpstan",
5046
"test:refa": "rector --dry-run",
5147
"refa": "rector",
5248
"test": [
5349
"@test:type-co",
54-
"@test:format",
50+
"@test:format:php",
51+
"@test:format:js",
5552
"@test:stan",
5653
"@test:refa",
5754
"@test:unit:co",

0 commit comments

Comments
 (0)