mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
16 lines
1.5 KiB
Markdown
16 lines
1.5 KiB
Markdown
[](https://packagist.org/packages/thecodingmachine/phpstan-safe-rule)
|
|
[](https://packagist.org/packages/thecodingmachine/phpstan-safe-rule)
|
|
[](https://packagist.org/packages/thecodingmachine/phpstan-safe-rule)
|
|
[](https://packagist.org/packages/thecodingmachine/phpstan-safe-rule)
|
|
[](https://travis-ci.org/thecodingmachine/phpstan-safe-rule)
|
|
[](https://coveralls.io/github/thecodingmachine/phpstan-safe-rule?branch=master)
|
|
|
|
|
|
PHPStan rules for thecodingmachine/safe
|
|
=======================================
|
|
|
|
The [thecodingmachine/safe](https://github.com/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](https://github.com/thecodingmachine/safe) for details about installation and usage.
|