🔧 Improvements
- PHP 8.2: Support for standalone
null
,true
andfalse
type hints SlevomatCodingStandard.PHP.RequireExplicitAssertion
: Improved support for native simple typesSlevomatCodingStandard.PHP.RequireExplicitAssertion
: New optionenableIntegerRanges
SlevomatCodingStandard.PHP.RequireExplicitAssertion
: New optionenableAdvancedStringTypes
- Support of
phpstan/phpdoc-parser
1.8.0
🐛 Fixes
SlevomatCodingStandard.Classes.PropertyDeclaration
: Fixed false positiveSlevomatCodingStandard.PHP.RequireExplicitAssertion
: Fixed false positiveSlevomatCodingStandard.ControlStructures.DisallowYodaComparison/RequireYodaComparison
: Fixed support for condition in arrow functionSlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition
: Fixed false positives for old array definition styleSlevomatCodingStandard.Variables.UselessVariable
: Fixed false positives