thecodingmachine/phpstan-safe-rule

A PHPStan rule to detect safety issues. Must be used in conjunction with thecodingmachine/safe

Installs: 318 742

Dependents: 104

Suggesters: 0

Security: 0

Stars: 16

Watchers: 2

Forks: 6

Open Issues: 2

Type:phpstan-extension

v1.0.0 2020-01-02 14:59 UTC

This package is auto-updated.

Last update: 2020-03-31 15:40:26 UTC


README

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.