-
Notifications
You must be signed in to change notification settings - Fork 4
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
chore(deps): update build-cs (major) #5
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
This PR contains the following updates:
^0.7.0
->^1.0.0
^7.0
->^8.0
Release Notes
PHPCSStandards/composer-installer (dealerdirect/phpcodesniffer-composer-installer)
v1.0.0
Compare Source
Breaking changes
Dealerdirect
toPHPCSStandards
by @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/191What's Changed
master
branch by @Potherca in https://github.com/PHPCSStandards/composer-installer/pull/201CI / CD
fail-fast
with setup-php by @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/194Tests
InstalledPathsOrderTest
by @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/176InvalidPackagesTest
by @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/168PlayNiceWithScriptsTest
by @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/169PreexistingPHPCSConfigTest
by @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/166PreexistingPHPCSInstalledPathsConfigTest
+ bug fix by @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/167RemovePluginTest
by @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/177New Contributors
Full Changelog: PHPCSStandards/composer-installer@v0.7.2...v1.0.0
slevomat/coding-standard (slevomat/coding-standard)
v8.15.0
Compare Source
🔧 Improvements
use
FunctionLength
sniff inFiles
namespace🐛 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 simplearray
as uselessCommentHelper
v8.14.1
Compare Source
🐛 Fixes
v8.14.0
Compare 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.4
Compare Source
🐛 Fixes
{@​inheritdoc}
v8.13.3
Compare Source
🐛 Fixes
SlevomatCodingStandard.Commenting.DocCommentSpacing
: Fixed internal error for invalid doccommentv8.13.2
Compare 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.1
Compare Source
🐛 Fixes
SlevomatCodingStandard.Commenting.DocCommentSpacing
: Fixed fixerSlevomatCodingStandard.Commenting.UselessFunctionDocComment
: Fixed false positivev8.13.0
Compare Source
🔧 Improvements
🐛 Fixes
SlevomatCodingStandard.TypeHints.ParameterTypeHint
:callable
is not valid type for property promotionv8.12.1
Compare Source
🐛 Fixes
SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly
: Fixed false positivev8.12.0
Compare 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.1
Compare Source
🐛 Fixes
SlevomatCodingStandard.Commenting.AnnotationName
: Fixed false positiveSlevomatCodingStandard.Strings.DisallowVariableParsing
: Fixed false positivev8.11.0
Compare 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-parser
1.20🐛 Fixes
SlevomatCodingStandard.Strings.DisallowVariableParsing
: Fixed false positiveSlevomatCodingStandard.Arrays.DisallowPartiallyKeyed
: Fixed false positive with array unpackingv8.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)v8.8.0
Compare Source
🔧 Improvements
🐛 Fixes
SlevomatCodingStandard.Classes.RequireAbstractOrFinal
: Fixed false positive for readonly classesv8.7.1
Compare Source
🐛 Fixes
SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing
: Fixed false positive when parameter has attribute but no type hintv8.7.0
Compare Source
🔧 Improvements
phpstan/phpdoc-parser
1.15phpstan/phpdoc-parser
1.14SlevomatCodingStandard.Attributes.AttributesOrder
: New optionorderAlphabetically
SlevomatCodingStandard.Attributes.AttributesOrder
: Attributes could be ordered by mask (thanks to @alexndlm)🐛 Fixes
SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing
: Fixed fixerv8.6.4
Compare 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.3
Compare Source
🐛 Fixes
Slevomat.Namespaces.ReferenceUsedNamesOnly
: Fixed fixer when there's conflict withSlevomat.Namespaces.UnusedUses
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation
: Fixed false positives forint<0, max>
andint<min, 100>
SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing
: Fixed false positive for comment after attributev8.6.2
Compare Source
🐛 Fixes
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation
: Fixed false positive withself::CONSTANT
v8.6.1
Compare Source
🔧 Improvements
phpstan/phpdoc-parser
1.12.0🐛 Fixes
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation
: Fixed false positives for global constantsSlevomatCodingStandard.Commenting.InlineDocCommentDeclaration
: Fixed false positives for constantsv8.6.0
Compare Source
🆕 New sniffs
SlevomatCodingStandard.Attributes.AttributesOrder
SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing
SlevomatCodingStandard.Attributes.DisallowMultipleAttributesPerLine
SlevomatCodingStandard.Attributes.DisallowAttributesJoining
(thanks to @michnovka)SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment
🔧 Improvements
phpstan/phpdoc-parser
1.11.0@phpstan-self-out
/@phpstan-this-out
@param-out
annotation`@template
with default valuedev
Composer keyword (thanks to @GaryJones)🐛 Fixes
v8.5.2
Compare Source
🐛 Fixes
SlevomatCodingStandard.TypeHints.PropertyTypeHint
: Fixed false positives whenenableUnionTypeHint
is disabled andenableIntersectionTypeHint
is enabledSlevomatCodingStandard.TypeHints.ParameterTypeHint
: Fixed false positives whenenableUnionTypeHint
is disabled andenableIntersectionTypeHint
is enabledSlevomatCodingStandard.TypeHints.ReturnTypeHint
: Fixed false positives whenenableUnionTypeHint
is disabled andenableIntersectionTypeHint
is enabledv8.5.1
Compare Source
🐛 Fixes
SlevomatCodingStandard.PHP.RequireExplicitAssertion
: Fixed broken fixer whenenableAdvancedStringTypes
is enabledv8.5.0
Compare Source
🔧 Improvements
null
,true
andfalse
type hintsSlevomatCodingStandard.PHP.RequireExplicitAssertion
: Improved support for native simple typesSlevomatCodingStandard.PHP.RequireExplicitAssertion
: New optionenableIntegerRanges
SlevomatCodingStandard.PHP.RequireExplicitAssertion
: New optionenableAdvancedStringTypes
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 positivesv8.4.0
Compare Source
🔧 Improvements
phpstan/phpdoc-parser
1.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 withxor
SlevomatCodingStandard.Operators.RequireCombinedAssignmentOperator
: Try to ignore string offsetsv8.3.0
Compare 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 awaystatic
type (thanks to @simPod)v8.2.0
Compare Source
🆕 New sniffs
SlevomatCodingStandard.Classes.BackedEnumTypeSpacing
🔧 Improvements
SlevomatCodingStandard.TypeHints.ParameterTypeHint
:MissingTraversableTypeHintSpecification
is not reported when promoted property has@var
annotationv8.1.0
Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.PropertyDeclaration
: New optioncheckPromoted
to enable check of promoted propertiesSlevomatCodingStandard.Classes.PropertyDeclaration
: New optionenableMultipleSpacesBetweenModifiersCheck
to enable check of spaces between property modifiersSlevomatCodingStandard.Classes.PropertyDeclaration
: Improved error messagesSlevomatCodingStandard.Classes.ForbiddenPublicProperty
: New optioncheckPromoted
to enable check of promoted properties🐛 Fixes
SlevomatCodingStandard.TypeHints.PropertyTypeHint
: Fix inconsistentenableIntersectionTypeHint
(thanks to @schlndh)v8.0.1
Compare Source
🐛 Fixes
use
statements are ignored - we don't support themSlevomatCodingStandard.PHP.UselessParentheses
: Fixed false positiveSlevomatCodingStandard.TypeHints.ParameterTypeHint
: Fixed internal error (thanks to @schlndh)v8.0.0
Compare Source
🔧 Improvements
never
type 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-type
in@psalm-var
SlevomatCodingStandard.PHP.RequireExplicitAssertion
: Ignore unsupported unofficial type hintsSlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing
renamed toSlevomatCodingStandard.Classes.PropertyDeclaration
SlevomatCodingStandard.Classes.ClassStructure
: Removed optionenableFinalMethods
SlevomatCodingStandard.Namespaces.UnusedUses.MismatchingCaseSensitivity
Configuration
📅 Schedule: Branch creation - "* 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.