orklah/psalm-strict-types

Adds strict_types declaration when the file is provably safe

dev-master 2021-01-17 20:44 UTC

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