phpstan / phpstan-guzzle
This package is abandoned and no longer maintained.
The author suggests using the phpstan/phpstan package instead.
Guzzle extensions for PHPStan
0.7
2017-05-08 11:48 UTC
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\Clientwith 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