Skip to content

Commit

Permalink
Enable PHPStan extensions
Browse files Browse the repository at this point in the history
This change makes it easier to add extensions to PHPStan in the future,
such as the deprecated code extension that checks for deprecated code.

Signed-off-by: Matthew Setter <[email protected]>
  • Loading branch information
settermjd committed Dec 3, 2024
1 parent 3cce01d commit 47989aa
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 2 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"php": "8.1.99"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"extra": {
Expand All @@ -39,6 +40,7 @@
"laminas/laminas-eventmanager": "^3.6.0",
"laminas/laminas-hydrator": "^4.7",
"laminas/laminas-servicemanager": "^3.19.0",
"phpstan/extension-installer": "^1.4",
"phpstan/phpdoc-parser": "^1.5",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
Expand Down
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.

0 comments on commit 47989aa

Please sign in to comment.