Skip to content

Commit ff0c4a3

Browse files
committed
docs: Improve clarity and consistency in configuration, installation, and examples documentation.
1 parent 87ebb4f commit ff0c4a3

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ return [
8383
];
8484
```
8585

86-
Use a separate PHPStan configuration for console.
86+
Use a separate PHPStan configuration for the console.
8787

8888
```neon
8989
# phpstan-console.neon

docs/examples.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -705,9 +705,8 @@ class ApiController extends \yii\web\Controller
705705
}
706706
```
707707

708-
This comprehensive examples guide shows how the `Yii2` `PHPStan` extension provides precise type inference across all
709-
major `Yii2` patterns and use cases, making your code more maintainable and reducing runtime errors through static
710-
analysis.
708+
This comprehensive examples guide shows how the Yii2 PHPStan extension provides precise type inference across all major
709+
Yii2 patterns and use cases, making your code more maintainable and reducing runtime errors through static analysis.
711710

712711
## Next Steps
713712

docs/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Add the plugin configuration to your `composer.json`.
6161
}
6262
```
6363

64-
With this setup, the extension will be automatically registered, and you only need to configure the Yii2-specific settings.
64+
With this setup, the extension will be automatically registered, and you only need to configure the Yii2 specific settings.
6565

6666
### Manual Extension Registration
6767

@@ -169,7 +169,7 @@ parameters:
169169

170170
## Verification
171171

172-
Test your installation by running PHPStan:
172+
Test your installation by running PHPStan.
173173

174174
```bash
175175
vendor/bin/phpstan analyse

0 commit comments

Comments
 (0)