Skip to content

Commit ec8467f

Browse files
committed
Apply fixed coderabbitai Nitpick comments.
1 parent 147da3a commit ec8467f

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<a href="https://github.com/yii2-extensions/phpstan" target="_blank">
33
<img src="https://www.yiiframework.com/image/yii_logo_light.svg" height="100px;">
44
</a>
5-
<h1 align="center">Extension for PHPStan.</h1>
5+
<h1 align="center">Extension for PHPStan</h1>
66
</p>
77

88
<p align="center">

docs/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ This will work with basic type inference but won't have custom component types.
343343
For projects with both web and console applications:
344344

345345
### Project Structure
346-
```
346+
```text
347347
phpstan-web.neon # Web-specific configuration
348348
phpstan-console.neon # Console-specific configuration
349349
phpstan.neon # Base configuration
@@ -430,4 +430,4 @@ vendor/bin/phpstan analyse --generate-baseline
430430

431431
## Next Steps
432432

433-
- 💡 See [Usage Examples](examples.md) for practical examples
433+
- 💡 [Usage Examples](examples.md)

docs/examples.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,3 +708,8 @@ class ApiController extends \yii\web\Controller
708708
This comprehensive examples guide shows how the `Yii2` `PHPStan` extension provides precise type inference across all
709709
major `Yii2` patterns and use cases, making your code more maintainable and reducing runtime errors through static
710710
analysis.
711+
712+
## Next Steps
713+
714+
- 📚 [Installation Guide](docs/installation.md)
715+
- ⚙️ [Configuration Guide](configuration.md)

docs/installation.md

Lines changed: 4 additions & 4 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

@@ -111,7 +111,6 @@ return [
111111
'components' => [
112112
'db' => [
113113
'class' => \yii\db\Connection::class,
114-
'dsn' => 'sqlite::memory:',
115114
],
116115
'user' => [
117116
'class' => \yii\web\User::class,
@@ -209,7 +208,7 @@ vendor/bin/phpstan analyse test-phpstan.php --level=5
209208

210209
## Bootstrap Configuration
211210

212-
If your application requires custom bootstrap logic, create a bootstrap file:
211+
If your application requires custom bootstrap logic, create a bootstrap file.
213212

214213
```php
215214
<?php
@@ -250,4 +249,5 @@ vendor/bin/phpstan --version
250249

251250
Once installation is complete:
252251

253-
- 📖 Read the [Configuration Guide](configuration.md) for advanced settings
252+
- ⚙️ [Configuration Reference](docs/configuration.md)
253+
- 💡 [Usage Examples](docs/examples.md)

0 commit comments

Comments
 (0)