finwe / phpstan-faker
PHPStan extension for fzaninotto/Faker
Installs: 37 851
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 8
Open Issues: 1
Type:phpstan-extension
Requires
- php: ~7.1
- fzaninotto/faker: ^1.6.0
- phpstan/phpstan: ^0.12
Requires (Dev)
- consistence/coding-standard: ^2.0
- jakub-onderka/php-parallel-lint: ^0.9.2
- phing/phing: ^2.16.0
- phpunit/phpunit: ^5.7
- slevomat/coding-standard: ^3.0.3
README
Deprecation Notice
The problem this project used to solve is no longer present with the latest versions of PHPStan and Faker. It is recommended to update those and remove this project from your dependencies.
composer update
composer remove finwe/phpstan-faker
This extension provides following features:
- Provides definitions for magic
Faker\Generator
methods and properties
Usage
To use this extension, require it in Composer:
composer require --dev finwe/phpstan-faker
And include extension.neon in your project's PHPStan config:
includes:
- vendor/finwe/phpstan-faker/extension.neon