Mend Renovate
This PR contains the following updates:
Release Notes
PHPCSStandards/composer-installer
Compare Source
Breaking changes
What's Changed
CI / CD
Tests
New Contributors
Full Changelog: PHPCSStandards/composer-installer@v0.7.2...v1.0.0
slevomat/coding-standard
Compare Source
🔧 Improvements
- Support for unsealed array shapes
- Allow for the 1.0.0 version of the Composer PHPCS plugin (thanks to @jrfnl)
🐛 Fixes
SlevomatCodingStandard.Classes.RequireAbstractOrFinal: Fixed false positive for readonly classes
- Fix typo in exception message (thanks to @jslmorrison)
Compare Source
🐛 Fixes
SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing: Fixed false positive when parameter has attribute but no type hint
Compare Source
🔧 Improvements
- Support for
phpstan/phpdoc-parser 1.15
- Support for
phpstan/phpdoc-parser 1.14
SlevomatCodingStandard.Attributes.AttributesOrder: New option orderAlphabetically
SlevomatCodingStandard.Attributes.AttributesOrder: Attributes could be ordered by mask (thanks to @alexndlm)
🐛 Fixes
SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing: Fixed fixer
Compare Source
🔧 Improvements
- Improved annotations parsing
SlevomatCodingStandard.Classes.ClassConstantVisibility: Added support for traits with constants
SlevomatCodingStandard.Classes.ConstantSpacing: Added support for traits with constants
🐛 Fixes
SlevomatCodingStandard.Attributes.DisallowAttributesJoining: Fix for attribute with trailing comma (thanks to @javer)
Compare Source
🐛 Fixes
Slevomat.Namespaces.ReferenceUsedNamesOnly: Fixed fixer when there's conflict with Slevomat.Namespaces.UnusedUses
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives for int<0, max> and int<min, 100>
SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing: Fixed false positive for comment after attribute
Compare Source
🐛 Fixes
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positive with self::CONSTANT
Compare Source
🔧 Improvements
- Support of
phpstan/phpdoc-parser 1.12.0
🐛 Fixes
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives for global constants
SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration: Fixed false positives for constants
Compare Source
🆕 New sniffs
- Added
SlevomatCodingStandard.Attributes.AttributesOrder
- Added
SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing
- Added
SlevomatCodingStandard.Attributes.DisallowMultipleAttributesPerLine
- Added
SlevomatCodingStandard.Attributes.DisallowAttributesJoining (thanks to @michnovka)
- Added
SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment
🔧 Improvements
- Support of
phpstan/phpdoc-parser 1.11.0
- Support for
@phpstan-self-out/@phpstan-this-out
- Support for
@param-out annotation`
- Support for
@template with default value
- Add
dev Composer keyword (thanks to @GaryJones)
🐛 Fixes
- Improved detection of references in double quotes strings
Compare Source
🐛 Fixes
SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fixed false positives when enableUnionTypeHint is disabled and enableIntersectionTypeHint is enabled
SlevomatCodingStandard.TypeHints.ParameterTypeHint: Fixed false positives when enableUnionTypeHint is disabled and enableIntersectionTypeHint is enabled
SlevomatCodingStandard.TypeHints.ReturnTypeHint: Fixed false positives when enableUnionTypeHint is disabled and enableIntersectionTypeHint is enabled
Compare Source
🐛 Fixes
SlevomatCodingStandard.PHP.RequireExplicitAssertion: Fixed broken fixer when enableAdvancedStringTypes is enabled
Compare Source
🔧 Improvements
- PHP 8.2: Support for standalone
null, true and false type hints
SlevomatCodingStandard.PHP.RequireExplicitAssertion: Improved support for native simple types
SlevomatCodingStandard.PHP.RequireExplicitAssertion: New option enableIntegerRanges
SlevomatCodingStandard.PHP.RequireExplicitAssertion: New option enableAdvancedStringTypes
- Support of
phpstan/phpdoc-parser 1.8.0
🐛 Fixes
SlevomatCodingStandard.Classes.PropertyDeclaration: Fixed false positive
SlevomatCodingStandard.PHP.RequireExplicitAssertion: Fixed false positive
SlevomatCodingStandard.ControlStructures.DisallowYodaComparison/RequireYodaComparison: Fixed support for condition in arrow function
SlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition: Fixed false positives for old array definition style
SlevomatCodingStandard.Variables.UselessVariable: Fixed false positives
Compare Source
🔧 Improvements
- Support of
phpstan/phpdoc-parser 1.7.0
🐛 Fixes
- Fixed detection of some PHP 8.1 types
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 with xor
SlevomatCodingStandard.Operators.RequireCombinedAssignmentOperator: Try to ignore string offsets
Compare Source
🆕 New sniffs
- Added
SlevomatCodingStandard.Complexity.Cognitive (thanks to @bkdotcom)
- Added
SlevomatCodingStandard.Files.FileLength (thanks to @bkdotcom)
- Added
SlevomatCodingStandard.Classes.ClassLength (thanks to @bkdotcom)
🐛 Fixes
SlevomatCodingStandard.PHP.RequireExplicitAssertion: Do not throw away static type (thanks to @simPod)
Compare Source
🆕 New sniffs
- Added
SlevomatCodingStandard.Classes.BackedEnumTypeSpacing
🔧 Improvements
SlevomatCodingStandard.TypeHints.ParameterTypeHint: MissingTraversableTypeHintSpecification is not reported when promoted property has @var annotation
Compare Source
🔧 Improvements
SlevomatCodingStandard.Classes.PropertyDeclaration: New option checkPromoted to enable check of promoted properties
SlevomatCodingStandard.Classes.PropertyDeclaration: New option enableMultipleSpacesBetweenModifiersCheck to enable check of spaces between property modifiers
SlevomatCodingStandard.Classes.PropertyDeclaration: Improved error messages
SlevomatCodingStandard.Classes.ForbiddenPublicProperty: New option checkPromoted to enable check of promoted properties
🐛 Fixes
SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fix inconsistent enableIntersectionTypeHint (thanks to @schlndh)
Compare Source
🐛 Fixes
- Group
use statements are ignored - we don't support them
SlevomatCodingStandard.PHP.UselessParentheses: Fixed false positive
SlevomatCodingStandard.TypeHints.ParameterTypeHint: Fixed internal error (thanks to @schlndh)
Compare Source
🔧 Improvements
- Support for intersection types
- Support for readonly properties
- Support for enums
- Support for
never type hint
- Support for more unofficial type hints
SlevomatCodingStandard.Classes.PropertyDeclaration: Checks also order of modifiers
SlevomatCodingStandard.Classes.ClassStructure: Support for enum cases and readonly properties
🐛 Fixes
SlevomatCodingStandard.Classes.PropertyDeclaration: Fixed missing support for only static property
SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fixed missing support for only static property
SlevomatCodingStandard.Commenting.EmptyComment: Fixed internal error
SlevomatCodingStandard.Classes.ForbiddenPublicProperty: Fixed internal error
SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives for @psalm-import-type in @psalm-var
SlevomatCodingStandard.PHP.RequireExplicitAssertion: Ignore unsupported unofficial type hints
⚠️BC breaks
SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing renamed to SlevomatCodingStandard.Classes.PropertyDeclaration
SlevomatCodingStandard.Classes.ClassStructure: Removed option enableFinalMethods
- Removed error
SlevomatCodingStandard.Namespaces.UnusedUses.MismatchingCaseSensitivity
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.
Uh oh!
There was an error while loading. Please reload this page.
Mend Renovate
This PR contains the following updates:
^0.7.0->^1.0.0^7.0->^8.0Release Notes
PHPCSStandards/composer-installer
v1.0.0Compare Source
Breaking changes
DealerdirecttoPHPCSStandardsby @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/191What's Changed
masterbranch by @Potherca in https://github.com/PHPCSStandards/composer-installer/pull/201CI / CD
fail-fastwith setup-php by @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/194Tests
InstalledPathsOrderTestby @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/176InvalidPackagesTestby @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/168PlayNiceWithScriptsTestby @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/169PreexistingPHPCSConfigTestby @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/166PreexistingPHPCSInstalledPathsConfigTest+ bug fix by @jrfnl in https://github.com/PHPCSStandards/composer-installer/pull/167RemovePluginTestby @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
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 - "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.