Download the PHP package facile-it/psalm-psr-log-plugin without Composer
On this page you can find all versions of the php package facile-it/psalm-psr-log-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download facile-it/psalm-psr-log-plugin
More information about facile-it/psalm-psr-log-plugin
Files in facile-it/psalm-psr-log-plugin
Download facile-it/psalm-psr-log-plugin
More information about facile-it/psalm-psr-log-plugin
Files in facile-it/psalm-psr-log-plugin
Vendor facile-it
Package psalm-psr-log-plugin
Short Description Psalm plugin for psr/log (PSR-3)
License MIT
Package psalm-psr-log-plugin
Short Description Psalm plugin for psr/log (PSR-3)
License MIT
Please rate this library. Is it a good library?
Informations about the package psalm-psr-log-plugin
psalm-psr-log-plugin
A Psalm plugin to check psr/log (PSR-3) usage.
Features
- Suppress
ImplicitToStringCast
psalm errors when objects with a__toString()
method are used as message - Checks that all placeholders used in a message string are in the context array
Example
This plugin checks for missing context keys for placeholders:
Usage
Include the plugin in your psalm.xml
config file.
Required keys
if you want to always require keys in context, you can configure the plugin with the requiredKey
:
Ignored keys
if you want to ignore requirement for some key in context, you can configure the plugin with the ignoredKey
.
This is useful when you have your logger that automatically injects it.
All versions of psalm-psr-log-plugin with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2 || ^8.0
ext-simplexml Version *
psr/log Version ^1.1 || ^2.0 || ^3.0
vimeo/psalm Version ^4.7 || ^5.0
ext-simplexml Version *
psr/log Version ^1.1 || ^2.0 || ^3.0
vimeo/psalm Version ^4.7 || ^5.0
The package facile-it/psalm-psr-log-plugin contains the following files
Loading the files please wait ....