Skip to content

thecodingmachine/phpstan-safe-rule

Repository files navigation

Latest Stable Version Total Downloads Latest Unstable Version License Build Status Coverage Status

PHPStan rules for thecodingmachine/safe

The thecodingmachine/safe package provides a set of core PHP functions rewritten to throw exceptions instead of returning false when an error is encountered.

This PHPStan rule will help you detect unsafe function call and will propose you to use the thecodingmachine/safe variant instead.

Please read thecodingmachine/safe documentation for details about installation and usage.