Skip to content

Commit a930e9d

Browse files
committed
Update package
1 parent 3956017 commit a930e9d

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

binary-tools/composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,18 @@
2020
],
2121
"require": {
2222
"php": "^8.4",
23-
"ext-mbstring": "*",
24-
"ext-hash": "*",
23+
"ext-mbstring": "*",
24+
"ext-hash": "*"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^11.0"
27+
"phpunit/phpunit": "^11.0",
28+
"laravel/pint": "^1.18"
2829
},
2930
"scripts": {
3031
"test": "phpunit",
31-
"test-coverage": "phpunit --coverage-html coverage"
32+
"test-coverage": "phpunit --coverage-html coverage",
33+
"lint": "pint --test",
34+
"fix": "pint"
3235
},
3336
"config": {
3437
"optimize-autoloader": true,

binary-tools/pint.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"preset": "psr12",
3+
"rules": {
4+
"no_unused_imports": true,
5+
"ordered_imports": {
6+
"sort_algorithm": "alpha"
7+
},
8+
"blank_line_after_opening_tag": false,
9+
"linebreak_after_opening_tag": false,
10+
"declare_strict_types": true,
11+
"single_blank_line_at_eof": true,
12+
"no_trailing_whitespace": true,
13+
"no_trailing_whitespace_in_comment": true,
14+
"array_syntax": {
15+
"syntax": "short"
16+
}
17+
},
18+
"exclude": [
19+
"vendor",
20+
"coverage",
21+
"node_modules"
22+
]
23+
}

0 commit comments

Comments
 (0)