Download the PHP package zonuexe/phpstan-safe-rule-simple without Composer
On this page you can find all versions of the php package zonuexe/phpstan-safe-rule-simple. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zonuexe/phpstan-safe-rule-simple
More information about zonuexe/phpstan-safe-rule-simple
Files in zonuexe/phpstan-safe-rule-simple
Package phpstan-safe-rule-simple
Short Description A PHPStan rule to detect safety issues. Must be used in conjunction with thecodingmachine/safe
License MIT
Informations about the package phpstan-safe-rule-simple
A simplified forked PHPStan rules for thecodingmachine/safe
Note This fork shrinks the dependent version of thecodingmachine/phpstan-safe-rule to provide a pure rule with the
DynamicFunctionReturnTypeExtension
removed.
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.
All versions of phpstan-safe-rule-simple with dependencies
phpstan/phpstan Version >=1.9.14
thecodingmachine/safe Version ^1.3 || ^2.4