Releases: struggle-for-php/sfp-phpstan-psr-log
0.23.0
0.22.0
0.21.0
Release Notes for 0.21.0
This release is aimed to support PHPStan 1.11.
If you use struggle-for-php/sfp-phpstan-psr-log 0.20 or under with phpstan 1.11, would be met identifier error. So please update phpstan to 1.11 & struggle-for-php/sfp-phpstan-psr-log to 0.21.
0.21.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 1
Bugfixes 🐛
Internals 🔍
- 80: Refactor around test case thanks to @sasezaki
0.20.0
Release Notes for 0.20.0
Important
Since 0.20.0
, changed default rule settings.
- MessageStaticStringRule is enabled by default.
- ContextRequireExceptionKeyRule is disabled by default.
see #71
Feature release (minor)
0.20.0
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 1
Internals 🔍
- 79: Use phpstan-strict-rules thanks to @sasezaki
Bugfixes 🐛
-
78: missing export-ignore for psalm-baseline.xml thanks to @sasezaki
-
76: merge 0.19.x thanks to @sasezaki
Major new features 🚀
- 72: Change default enable rules thanks to @sasezaki
0.19.1
0.19.0
Important
It is planned to change default rule settings.
- MessageStaticStringRule would be enabled by default.
- ContextRequireExceptionKeyRule would be disabled by default.
Recommendation
- write these parameters to your project's
phpstan.neon
parameters:
sfpPsrLog:
enableMessageStaticStringRule: true
enableContextRequireExceptionKeyRule: true
reportContextExceptionLogLevel: 'info'
contextKeyOriginalPattern: '#\A[A-Za-z0-9-_]+\z#'
see #71
Release Notes for 0.19.0
Feature release (minor)
0.19.0
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 1
Internals 🔍
- 74: Enable phpstan bleedingEdge thanks to @sasezaki
- 69: Add
.editorconfig
as export-ignore thanks to @sasezaki
Bugfixes 🐛
Improvements 🔧
0.18.0
Release Notes for 0.18.0
This release includes conditionalTags to enable/disable MessageStaticStringRule
#67.
If you use 0.17.0
, please change your phpstan.neon
0.17.0
Remove this!
rules:
- Sfp\PHPStan\Psr\Log\Rules\MessageStaticStringRule
since 0.18.0
please add this!
parameters:
sfpPsrLog:
enableMessageStaticStringRule: true
0.18.0
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 1
Improvements
- 67: Support conditionalTags for ContextRequireExceptionKeyRule, MessageStaticStringRule thanks to @sasezaki
- 64: Remove string check for context rules thanks to @sasezaki
- 62: Handle context array by constant-array #57 thanks to @sasezaki
Internals
0.17.0
Release Notes for 0.17.0
Added MessageStaticStringRule
(experimental)
You should add Sfp\PHPStan\Psr\Log\Rules\MessageStaticStringRule
into your phpstan.neon to enable.
rules:
- Sfp\PHPStan\Psr\Log\Rules\MessageStaticStringRule
0.17.0
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 2
enhancement
- 56: Use getConstantStrings to get resolved arg string thanks to @sasezaki
- 55: Add
MessageStaticStringRule
thanks to @sasezaki - 53: Supports original key name regex pattern for context thanks to @sasezaki
- 52: Add example test as e2e thanks to @sasezaki
documentation
0.16.1
0.16.0
Release Notes for 0.16.0
This release includes some minor bc breaks. final
internal
& update for case consistency.
0.16.0
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 1
documentation
- 49: fix catch statement at README thanks to @sasezaki
- 45: Added
reportContextExceptionLogLevel
parameter to README thanks to @sasezaki