Mend Renovate
This PR contains the following updates:
Release Notes
consistence-community/coding-standard
Compare Source
slevomat/coding-standard
Compare Source
🆕 New sniffs
SlevomatCodingStandard.Classes.DisallowStringExpressionPropertyFetch
: Disallows string expression property fetch $object->{'foo'}
SlevomatCodingStandard.Strings.DisallowVariableParsing
: Disallows variable parsing inside strings (thanks to @Ekimik)
SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed
: Disallows partially keyed arrays (thanks to @bkdotcom)
🔧 Improvements
- Object shapes support
- Improved support for arrays in
array()
style (thanks to @bkdotcom)
- Support for
phpstan/phpdoc-parser
1.18
Compare Source
🔧 Improvements
- Support for
phpstan/phpdoc-parser
1.17
🐛 Fixes
SlevomatCodingStandard.Classes.ParentCallSpacing
: Fixed false positives with parent call used in match()
Compare Source
🐛 Fixes
SlevomatCodingStandard.ControlStructures.NewWithParentheses
: Fixed false positives for anonymous class with attributes
SlevomatCodingStandard.Classes.RequireSelfReference
: Fixed false positives for anonymous classes with extends
or implements
Compare Source
🆕 New sniffs
SlevomatCodingStandard.Classes.EnumCaseSpacing
: Checks that there is a certain number of blank lines between enum cases
SlevomatCodingStandard.Classes.RequireSelfReference
: Requires self
for local reference
SlevomatCodingStandard.Variables.DisallowVariableVariable
: Disallows use of variable variables
SlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOperator
: Ternary operator has to be reformatted when the operator is not leading the line (thanks to @esserj)
SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys
: Enforces natural sorting of array definitions by key in multi-line arrays (thanks to @bkdotcom)
🔧 Improvements
- Support for
phpstan/phpdoc-parser
1.16
@phpcsSuppress
can be with comment
- Support for
non-falsy-string
, list
and non-empty-list
type hints
SlevomatCodingStandard.Arrays.TrailingArrayComma
: Support for "legacy" array()
syntax (thanks to @bkdotcom)
SlevomatCodingStandard.Complexity.Cognitive
: Deprecate maxComplexity
and implement warningThreshold
and errorThreshold
options (thanks to @bkdotcom)
SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing
: New option allowOnSameLine
(thanks to @stlrnz)
SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature
: New option minParameterCount
(thanks to @janedbal)
🐛 Fixes
SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses
: Fixer should not remove doc comments
SlevomatCodingStandard.ControlStructures.EarlyExit
: Fixed detection of useless else
SlevomatCodingStandard.Variables.UselessVariable
: Fixed false positive
SlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking
: Fixed false positive with first class callable
SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion
: Fixes using prefixed var phpdoc (thanks to @franmomu)
Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.
Mend Renovate
This PR contains the following updates:
3.11.2
->3.11.3
8.8.0
->8.10.0
Release Notes
consistence-community/coding-standard
v3.11.3
Compare Source
slevomat/coding-standard
v8.10.0
Compare Source
🆕 New sniffs
SlevomatCodingStandard.Classes.DisallowStringExpressionPropertyFetch
: Disallows string expression property fetch$object->{'foo'}
SlevomatCodingStandard.Strings.DisallowVariableParsing
: Disallows variable parsing inside strings (thanks to @Ekimik)SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed
: Disallows partially keyed arrays (thanks to @bkdotcom)🔧 Improvements
array()
style (thanks to @bkdotcom)phpstan/phpdoc-parser
1.18v8.9.2
Compare Source
🔧 Improvements
phpstan/phpdoc-parser
1.17🐛 Fixes
SlevomatCodingStandard.Classes.ParentCallSpacing
: Fixed false positives with parent call used inmatch()
v8.9.1
Compare Source
🐛 Fixes
SlevomatCodingStandard.ControlStructures.NewWithParentheses
: Fixed false positives for anonymous class with attributesSlevomatCodingStandard.Classes.RequireSelfReference
: Fixed false positives for anonymous classes withextends
orimplements
v8.9.0
Compare Source
🆕 New sniffs
SlevomatCodingStandard.Classes.EnumCaseSpacing
: Checks that there is a certain number of blank lines between enum casesSlevomatCodingStandard.Classes.RequireSelfReference
: Requiresself
for local referenceSlevomatCodingStandard.Variables.DisallowVariableVariable
: Disallows use of variable variablesSlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOperator
: Ternary operator has to be reformatted when the operator is not leading the line (thanks to @esserj)SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys
: Enforces natural sorting of array definitions by key in multi-line arrays (thanks to @bkdotcom)🔧 Improvements
phpstan/phpdoc-parser
1.16@phpcsSuppress
can be with commentnon-falsy-string
,list
andnon-empty-list
type hintsSlevomatCodingStandard.Arrays.TrailingArrayComma
: Support for "legacy"array()
syntax (thanks to @bkdotcom)SlevomatCodingStandard.Complexity.Cognitive
: DeprecatemaxComplexity
and implementwarningThreshold
anderrorThreshold
options (thanks to @bkdotcom)SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing
: New optionallowOnSameLine
(thanks to @stlrnz)SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature
: New optionminParameterCount
(thanks to @janedbal)🐛 Fixes
SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses
: Fixer should not remove doc commentsSlevomatCodingStandard.ControlStructures.EarlyExit
: Fixed detection of useless elseSlevomatCodingStandard.Variables.UselessVariable
: Fixed false positiveSlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking
: Fixed false positive with first class callableSlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion
: Fixes using prefixed var phpdoc (thanks to @franmomu)Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.