chore(deps): update dependency slevomat/coding-standard to v8.31.1 - #14
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency slevomat/coding-standard to v8.31.1#14renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
composer.lockPackage changes
Settings · Docs · Powered by Private Packagist |
renovate
Bot
force-pushed
the
renovate/slevomat-coding-standard-8.x-lockfile
branch
from
May 1, 2025 15:45
5d957f6 to
8a644e5
Compare
|
The composer.lock diff comment has been updated to reflect new changes in this PR. |
Contributor
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.17.0→8.31.1Release Notes
slevomat/coding-standard (slevomat/coding-standard)
v8.31.1Compare Source
🐛 Fixes
SlevomatCodingStandard.Classes.ParentCall: Fixed false positive for parent calls after=>SlevomatCodingStandard.Classes.ParentCall: Fixed false positive for@parent::SlevomatCodingStandard.Classes.ReadonlyClass: Do not mark abstract class as readonly despite all promoted and body-property are mark as readonly (thanks to @kamil-zacek)v8.31.0Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.ReadonlyClass: New optionsallowNonFinalClassesandignoreTraits(thanks to @kamil-zacek)SlevomatCodingStandard.Functions.ArrowFunctionDeclaration: New optionsdisallowReturnTypeHint(thanks to @simPod)v8.30.1Compare Source
🐛 Fixes
SlevomatCodingStandard.Classes.ReadonlyClass: Do not require mark readonly class when class extends from another class (thanks o @kamil-zacek)v8.30.0Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.ReadonlyClass: For check to readonly class / promoted properties (thanks to @kamil-zacek)SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: New optionsnamespacesAllowedToUsePartiallyandnamespacesRequiredToUsePartially(thanks to @Toflar)🐛 Fixes
(Disallow|Require)TrailingCommasniffs to handle null parenthesis pointers (thanks to @HonzaCZ)v8.29.0Compare Source
🔧 Improvements
SlevomatCodingStandard.TypeHints.DNFTypeHintFormat: New optionenableForDocComments(thanks to @alleknalle)🐛 Fixes
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: OptionignoredAnnotationNamesnow works forConstFetchNode(thanks to @vojmani)v8.28.1Compare Source
🐛 Fixes
SlevomatCodingStandard.ControlStructures.NewWithoutParentheses: Fix to allow empty parentheses when followed by member access operators for PHP 8.4+ chainingSlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Use existing alias (thanks to @Khartir)ReferencedNameHelperwhen processing fully-qualified names in strings (thanks to @AlexSkrypnyk)v8.28.0Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.TraitUseOrder: New sniff (thanks to @h4kuna)SlevomatCodingStandard.Commenting.ThrowsAnnotationsOrder: New sniff (thanks to @h4kuna)SlevomatCodingStandard.Exceptions.CatchExceptionsOrder: New sniff (thanks to @h4kuna)v8.27.1Compare Source
🐛 Fixes
DocCommentHelper::findDocCommentOwnerPointer()#[Override]attribute (thanks to @greg0ire)v8.27.0Compare Source
🔧 Improvements
#[Override]attribute (thanks to @kkmuffme)#[Override]attribute (thanks to @greg0ire)🐛 Fixes
true/falsephpdoc if type hint is bool (thanks to @kkmuffme)v8.26.0Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.ClassKeywordOrder: New sniff (thanks to @kamil-zacek)🐛 Fixes
SlevomatCodingStandard.ControlStructures.RequireMultiLineTernaryOperator: Workaround for missing property hooks support in PHPCSv8.25.1Compare Source
🐛 Fixes
Slevomat.Classes.DisallowMultiPropertyDefinition: Fixed for property hooksv8.25.0Compare Source
🔧 Improvements
SlevomatCodingStandard.Functions.RequireMultiLineCall: New optionminParametersCount(thanks to @parth391)SlevomatCodingStandard.Functions.RequireMultiLineCall: New optionexcludedCallPatterns(thanks to @parth391)SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature: New optionwithParametersWithAttributesSlevomatCodingStandard.PHP.UselessParentheses: OptionenableCheckAroundNewis disabled if target PHP version is lower 8.4$thisas a valid traversable parameter type (thanks to @alies-dev)🐛 Fixes
SlevomatCodingStandard.Whitespaces.DuplicateSpaces: Fixed false positiveSlevomatCodingStandard.Complexity.Cognitive: Fixed internal error for closuresv8.24.0Compare Source
🔧 Improvements
SlevomatCodingStandard.Commenting.RequireOneDocCommentSniff: New sniff (thanks to @kamil-zacek)SlevomatCodingStandard.PHP.UselessParentheses: Checks useless parentheses around(new class())->f()via new optionenableCheckAroundNew(thanks to @vrana)SlevomatCodingStandard.Classes.ClassStructure: Support for suffix filtering (thanks to @DjLeChuck)🐛 Fixes
SlevomatCodingStandard.PHP.ForbiddenClasses: Fixed internal errorsSlevomatCodingStandard.TypeHints.ClassConstantTypeHint:@var class-stringis not uselessv8.23.0Compare Source
🔧 Improvements
v8.22.1Compare Source
🐛 Fixes
SlevomatCodingStandard.Functions.StaticClosure: Fixed false positive when$thisis the last tokenv8.22.0Compare Source
🔧 Improvements
SlevomatCodingStandard.Functions.UnusedParameter: New optionallowedParameterPatternsto suppress check for specific parameter names (thanks to @claytonrcarter)🐛 Fixes
SlevomatCodingStandard.Attributes.AttributesOrder: Fixed alphabetical sortingSlevomatCodingStandard.Functions.DisallowEmptyFunction: Private or protected constructor should not be reportedSlevomatCodingStandard.TypeHints.ReturnTypeHint: Report missing type hint in abstract methods (thanks to @vrana)v8.21.1Compare Source
🐛 Fixes
SlevomatCodingStandard.PHP.RequireExplicitAssertion: Fixed false positivev8.21.0Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature: New optionwithPromotedProperties(thanks to @vrana)🐛 Fixes
SlevomatCodingStandard.Classes.ConstantSpacing: Some fixesvoidcannot be changed tonullandnever/voidcannot be used in a union (thanks to @kkmuffme)v8.20.0Compare Source
🔧 Improvements
SlevomatCodingStandard.TypeHints.ParameterTypeHint: Don't report missing native type hint when method has#[Override]attributeSlevomatCodingStandard.Classes.TraitUseSpacing: AllownullinlinesCountAfterLastUseoption (thanks to @vrana)SlevomatCodingStandard.Classes.PropertySpacing: New optionsminLinesCountBeforeMultilineandmaxLinesCountBeforeMultiline(thanks to @vojtech-dobes)SlevomatCodingStandard.Classes.ConstantSpacing: New optionsminLinesCountBeforeMultilineandmaxLinesCountBeforeMultiline(thanks to @vojtech-dobes)🐛 Fixes
v8.19.1Compare Source
🐛 Fixes
v8.19.0Compare Source
🔧 Improvements
final/abstractproperties supported🐛 Fixes
SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed: Fixed false positiveSlevomatCodingStandard.Classes.ClassMemberSpacing: Prevent deleting unexpected code/comments (thanks to @maryo)SlevomatCodingStandard.Complexity.Cognitive:do...whileloop should only increment once (not for both theT_DOandT_WHILE) (thanks to @bkdotcom)SlevomatCodingStandard.TypeHints.ClassConstantTypeHint: New optionfixableNativeTypeHint- it's possible to fix only private constants (thanks to @maryo)SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion: Properly autofixing when argument name has an attribute (thanks to @maryo)v8.18.1Compare Source
🐛 Fixes
SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration: Fix error when no code is found after@var(thanks to @AegirLeet)SlevomatCodingStandard.PHP.UselessParentheses: Fixed false positive for bitwise not operatorv8.18.0Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.ClassStructure: Support for custom method groups based on method name prefix (thanks to @maryo)🐛 Fixes
SlevomatCodingStandard.Functions.RequireMultiLineCall: Fix reporting multiline call which exactly fits into line length limit (thanks to @maryo)v8.17.1Compare Source
🐛 Fixes
SlevomatCodingStandard.TypeHints.PropertyTypeHint: FixConfiguration
📅 Schedule: (in timezone Europe/Belgrade)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.