phpstan / phpstan-guzzle
Guzzle extensions for PHPStan
Installs: 13 812
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: ~7.0
- guzzlehttp/guzzle: ~6.0
- phpstan/phpstan: ^0.7
Requires (Dev)
- consistence/coding-standard: ~0.12.0
- phing/phing: ^2.13.0
- phpunit/phpunit: ^5.7|^6.0
- satooshi/php-coveralls: dev-master
- slevomat/coding-standard: ^1.1.1
This package is not auto-updated.
Last update: 2019-02-20 19:10:38 UTC
README
This extension is deprecated, because since PHPStan 0.8 @method
annotations are read including method parameters, making this extension obsolete. Guzzle HTTP client can now be used without any special extension.
This extension provides following feature:
- Adds missing magics method (
get
,post
, ... and the asynchronous ones) onGuzzleHttp\Client
with correct return types
Usage
To use this extension, require it in Composer:
composer require --dev phpstan/phpstan-guzzle
And include extension.neon
in your project's PHPStan config:
includes:
- vendor/phpstan/phpstan-guzzle/extension.neon