-
Notifications
You must be signed in to change notification settings - Fork 5
chore(deps): update build-cs (major) #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.0.x
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: build-cs/composer.lock |
377a705 to
d59975a
Compare
d59975a to
4311edc
Compare
|
4311edc to
e90acc3
Compare
e90acc3 to
99310ec
Compare
This PR contains the following updates:
^0.7.0->^1.0.0^7.0->^8.0Release Notes
PHPCSStandards/composer-installer (dealerdirect/phpcodesniffer-composer-installer)
v1.1.2Compare Source
Changed
Fixed
v1.1.1Compare Source
Changed
Fixed
v1.1.0Compare Source
Changed
Removed
v1.0.0Compare Source
Breaking changes
Changed
Fixed
slevomat/coding-standard (slevomat/coding-standard)
v8.24.0Compare Source
v8.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: Fixv8.17.0Compare Source
🔧 Improvements
SlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator: New optioncheckIfConditions🐛 Fixes
SlevomatCodingStandard.Classes.MethodSpacing: Fixed check for methods with more attributesv8.16.2Compare Source
🐛 Fixes
SlevomatCodingStandard.TypeHints.ReturnTypeHint: Fixed false positiveSlevomatCodingStandard.Variables.UnusedVariable: Fixed false positiveSlevomatCodingStandard.TypeHints.DisallowMixedTypeHint: Fix logic error (thanks to @jrfnl)v8.16.1Compare Source
🐛 Fixes
v8.16.0Compare Source
phpstan/phpdoc-parser2.0 (thanks to @ondrejmirtes)🆕 New sniffs
SlevomatCodingStandard.TypeHints.ClassConstantTypeHint: Checks type hint of class constants (thanks to @DaDeather)SlevomatCodingStandard.TypeHints.DNFTypeHintFormat: Checks format of DNF type hints🔧 Improvements
SlevomatCodingStandard.Classes.ClassStructure: Support forinvoke methodgroupSlevomatCodingStandard.Classes.ClassStructure: Support for definition of custom groups (thanks to @maryo)SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: New optionallowWhenNoNamespaceSlevomatCodingStandard.Classes.ForbiddenPublicProperty: New optionallowReadonly- Add support for allowing public readonly properties (thanks to @tfrommen)SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint: Does not report error when attribute#[Override]is presented (thanks to @kamil-zacek)SlevomatCodingStandard.PHP.UselessParentheses: Checks useless parentheses in(new Foo());T_ARRAY_HINT(thanks to @jrfnl)🐛 Fixes
SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Some references were not detectedSlevomatCodingStandard.TypeHints.DeclareStrictTypes: Fixing number of empty lines when previous effective token before declare is line comment (thanks to @maryo)SlevomatCodingStandard.Classes.MethodSpacing: Fix check for method with attributesSlevomatCodingStandard.Classes.PropertyDeclaration: Fixed false positives where there's function withstaticreturn type hint before propertySlevomatCodingStandard.ClassesEnumCaseSpacing: Fixed internal error (thanks to @v.fateev)SlevomatCodingStandard.ClassesConstantSpacing: Fixed internal error (thanks to @v.fateev)SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fixed false positive for object shape as item in travesable typeSlevomatCodingStandard.ControlStructures.NewWithParentheses: Fixed false positive for readonly anonymous classSlevomatCodingStandard.ControlStructures.DisallowYodaComparison: Fixed fixerSlevomatCodingStandard.PHPUselessParentheses: Fixed false positiveSlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking:sprintf()is optimized too🗑️ Deprecated
SlevomatCodingStandard.TypeHints.UnionTypeHintFormat: UseSlevomatCodingStandard.TypeHints.DNFTypeHintFormatinsteadv8.15.0Compare Source
🔧 Improvements
useFunctionLengthsniff inFilesnamespace🐛 Fixes
SlevomatCodingStandard.Classes.ClassConstantVisibility: Fixed error message for typed constantsSlevomatCodingStandard.Namespaces.UnusedUses: Fixed false positive thanks to PHPCS upgradeSlevomatCodingStandard.Namespaces.UnusedUses: Fix class detection in double-quoted strings and heredoc (thanks to @c01l)SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch: Fixed false positivesSlevomatCodingStandard.Functions.RequireTrailingCommaInCall: Fixed missing report for missing trailing comma after arrow functionSlevomatCodingStandard.Commenting.UselessFunctionDocComment: It should report simplearrayas uselessCommentHelperv8.14.1Compare Source
🐛 Fixes
v8.14.0Compare Source
🆕 New sniffs
SlevomatCodingStandard.Functions.NamedArgumentSpacing: Checks spacing in named argument (thanks to @mzk)🔧 Improvements
SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses: If the file contains a group use then ignore the file completely (thanks to @jonathan1055)SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: New optionignoredAnnotationNames(thanks to @gemal)🐛 Fixes
SlevomatCodingStandard.ControlStructures.AssignmentInCondition: Prevent error during live coding (thanks to @jrfnl)SlevomatCodingStandard.ControlStructures.RequireSingleLineCondition: Prevent error during live coding (thanks to @jrfnl)SlevomatCodingStandard.PHP.UselessParentheses: Prevent error during live coding (thanks to @jrfnl)SlevomatCodingStandard.Arrays.DisallowImplicitArrayCreation: Recognize global statements (thanks to @jrfnl)SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalConstants: Don't treat a group use as a constant (thanks to @asispts)SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Fixed false positivesSlevomatCodingStandard.Classes.ConstantSpacing: Fixed internal errorSlevomatCodingStandard.Commenting.InlineDocCommentDeclaration: Fixed false positive for final constantSlevomatCodingStandard.Namespaces.UnusedUses: Ignores uses in annotations with multi lines string arguments (thanks to @mathroc)NamespaceHelper::getAllNamespacesPointers(): Allow for namespace tokens used as operator (thanks to @jrfnl)v8.13.4Compare Source
🐛 Fixes
{@​inheritdoc}v8.13.3Compare Source
🐛 Fixes
SlevomatCodingStandard.Commenting.DocCommentSpacing: Fixed internal error for invalid doccommentv8.13.2Compare Source
🐛 Fixes
SlevomatCodingStandard.Commenting.UselessFunctionDocComment: Fixed false positivesSlevomatCodingStandard.Commenting.DocCommentSpacing: Fixed false positivesSlevomatCodingStandard.ControlStructures.JumpStatementsSpacing: Fix TypeError when return is on the first line of the file (thanks to @herndlm)v8.13.1Compare Source
🐛 Fixes
SlevomatCodingStandard.Commenting.DocCommentSpacing: Fixed fixerSlevomatCodingStandard.Commenting.UselessFunctionDocComment: Fixed false positivev8.13.0Compare Source
🔧 Improvements
🐛 Fixes
SlevomatCodingStandard.TypeHints.ParameterTypeHint:callableis not valid type for property promotionv8.12.1Compare Source
🐛 Fixes
SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Fixed false positivev8.12.0Compare Source
🆕 New sniffs
SlevomatCodingStandard.Arrays.ArrayAccess: Disallow whitespace between array access operator and the variable, or between array access operators (thanks to @kamil-zacek)🐛 Fixes
SlevomatCodingStandard.Classes.ClassStructure: Fixed fixerSlevomatCodingStandard.ControlStructures.RequireNullSafeObjectOperator: Fixed false positiveSlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: FixesSlevomatCodingStandard.Arrays.DisallowPartiallyKeyed: Fixed false positivev8.11.1Compare Source
🐛 Fixes
SlevomatCodingStandard.Commenting.AnnotationName: Fixed false positiveSlevomatCodingStandard.Strings.DisallowVariableParsing: Fixed false positivev8.11.0Compare Source
🆕 New sniffs
SlevomatCodingStandard.Commenting.AnnotationName: Checks incorrect annotation names🔧 Improvements
SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses: Don't fix when multiple uses are in one statement (thanks to @jonathan1055)phpstan/phpdoc-parser1.20🐛 Fixes
SlevomatCodingStandard.Strings.DisallowVariableParsing: Fixed false positiveSlevomatCodingStandard.Arrays.DisallowPartiallyKeyed: Fixed false positive with array unpackingv8.10.0Compare 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-parser1.18v8.9.2Compare Source
🔧 Improvements
phpstan/phpdoc-parser1.17🐛 Fixes
SlevomatCodingStandard.Classes.ParentCallSpacing: Fixed false positives with parent call used inmatch()v8.9.1Compare Source
🐛 Fixes
SlevomatCodingStandard.ControlStructures.NewWithParentheses: Fixed false positives for anonymous class with attributesSlevomatCodingStandard.Classes.RequireSelfReference: Fixed false positives for anonymous classes withextendsorimplementsv8.9.0Compare Source
🆕 New sniffs
SlevomatCodingStandard.Classes.EnumCaseSpacing: Checks that there is a certain number of blank lines between enum casesSlevomatCodingStandard.Classes.RequireSelfReference: Requiresselffor 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-parser1.16@phpcsSuppresscan be with commentnon-falsy-string,listandnon-empty-listtype hintsSlevomatCodingStandard.Arrays.TrailingArrayComma: Support for "legacy"array()syntax (thanks to @bkdotcom)SlevomatCodingStandard.Complexity.Cognitive: DeprecatemaxComplexityand implementwarningThresholdanderrorThresholdoptions (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)v8.8.0Compare Source
🔧 Improvements
🐛 Fixes
SlevomatCodingStandard.Classes.RequireAbstractOrFinal: Fixed false positive for readonly classesv8.7.1Compare Source
🐛 Fixes
SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing: Fixed false positive when parameter has attribute but no type hintv8.7.0Compare Source
🔧 Improvements
phpstan/phpdoc-parser1.15phpstan/phpdoc-parser1.14SlevomatCodingStandard.Attributes.AttributesOrder: New optionorderAlphabeticallySlevomatCodingStandard.Attributes.AttributesOrder: Attributes could be ordered by mask (thanks to @alexndlm)🐛 Fixes
SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing: Fixed fixerv8.6.4Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.ClassConstantVisibility: Added support for traits with constantsSlevomatCodingStandard.Classes.ConstantSpacing: Added support for traits with constants🐛 Fixes
SlevomatCodingStandard.Attributes.DisallowAttributesJoining: Fix for attribute with trailing comma (thanks to @javer)v8.6.3Compare Source
🐛 Fixes
Slevomat.Namespaces.ReferenceUsedNamesOnly: Fixed fixer when there's conflict withSlevomat.Namespaces.UnusedUsesSlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives forint<0, max>andint<min, 100>SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing: Fixed false positive for comment after attributev8.6.2Compare Source
🐛 Fixes
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positive withself::CONSTANTv8.6.1Compare Source
🔧 Improvements
phpstan/phpdoc-parser1.12.0🐛 Fixes
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives for global constantsSlevomatCodingStandard.Commenting.InlineDocCommentDeclaration: Fixed false positives for constantsv8.6.0Compare Source
🆕 New sniffs
SlevomatCodingStandard.Attributes.AttributesOrderSlevomatCodingStandard.Attributes.AttributeAndTargetSpacingSlevomatCodingStandard.Attributes.DisallowMultipleAttributesPerLineSlevomatCodingStandard.Attributes.DisallowAttributesJoining(thanks to @michnovka)SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment🔧 Improvements
phpstan/phpdoc-parser1.11.0@phpstan-self-out/@phpstan-this-out@param-outannotation`@templatewith default valuedevComposer keyword (thanks to @GaryJones)🐛 Fixes
v8.5.2Compare Source
🐛 Fixes
SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fixed false positives whenenableUnionTypeHintis disabled andenableIntersectionTypeHintis enabledSlevomatCodingStandard.TypeHints.ParameterTypeHint: Fixed false positives whenenableUnionTypeHintis disabled andenableIntersectionTypeHintis enabledSlevomatCodingStandard.TypeHints.ReturnTypeHint: Fixed false positives whenenableUnionTypeHintis disabled andenableIntersectionTypeHintis enabledv8.5.1Compare Source
🐛 Fixes
SlevomatCodingStandard.PHP.RequireExplicitAssertion: Fixed broken fixer whenenableAdvancedStringTypesis enabledv8.5.0Compare Source
🔧 Improvements
null,trueandfalsetype hintsSlevomatCodingStandard.PHP.RequireExplicitAssertion: Improved support for native simple typesSlevomatCodingStandard.PHP.RequireExplicitAssertion: New optionenableIntegerRangesSlevomatCodingStandard.PHP.RequireExplicitAssertion: New optionenableAdvancedStringTypesphpstan/phpdoc-parser1.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 positivesv8.4.0Compare Source
🔧 Improvements
phpstan/phpdoc-parser1.7.0🐛 Fixes
SlevomatCodingStandard.PHP.RequireNowdoc: Accepts escaped sequences (thanks to @dg)SlevomatCodingStandard.Functions.RequireSingleLineCall: Skip calls with multi-line double-quoted string (thanks to @schlndh)SlevomatCodingStandard.PHP.UselessParentheses: Fixed false positive withxorSlevomatCodingStandard.Operators.RequireCombinedAssignmentOperator: Try to ignore string offsetsv8.3.0Compare Source
🆕 New sniffs
SlevomatCodingStandard.Complexity.Cognitive(thanks to @bkdotcom)SlevomatCodingStandard.Files.FileLength(thanks to @bkdotcom)SlevomatCodingStandard.Classes.ClassLength(thanks to @bkdotcom)🐛 Fixes
SlevomatCodingStandard.PHP.RequireExplicitAssertion: Do not throw awaystatictype (thanks to @simPod)v8.2.0Compare Source
🆕 New sniffs
SlevomatCodingStandard.Classes.BackedEnumTypeSpacing🔧 Improvements
SlevomatCodingStandard.TypeHints.ParameterTypeHint:MissingTraversableTypeHintSpecificationis not reported when promoted property has@varannotationv8.1.0Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.PropertyDeclaration: New optioncheckPromotedto enable check of promoted propertiesSlevomatCodingStandard.Classes.PropertyDeclaration: New optionenableMultipleSpacesBetweenModifiersCheckto enable check of spaces between property modifiersSlevomatCodingStandard.Classes.PropertyDeclaration: Improved error messagesSlevomatCodingStandard.Classes.ForbiddenPublicProperty: New optioncheckPromotedto enable check of promoted properties🐛 Fixes
SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fix inconsistentenableIntersectionTypeHint(thanks to @schlndh)v8.0.1Compare Source
🐛 Fixes
usestatements are ignored - we don't support themSlevomatCodingStandard.PHP.UselessParentheses: Fixed false positiveSlevomatCodingStandard.TypeHints.ParameterTypeHint: Fixed internal error (thanks to @schlndh)v8.0.0Compare Source
🔧 Improvements
nevertype hintSlevomatCodingStandard.Classes.PropertyDeclaration: Checks also order of modifiersSlevomatCodingStandard.Classes.ClassStructure: Support for enum cases and readonly properties🐛 Fixes
SlevomatCodingStandard.Classes.PropertyDeclaration: Fixed missing support for only static propertySlevomatCodingStandard.TypeHints.PropertyTypeHint: Fixed missing support for only static propertySlevomatCodingStandard.Commenting.EmptyComment: Fixed internal errorSlevomatCodingStandard.Classes.ForbiddenPublicProperty: Fixed internal errorSlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives for@psalm-import-typein@psalm-varSlevomatCodingStandard.PHP.RequireExplicitAssertion: Ignore unsupported unofficial type hintsSlevomatCodingStandard.TypeHints.PropertyTypeHintSpacingrenamed toSlevomatCodingStandard.Classes.PropertyDeclarationSlevomatCodingStandard.Classes.ClassStructure: Removed optionenableFinalMethodsSlevomatCodingStandard.Namespaces.UnusedUses.MismatchingCaseSensitivityConfiguration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (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 was generated by Mend Renovate. View the repository job log.