Skip to content

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

Notifications You must be signed in to change notification settings

mll-lab/phpstan-safe-rule

This branch is 6 commits ahead of thecodingmachine/phpstan-safe-rule:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 24, 2025
9e278ea · Feb 24, 2025

History

84 Commits
Feb 9, 2025
Feb 24, 2025
Feb 24, 2025
Jun 1, 2020
Nov 21, 2024
Sep 6, 2018
Feb 11, 2025
Feb 9, 2025
Feb 9, 2025
Nov 25, 2024
Feb 11, 2025

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%