samlitowitz / no-ternary
PHPStan rule to disallow the use of ternary operators
v1.0
2019-04-23 22:46 UTC
Requires
- phpstan/phpstan: 0.11.5
- phpunit/phpunit: 7.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.14
- jakub-onderka/php-parallel-lint: ^1.0
- phpmd/phpmd: ^2.6
- phpro/grumphp: ^0.15.0
- povils/phpmnd: ^2.1
- sensiolabs/security-checker: ^5.0
- squizlabs/php_codesniffer: ^3.4
This package is auto-updated.
Last update: 2024-12-12 19:40:16 UTC
README
Usage
To use these rules, require it via Composer
composer require samlitowitz/no-ternary --dev
Include rules.neon in your project's PHPStan config
includes:
- vendor/samlitowitz/no-ternary/rules.neon