Skip to content

Commit bb22d6b

Browse files
Feature/doc updates (#571)
* Updating PHP supported versions * Add quick explaination on Cyclomatic Complexity
1 parent 854c214 commit bb22d6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/get-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Get started
22

3-
> **Requires:** [PHP 7.2+](https://php.net/releases/)
3+
> **Requires:** [PHP 7.4+](https://php.net/releases/)
44
55
First, install PHP Insights via the `Composer` package manager:
66
```bash

docs/insights/complexity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ For now the Complexity section is only one Insight in one Metric:
66

77
## Cyclomatic Complexity is high <Badge text="^1.0"/> <Badge text="Complexity" type="warn"/>
88

9-
This insight checks complexity cyclomatic on your classes. It raises an issue if complexity is over `5`.
9+
This insight checks complexity cyclomatic on your classes, the lower the score the easier your code is to understand. It raises an issue if complexity is over `5`.
1010

1111
**Insight Class**: `NunoMaduro\PhpInsights\Domain\Insights\CyclomaticComplexityIsHigh`
1212

0 commit comments

Comments
 (0)