Skip to content

PHPStan rule to ensure you're using strict casts wherever possible

License

Notifications You must be signed in to change notification settings

ntzm/strict-casts-phpstan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strict Casts PHPStan Rule

Ensure you're using strict casts wherever possible

Installation

$ composer require ntzm/strict-casts-phpstan

In your PHPStan config, add:

includes:
    - vendor/ntzm/strict-casts-phpstan/rules.neon

About

PHPStan rule to ensure you're using strict casts wherever possible

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages