Skip to content

Commit 80ac5d3

Browse files
authored
Merge pull request #1 from zonuexe/support/extension-installer
Add metadata to support phpstan/extension-installer
2 parents 94c663e + cd1e79a commit 80ac5d3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "struggle-for-php/angry-regex",
33
"description": "PHPStan Rule to detect Unfavorable Regex",
4+
"type": "phpstan-extension",
45
"license": [
56
"MIT"
67
],
@@ -29,5 +30,12 @@
2930
"scripts": {
3031
"cs-check": "phpcs",
3132
"cs-fix": "phpcbf"
33+
},
34+
"extra": {
35+
"phpstan": {
36+
"includes": [
37+
"rules.neon"
38+
]
39+
}
3240
}
3341
}

0 commit comments

Comments
 (0)