cdn77 / phpstan-test-utils-rule
This package is abandoned and no longer maintained.
The author suggests using the cdn77/test-utils package instead.
A PHPStan rule to be used with the cdn77/test-utils package
Package info
github.com/cdn77/PHPStanTestUtilsRule
Type:phpstan-extension
pkg:composer/cdn77/phpstan-test-utils-rule
dev-master
2019-12-03 23:10 UTC
Requires
- php: ^7.2
- nikic/php-parser: ^4.0
- phpstan/phpdoc-parser: ^0.4
- phpstan/phpstan: ^0.11|^0.12
- phpunit/phpunit: ^8
Requires (Dev)
- cdn77/coding-standard: ^2.0
- jakub-onderka/php-parallel-lint: ^1.0
- phing/phing: ^2.16.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan-phpunit: ^0.11.2
- phpstan/phpstan-strict-rules: ^0.11.1
This package is auto-updated.
Last update: 2020-01-26 15:21:54 UTC
README
Extension helps PHPStan to determine return type from makeStub() method provided by MakeStub Feature in Cdn77 Test Utils.
Installation
- Require this project as composer dev dependency:
composer require --dev cdn77/phpstan-test-utils-rule
Extension supports PHPStan Extension Installer so it will be installed automatically on composer require.
If you do not use the installer, you have to include extension.neon in your PHPStan config.