You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,22 @@ Add `phpstan` key in the extension `composer.json`'s `extra` section:
72
72
}
73
73
```
74
74
75
+
## Ignoring a particular extension
76
+
77
+
You may want to disable auto-installation of a particular extension to handle installation manually. Ignore an extension by adding an `extra.phpstan/extension-installer.ignore` array in `composer.json` that specifies a list of packages to ignore:
78
+
79
+
```json
80
+
{
81
+
"extra": {
82
+
"phpstan/extension-installer": {
83
+
"ignore": [
84
+
"phpstan/phpstan-phpunit"
85
+
]
86
+
}
87
+
}
88
+
}
89
+
```
90
+
75
91
## Limitations
76
92
77
93
The extension installer depends on Composer script events, therefore you cannot use `--no-scripts` flag.
0 commit comments