File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Stubs (for PHPstan)
1+ # Stubs (for PHPstan)\
2+
3+ [ ![ Continuous Integration] ( https://github.com/reactphp-parallel/stubs/actions/workflows/ci.yml/badge.svg )] ( https://github.com/reactphp-parallel/stubs/actions )
4+ [ ![ Latest Stable Version] ( https://poser.pugx.org/react-parallel/stubs/v/stable )] ( https://packagist.org/packages/react-parallel/stubs )
5+ [ ![ License] ( https://poser.pugx.org/react-parallel/stubs/license )] ( https://packagist.org/packages/react-parallel/stubs )
6+
7+ * [ PHPStan] ( https://phpstan.org/ )
8+ * [ ext-parallel] ( https://github.com/krakjoe/parallel )
9+
10+ ## Installation
11+
12+ To use this extension, require it in [ Composer] ( https://getcomposer.org/ ) :
13+
14+ ```
15+ composer require --dev react-parallel/stubs
16+ ```
17+
18+ If you also install [ phpstan/extension-installer] ( https://github.com/phpstan/extension-installer ) then you're all set!
19+
20+ <details >
21+ <summary >Manual installation</summary >
22+
23+ If you don't want to use ` phpstan/extension-installer ` , include extension.neon in your project's PHPStan config:
24+
25+ ```
26+ includes:
27+ - vendor/react-parallel/stubs/extension.neon
28+ ```
29+
30+ </details >
You can’t perform that action at this time.
0 commit comments