Skip to content

Commit 1289eb1

Browse files
author
antoine
committed
Update pint.json + add pint composer require dev
1 parent 53fb088 commit 1289eb1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"dms/phpunit-arraysubset-asserts": "^0.4|^0.5",
2626
"doctrine/dbal": "^3.5",
2727
"friendsofphp/php-cs-fixer": "^3.8",
28+
"laravel/pint": "^1.18",
2829
"mockery/mockery": "^1.5.0",
2930
"nunomaduro/collision": "^7.0|^8.0",
3031
"orchestra/testbench": "^8.0|^9.0",

pint.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"rules": {
44
"class_attributes_separation": {
55
"elements": {
6-
"const": "only_if_meta",
7-
"property": "only_if_meta",
6+
"const": "none",
7+
"property": "none",
88
"trait_import": "none"
99
}
1010
},
11-
"single_trait_insert_per_statement": false,
11+
"single_trait_insert_per_statement": true,
1212
"new_with_parentheses": {
1313
"named_class": true,
1414
"anonymous_class": true

0 commit comments

Comments
 (0)