|
7 | 7 |
|
8 | 8 | <p align="center">
|
9 | 9 | <a href="https://www.php.net/releases/8.1/en.php" target="_blank">
|
10 |
| - <img src="https://img.shields.io/badge/PHP-%3E%3D8.1-787CB5" alt="PHP Version"> |
| 10 | + <img src="https://img.shields.io/badge/%3E%3D8.1-777BB4.svg?style=for-the-badge&logo=php&logoColor=white" alt="PHP version"> |
11 | 11 | </a>
|
12 | 12 | <a href="https://github.com/yiisoft/yii2/tree/2.0.53" target="_blank">
|
13 |
| - <img src="https://img.shields.io/badge/Yii2%20-2.0.53-blue" alt="Yii2 22.0.53"> |
| 13 | + <img src="https://img.shields.io/badge/2.0.x-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white" alt="Yii 2.0.x"> |
14 | 14 | </a>
|
15 | 15 | <a href="https://github.com/yiisoft/yii2/tree/22.0" target="_blank">
|
16 |
| - <img src="https://img.shields.io/badge/Yii2%20-22-blue" alt="Yii2 22.0"> |
17 |
| - </a> |
| 16 | + <img src="https://img.shields.io/badge/22.0.x-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white" alt="Yii 22.0.x"> |
| 17 | + </a> |
18 | 18 | <a href="https://github.com/yii2-extensions/phpstan/actions/workflows/build.yml" target="_blank">
|
19 |
| - <img src="https://github.com/yii2-extensions/phpstan/actions/workflows/build.yml/badge.svg" alt="PHPUnit"> |
| 19 | + <img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/phpstan/build.yml?style=for-the-badge&label=PHPUnit" alt="PHPUnit"> |
20 | 20 | </a>
|
21 |
| - <a href="https://github.com/yii2-extensions/phpstan/actions/workflows/static.yml" target="_blank"> |
22 |
| - <img src="https://github.com/yii2-extensions/phpstan/actions/workflows/static.yml/badge.svg" alt="Static Analysis"> |
23 |
| - </a> |
| 21 | + <a href="https://github.com/yii2-extensions/phpstan/actions/workflows/static.yml" target="_blank"> |
| 22 | + <img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/phpstan/static.yml?style=for-the-badge&label=PHPStan" alt="PHPStan"> |
| 23 | + </a> |
24 | 24 | </p>
|
25 | 25 |
|
26 | 26 | A comprehensive PHPStan extension that provides enhanced static analysis for Yii2 applications with precise type
|
@@ -68,14 +68,14 @@ inference, dynamic method resolution, and comprehensive property reflection.
|
68 | 68 | - Support for all Service Locator subclasses (Application, Module, custom classes).
|
69 | 69 | - Type inference with string variables and class name constants.
|
70 | 70 |
|
71 |
| -## Quick start |
72 |
| - |
73 | 71 | ### Installation
|
74 | 72 |
|
75 | 73 | ```bash
|
76 |
| -composer require --dev yii2-extensions/phpstan |
| 74 | +composer require --dev yii2-extensions/phpstan:^0.3 |
77 | 75 | ```
|
78 | 76 |
|
| 77 | +### Quick start |
| 78 | + |
79 | 79 | Create a `phpstan.neon` file in your project root.
|
80 | 80 |
|
81 | 81 | ```neon
|
@@ -256,22 +256,21 @@ For detailed configuration options and advanced usage.
|
256 | 256 | - 💡 [Usage Examples](docs/examples.md)
|
257 | 257 | - 🧪 [Testing Guide](docs/testing.md)
|
258 | 258 |
|
| 259 | +## Package information |
| 260 | + |
| 261 | +[](https://packagist.org/packages/yii2-extensions/phpstan) |
| 262 | +[](https://packagist.org/packages/yii2-extensions/phpstan) |
| 263 | + |
259 | 264 | ## Quality code
|
260 | 265 |
|
261 |
| -[](https://github.com/yii2-extensions/phpstan/releases) |
262 |
| -[](https://packagist.org/packages/yii2-extensions/phpstan) |
263 |
| -[](https://codecov.io/gh/yii2-extensions/phpstan) |
264 |
| -[](https://github.com/yii2-extensions/phpstan/actions/workflows/static.yml) |
265 |
| -[](https://github.styleci.io/repos/701347895?branch=main) |
| 266 | +[](https://codecov.io/github/yii2-extensions/phpstan) |
| 267 | +[](https://github.com/yii2-extensions/phpstan/actions/workflows/static.yml) |
| 268 | +[](https://github.styleci.io/repos/701347895?branch=main) |
266 | 269 |
|
267 | 270 | ## Our social networks
|
268 | 271 |
|
269 |
| -[](https://x.com/Terabytesoftw) |
| 272 | +[](https://x.com/Terabytesoftw) |
270 | 273 |
|
271 | 274 | ## License
|
272 | 275 |
|
273 |
| -[](LICENSE.md) |
274 |
| - |
275 |
| -## Fork |
276 |
| - |
277 |
| -This package is a fork of [proget-hq/phpstan-yii2](https://github.com/proget-hq/phpstan-yii2) with some corrections. |
| 276 | +[](LICENSE.md) |
0 commit comments