Skip to content

Commit 5f1454a

Browse files
committed
Update PHPStan and PHP-CS-Fixer
1 parent 19934fa commit 5f1454a

File tree

3 files changed

+120
-92
lines changed

3 files changed

+120
-92
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
15+
[*.yml]
16+
indent_size = 2

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"php": ">=8.2"
2424
},
2525
"require-dev": {
26-
"friendsofphp/php-cs-fixer": "^3.87",
26+
"friendsofphp/php-cs-fixer": "^3.91",
2727
"jbboehr/handlebars-spec": "dev-master",
28-
"phpstan/phpstan": "^2.1.28",
28+
"phpstan/phpstan": "^2.1.33",
2929
"phpunit/phpunit": "^11.5"
3030
},
3131
"autoload": {
@@ -44,6 +44,9 @@
4444
"test": "vendor/bin/phpunit tests"
4545
},
4646
"config": {
47+
"platform": {
48+
"php": "8.2.29"
49+
},
4750
"sort-packages": true
4851
}
4952
}

0 commit comments

Comments
 (0)