Skip to content

Commit 731c22d

Browse files
committed
Use craftcms/phpstan
1 parent 906f8e3 commit 731c22d

File tree

4 files changed

+804
-758
lines changed

4 files changed

+804
-758
lines changed

composer.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@
2424
"docs": "https://github.com/craftcms/webhooks/blob/master/README.md",
2525
"rss": "https://github.com/craftcms/webhooks/commits/master.atom"
2626
},
27+
"minimum-stability": "dev",
28+
"prefer-stable": true,
2729
"require": {
2830
"craftcms/cms": "^3.7.0"
2931
},
3032
"require-dev": {
31-
"phpstan/phpstan": "^0.12.96"
33+
"craftcms/phpstan": "dev-main"
3234
},
3335
"autoload": {
3436
"psr-4": {
@@ -42,5 +44,11 @@
4244
"name": "Webhooks",
4345
"handle": "webhooks",
4446
"documentationUrl": "https://github.com/craftcms/webhooks/blob/master/README.md"
47+
},
48+
"config": {
49+
"allow-plugins": {
50+
"yiisoft/yii2-composer": true,
51+
"craftcms/plugin-installer": true
52+
}
4553
}
4654
}

0 commit comments

Comments
 (0)