Download the PHP package struggle-for-php/sfp-psalm-typed-local-variable-plugin without Composer
On this page you can find all versions of the php package struggle-for-php/sfp-psalm-typed-local-variable-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download struggle-for-php/sfp-psalm-typed-local-variable-plugin
More information about struggle-for-php/sfp-psalm-typed-local-variable-plugin
Files in struggle-for-php/sfp-psalm-typed-local-variable-plugin
Download struggle-for-php/sfp-psalm-typed-local-variable-plugin
More information about struggle-for-php/sfp-psalm-typed-local-variable-plugin
Files in struggle-for-php/sfp-psalm-typed-local-variable-plugin
Vendor struggle-for-php
Package sfp-psalm-typed-local-variable-plugin
Short Description finding mismatch type assignment in function/method scope with psalm
License MIT
Package sfp-psalm-typed-local-variable-plugin
Short Description finding mismatch type assignment in function/method scope with psalm
License MIT
Please rate this library. Is it a good library?
Informations about the package sfp-psalm-typed-local-variable-plugin
sfp-psalm-typed-local-variable-plugin
finding mismatch type assignment in function/method scope with psalm.
Installation
latest version supports psalm ^4
.
Demo
Plugin Issues
All issue names has TypedLocalVariableIssue
suffix.
- MixedTypeCoercionTypedLocalVariableIssue
- nearly MixedArgumentTypeCoercion
eg.
- TypeCoercionTypedLocalVariableIssue
- nearly ArgumentTypeCoercion
eg.
-
InvalidScalarTypedLocalVariableIssue
- nearly InvalidScalarArgument
- InvalidTypedLocalVariableIssue
- nearly InvalidArgument
If you want suppress specific issue, please setting psalm.xml
like below.
Disclaimer
This is Experimental plugin.
Limitation
- NOT support global variables.
- NOT support variables in namespace.
- NOT support Variable variables
- Non-each inline VariableReference.
- eg.
Todo
- [ ] optional setting for only from_docblock typed.
All versions of sfp-psalm-typed-local-variable-plugin with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4.3|^8
ext-simplexml Version *
vimeo/psalm Version ^4
nikic/php-parser Version ^4.10
ext-simplexml Version *
vimeo/psalm Version ^4
nikic/php-parser Version ^4.10
The package struggle-for-php/sfp-psalm-typed-local-variable-plugin contains the following files
Loading the files please wait ....