Skip to content

A PHPStan rule to be used with the shish/safe package

Notifications You must be signed in to change notification settings

shish/phpstan-safe-rule

 
 

Repository files navigation

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)

About

A PHPStan rule to be used with the shish/safe package

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • PHP 98.9%
  • Dockerfile 1.1%