phpstan / phpstan-dibi
Dibi class reflection extension for PHPStan
Installs: 727 105
Dependents: 8
Suggesters: 0
Security: 0
Stars: 15
Watchers: 4
Forks: 9
Open Issues: 4
Type:phpstan-extension
Requires
- php: ^7.4 || ^8.0
- phpstan/phpstan: ^2.0
Requires (Dev)
- dibi/dibi: ~4.0
- php-parallel-lint/php-parallel-lint: ^1.2
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^9.6
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