Skip to content

Commit 70f9d51

Browse files
committed
chore: updated composer.json
1 parent 2227dd1 commit 70f9d51

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"WARNING": "This file is updated automatically. All keys will be overwritten, except of 'conflict', 'keywords', 'require', 'require-dev', 'scripts' and 'suggest'.",
32
"autoload": {
43
"psr-4": {
54
"PetrKnap\\Binary\\": "src"
@@ -40,7 +39,7 @@
4039
"name": "petrknap/binary",
4140
"require": {
4241
"php": ">=8.1",
43-
"petrknap/shorts": "^2.0"
42+
"petrknap/shorts": "^2.0|^3.0"
4443
},
4544
"require-dev": {
4645
"ext-mbstring": "*",
@@ -61,7 +60,7 @@
6160
"phpcs --colors --standard=PSR12 --exclude=Generic.Files.LineLength src tests",
6261
"phpstan analyse --level max src --ansi --no-interaction",
6362
"phpstan analyse --level 5 tests --ansi --no-interaction",
64-
"phpinsights analyse src --ansi --no-interaction"
63+
"phpinsights analyse src tests --ansi --no-interaction --format=github-action | sed -e \"s#::error file=$PWD/#::notice file=#g\""
6564
],
6665
"check-requirements": [
6766
"composer update \"petrknap/*\"",

0 commit comments

Comments
 (0)