samlitowitz/no-ternary

PHPStan rule to disallow the use of ternary operators

v1.0 2019-04-23 22:46 UTC

This package is auto-updated.

Last update: 2024-12-12 19:40:16 UTC


README

Build Status

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