We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36fe6f8 commit 57ec632Copy full SHA for 57ec632
docs/insights/architecture.md
@@ -114,6 +114,18 @@ This insight checks if the `composer.json` is valid.
114
115
**Insight Class**: `NunoMaduro\PhpInsights\Domain\Insights\Composer\ComposerMustBeValid`
116
117
+<details>
118
+ <summary>Configuration</summary>
119
+
120
+```php
121
+ComposerMustBeValid::class => [
122
+ //optional configuration value for composer version 2 only
123
+ //you can allow 'version' in your composer.json and disable the check of it so that you don't get an error
124
+ 'composerVersionCheck' => 0,
125
+]
126
+```
127
+</details>
128
129
## Composer.lock must be fresh <Badge text="^1.7"/> <Badge text="Architecture\Composer" type="warn"/>
130
131
This insight verifies that the `composer.lock` is not outdated.
0 commit comments