Registry / utility / thecodingmachine-phpstan-safe-rule

thecodingmachine-phpstan-safe-rule

JSON →
library1.4.3phppackagistunverified

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

composer require thecodingmachine/phpstan-safe-rule
INSTALL
IMPORT
SIG · THECODINGMACHINE-P
T
thecodingmachine-phpstan-safe-rule
utilityphpv1.4.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SafeRule
use TheCodingMachine\Safe\PHPStan\SafeRule;

Register the rule in PHPStan configuration

<?php // phpstan.neon rules: - TheCodingMachine\Safe\PHPStan\SafeRule
Debug
Known issues
gotchaRequires thecodingmachine/safe to be installed
fix
Run composer require thecodingmachine/safe
affects: >=1.0
Upgrade
Version history
1.4.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
thecodingmachine-phpstan-safe-rule — pip install thecodingmachine-phpstan-safe-rule · libregistry