Skip to content

Commit 777806e

Browse files
authored
Fix typos (#594)
1 parent 7f3daa8 commit 777806e

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/continuous-integration.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ If the minimum level defined is not reached, the console will return an exit err
1111
php artisan insights --no-interaction --min-quality=80 --min-complexity=90 --min-architecture=75 --min-style=95
1212
```
1313

14-
These options can also be found in the configuration file, so no arguments needs to be passed when calling the command.
15-
Command arguments has higher priority than configuration values.
14+
These options can also be found in the configuration file, so no arguments need to be passed when calling the command.
15+
Command arguments have higher priority than configuration values.
1616

1717
**Note**: The `--no-interaction` option is mandatory when it's launched in CI to avoid prompts.
1818

1919
All others are optional, so if you want to focus only on style, add the `--min-style` and forget others.
2020

2121
## Disable Security Check
2222

23-
In case you develop a library or a plugin, it could be compatible with a large panel of dependencies versions.
24-
So you can launch your `composer update` with `--prefer-lower` flag to tests theses minimum version.
23+
In case you develop a library or a plugin, it could be compatible with a large panel of dependency versions.
24+
So you can launch your `composer update` with the `--prefer-lower` flag to test these minimum versions.
2525

26-
As `phpinsights` returns an exit error code if security issues are found, you can disable this check by adding the `--disable-security-check` option :
26+
As `phpinsights` returns an exit error code if security issues are found, you can disable this check by adding the `--disable-security-check` option:
2727

2828
```bash
2929
./vendor/bin/phpinsights --no-interaction --disable-security-check
@@ -33,8 +33,8 @@ As `phpinsights` returns an exit error code if security issues are found, you ca
3333

3434
## Github Action <Badge text="^1.13"/>
3535

36-
If you use Github Action, you can launch PHP Insights with `--format=github-action` option.
37-
With that, annotations with issues will be added in Pull request.
36+
If you use Github Action, you can launch PHP Insights with the `--format=github-action` option.
37+
With that, annotations with issues will be added in the Pull request.
3838

3939

4040
```yaml
@@ -60,7 +60,7 @@ jobs:
6060
6161
## GitLab Code Quality <Badge text="^2.0"/>
6262
63-
If you use GitLab, you can launch PHP Insights with `--format=codeclimate` option.
63+
If you use GitLab, you can launch PHP Insights with the `--format=codeclimate` option.
6464
With that, annotations with issues will be added in a merge request with Code Quality.
6565

6666

docs/contribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,6 @@ final class Preset implements PresetContract
130130
## Create a new `Formatter`
131131

132132
The package has support for formatting the result.
133-
All formats implements the contract `src/Application/Console/Contracts/Formatter`.
133+
All formats implement the contract `src/Application/Console/Contracts/Formatter`.
134134

135135
You are welcome to contribute with new formats or improve on the ones we already have.

docs/get-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ composer bin phpinsights require nunomaduro/phpinsights
176176

177177
## Flush cache results <Badge text="^2.0"/>
178178

179-
Between 2 analysis, issues are cached.
180-
PHPInsights is smart enough to invalidate cache when it detect changes in your code, but you may completely flush cache before analysis by adding `--flush-cache` flag.
179+
Between 2 analyses, issues are cached.
180+
PHPInsights is smart enough to invalidate cache when it detects changes in your code, but you may completely flush cache before analysis by adding `--flush-cache` flag.
181181

182182
## Configure diff <Badge text="^2.0"/>
183183

0 commit comments

Comments
 (0)