orklah / psalm-strict-types
Adds strict_types declaration when the file is provably safe
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:psalm-plugin
Requires
- php: ^7.3
- vimeo/psalm: master
Requires (Dev)
- nikic/php-parser: ^4.0
- phpunit/phpunit: ^9.5
- psalm/plugin-phpunit: ^0.15.0
This package is auto-updated.
Last update: 2021-01-17 20:44:15 UTC
README
A Psalm plugin to add declaration of stricts_types by analyzing content of a file
Installation:
$ composer require --dev orklah/psalm-strict-types $ vendor/bin/psalm-plugin enable orklah/psalm-strict-types
Usage:
Run your usual Psalm command:
$ vendor/bin/psalm
Explanation: This is highly experimental. Do not run in production without comprehensive testing