|
3 | 3 | The following insights are organised in different metrics :
|
4 | 4 |
|
5 | 5 | * `NunoMaduro\PhpInsights\Domain\Metrics\Architecture\Classes` <Badge text="Architecture\Classes" type="warn" vertical="middle"/>
|
6 |
| -* `NunoMaduro\PhpInsights\Domain\Metrics\Architecture\Composer` <Badge text="Architecture\Composer" type="warn" vertical="middle"/> |
7 | 6 | * `NunoMaduro\PhpInsights\Domain\Metrics\Architecture\Constants` <Badge text="Architecture\Constants" type="warn" vertical="middle"/>
|
8 | 7 | * `NunoMaduro\PhpInsights\Domain\Metrics\Architecture\Files` <Badge text="Architecture\Files" type="warn" vertical="middle"/>
|
9 | 8 | * `NunoMaduro\PhpInsights\Domain\Metrics\Architecture\Functions` <Badge text="Architecture\Functions" type="warn" vertical="middle"/>
|
@@ -95,42 +94,6 @@ This sniff reports use of superfluous prefix or suffix "Abstract" for abstract c
|
95 | 94 |
|
96 | 95 | **Insight Class**: `SlevomatCodingStandard\Sniffs\Classes\SuperfluousAbstractClassNamingSniff`
|
97 | 96 |
|
98 |
| -## `composer.json` must exist <Badge text="^1.0"/> <Badge text="Architecture\Composer" type="warn"/> |
99 |
| - |
100 |
| -This insight verifies there is `composer.json`. |
101 |
| - |
102 |
| -**Insight Class**: `NunoMaduro\PhpInsights\Domain\Insights\Composer\ComposerMustExist` |
103 |
| - |
104 |
| -## The name property in the `composer.json` <Badge text="^1.0"/> <Badge text="Architecture\Composer" type="warn"/> |
105 |
| - |
106 |
| -This insight checks if the name section in `composer.json` contains default values (e.g. `laravel/laravel` or `symfony/symfony`). |
107 |
| - |
108 |
| -**Insight Class**: `NunoMaduro\PhpInsights\Domain\Insights\Composer\ComposerMustContainName` |
109 |
| - |
110 |
| -## Composer.json must be valid <Badge text="^1.7"/> <Badge text="Architecture\Composer" type="warn"/> |
111 |
| - |
112 |
| -This insight checks if the `composer.json` is valid. |
113 |
| - |
114 |
| -**Insight Class**: `NunoMaduro\PhpInsights\Domain\Insights\Composer\ComposerMustBeValid` |
115 |
| - |
116 |
| -<details> |
117 |
| - <summary>Configuration</summary> |
118 |
| - |
119 |
| -```php |
120 |
| -ComposerMustBeValid::class => [ |
121 |
| - //optional configuration value for composer version 2 only |
122 |
| - //you can allow 'version' in your composer.json and disable the check of it so that you don't get an error |
123 |
| - 'composerVersionCheck' => 0, |
124 |
| -] |
125 |
| -``` |
126 |
| -</details> |
127 |
| - |
128 |
| -## Composer.lock must be fresh <Badge text="^1.7"/> <Badge text="Architecture\Composer" type="warn"/> |
129 |
| - |
130 |
| -This insight verifies that the `composer.lock` is not outdated. |
131 |
| - |
132 |
| -**Insight Class**: `NunoMaduro\PhpInsights\Domain\Insights\Composer\ComposerLockMustBeFresh` |
133 |
| - |
134 | 97 | ## Define `globals` is prohibited <Badge text="^1.0"/> <Badge text="Architecture\Constants" type="warn"/>
|
135 | 98 |
|
136 | 99 | This insight disallows defining `globals`.
|
|
0 commit comments