File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,16 @@ This repository provides a PHPStan extension that can be used in both GLPI and G
66
77To install this PHPStan extension, run the ` composer require --dev glpi-project/phpstan-glpi ` .
88
9+ To make this extension automatically enabled by PHPStan, you can also install the ` phpstan/extension-installer ` library,
10+ otherwise you will need to add it in you PHPStan configuration file in the ` includes ` section:
11+ ``` neon
12+ includes:
13+ - vendor/glpi-project/phpstan-glpi/rules.neon
14+ ```
15+ See https://phpstan.org/user-guide/extension-library#installing-extensions for more information.
16+
17+ ## Configuration
18+
919The GLPI version should be detected automatically, but you can specify it in your PHPStan configuration:
1020``` yaml
1121parameters :
You can’t perform that action at this time.
0 commit comments