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

Installs: 5 393 557

Dependents: 257

Suggesters: 3

Security: 0

Stars: 55

Watchers: 4

Forks: 17

Open Issues: 6


v1.2.0 2022-01-17 10:12 UTC

This package is auto-updated.

Last update: 2024-02-17 15:01:22 UTC


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.