phpstan / phpstan-dibi
Dibi class reflection extension for PHPStan
Installs: 702 844
Dependents: 8
Suggesters: 0
Security: 0
Stars: 15
Watchers: 4
Forks: 9
Open Issues: 4
Type:phpstan-extension
Requires
- php: ^7.2 || ^8.0
- phpstan/phpstan: ^1.12
Requires (Dev)
- dibi/dibi: ~4.0
- php-parallel-lint/php-parallel-lint: ^1.2
- phpstan/phpstan-phpunit: ^1.4
- phpstan/phpstan-strict-rules: ^1.6
- phpunit/phpunit: ^9.5
Conflicts
- dibi/dibi: <3.0
README
This extension defines dynamic methods on Dibi\Fluent
instance. They are called to build an SQL query dynamically.
Installation
To use this extension, require it in Composer:
composer require --dev phpstan/phpstan-dibi
If you also install phpstan/extension-installer then you're all set!
Manual installation
If you don't want to use phpstan/extension-installer
, include extension.neon in your project's PHPStan config:
includes:
- vendor/phpstan/phpstan-dibi/extension.neon