Skip to content

Commit 834026d

Browse files
committed
Add bin section to composer.json for executable path
1 parent 5a81780 commit 834026d

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

composer.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
"phpstan/phpstan-strict-rules": "^2.0",
3737
"phpstan/extension-installer": "^1.4"
3838
},
39+
"bin": [
40+
"bin/typephp"
41+
],
3942
"autoload": {
4043
"psr-4": {
4144
"TypePHP\\": "src/"
@@ -53,9 +56,15 @@
5356
]
5457
},
5558
"scripts": {
56-
"format": ["./vendor/bin/pint"],
57-
"test": ["./vendor/bin/pest --colors"],
58-
"analyse": ["./vendor/bin/phpstan analyse"]
59+
"format": [
60+
"./vendor/bin/pint"
61+
],
62+
"test": [
63+
"./vendor/bin/pest --colors"
64+
],
65+
"analyse": [
66+
"./vendor/bin/phpstan analyse"
67+
]
5968
},
6069
"minimum-stability": "dev",
6170
"prefer-stable": true,

0 commit comments

Comments
 (0)