shish/phpstan-safe-rule

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

Installs: 127

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 19

Type:phpstan-extension

v1.3.1 2024-10-09 12:57 UTC

This package is auto-updated.

Last update: 2024-11-09 13:38:35 UTC


README

Latest Stable Version Total Downloads License Continuous Integration

PHPStan rules for shish/safe

The shish/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 shish/safe variant instead.

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

(This is a fork of thecodingmachine/phpstan-safe-rule, with added support for PHP 8)