phpstan-deprecation-rules icon indicating copy to clipboard operation
phpstan-deprecation-rules copied to clipboard

Update dependency slevomat/coding-standard to v8

Open renovate[bot] opened this issue 2 years ago • 1 comments

Mend Renovate

This PR contains the following updates:

Package Type Update Change
slevomat/coding-standard require-dev major ^7.0 -> ^8.0

Release Notes

slevomat/coding-standard

v8.4.0

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

v8.3.0

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)

v8.2.0

Compare Source

🆕 New sniffs

  • Added SlevomatCodingStandard.Classes.BackedEnumTypeSpacing

🔧 Improvements

  • SlevomatCodingStandard.TypeHints.ParameterTypeHint: MissingTraversableTypeHintSpecification is not reported when promoted property has @var annotation

v8.1.0

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)

v8.0.1

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)

v8.0.0

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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Jun 20 '22 02:06 renovate[bot]