Skip to content

Commit

Permalink
Merge pull request #127 from WyriHaximus/switch-to-phpstan-extension-…
Browse files Browse the repository at this point in the history
…installer-for-extension-loading

Switch to phpstan/extension-installer for extension loading
  • Loading branch information
WyriHaximus authored Sep 21, 2024
2 parents b10a36e + 721d969 commit 86cf3ba
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 20 deletions.
13 changes: 12 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"require": {
"php": "^8.3",
"ergebnis/phpstan-rules": "^2.2.0",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan-deprecation-rules": "^1.2.1",
"phpstan/phpstan-mockery": "^1.1.3",
"phpstan/phpstan-phpunit": "^1.4.0",
Expand All @@ -20,6 +21,16 @@
"tomasvotruba/type-coverage": "^0.3.1"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
}
}
50 changes: 49 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions extension.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
parameters:
type_coverage:
constant: 100
declare: 100
param: 100
property: 100
return: 100
18 changes: 0 additions & 18 deletions wrapper.neon

This file was deleted.

0 comments on commit 86cf3ba

Please # to comment.