Skip to content

chore(deps): update dependency slevomat/coding-standard to v8.31.1 - #14

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/slevomat-coding-standard-8.x-lockfile
Open

chore(deps): update dependency slevomat/coding-standard to v8.31.1#14
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/slevomat-coding-standard-8.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Apr 25, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
slevomat/coding-standard 8.17.08.31.1 age confidence

Release Notes

slevomat/coding-standard (slevomat/coding-standard)

v8.31.1

Compare 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.0

Compare Source

🔧 Improvements

  • SlevomatCodingStandard.Classes.ReadonlyClass: New options allowNonFinalClasses and ignoreTraits (thanks to @​kamil-zacek)
  • SlevomatCodingStandard.Functions.ArrowFunctionDeclaration: New options disallowReturnTypeHint (thanks to @​simPod)

v8.30.1

Compare Source

🐛 Fixes

  • SlevomatCodingStandard.Classes.ReadonlyClass: Do not require mark readonly class when class extends from another class (thanks o @​kamil-zacek)

v8.30.0

Compare Source

🔧 Improvements

  • SlevomatCodingStandard.Classes.ReadonlyClass: For check to readonly class / promoted properties (thanks to @​kamil-zacek)
  • SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: New options namespacesAllowedToUsePartially and namespacesRequiredToUsePartially (thanks to @​Toflar)

🐛 Fixes

  • Fix (Disallow|Require)TrailingComma sniffs to handle null parenthesis pointers (thanks to @​HonzaCZ)

v8.29.0

Compare Source

🔧 Improvements

  • SlevomatCodingStandard.TypeHints.DNFTypeHintFormat: New option enableForDocComments (thanks to @​alleknalle)

🐛 Fixes

  • SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Option ignoredAnnotationNames now works for ConstFetchNode (thanks to @​vojmani)

v8.28.1

Compare Source

🐛 Fixes

  • SlevomatCodingStandard.ControlStructures.NewWithoutParentheses: Fix to allow empty parentheses when followed by member access operators for PHP 8.4+ chaining
  • SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Use existing alias (thanks to @​Khartir)
  • Fixed undefined array key in ReferencedNameHelper when processing fully-qualified names in strings (thanks to @​AlexSkrypnyk)

v8.28.0

Compare 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.1

Compare Source

🐛 Fixes

  • Fixed DocCommentHelper::findDocCommentOwnerPointer()
  • Fixed ignoring some errors with #[Override] attribute (thanks to @​greg0ire)

v8.27.0

Compare Source

🔧 Improvements

  • Disable some errors for properties with #[Override] attribute (thanks to @​kkmuffme)
  • Disable some errors for methods with #[Override] attribute (thanks to @​greg0ire)

🐛 Fixes

  • Do not remove true/false phpdoc if type hint is bool (thanks to @​kkmuffme)

v8.26.0

Compare Source

🔧 Improvements

  • SlevomatCodingStandard.Classes.ClassKeywordOrder: New sniff (thanks to @​kamil-zacek)

🐛 Fixes

  • SlevomatCodingStandard.ControlStructures.RequireMultiLineTernaryOperator: Workaround for missing property hooks support in PHPCS

v8.25.1

Compare Source

🐛 Fixes

  • Slevomat.Classes.DisallowMultiPropertyDefinition: Fixed for property hooks

v8.25.0

Compare Source

🔧 Improvements

  • SlevomatCodingStandard.Functions.RequireMultiLineCall: New option minParametersCount (thanks to @​parth391)
  • SlevomatCodingStandard.Functions.RequireMultiLineCall: New option excludedCallPatterns (thanks to @​parth391)
  • SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature: New option withParametersWithAttributes
  • SlevomatCodingStandard.PHP.UselessParentheses: Option enableCheckAroundNew is disabled if target PHP version is lower 8.4
  • Support $this as a valid traversable parameter type (thanks to @​alies-dev)
  • Fix typo in comment (thanks to @​vrana)
  • Improved documentation (thanks to @​jrfnl)

🐛 Fixes

  • SlevomatCodingStandard.Whitespaces.DuplicateSpaces: Fixed false positive
  • SlevomatCodingStandard.Complexity.Cognitive: Fixed internal error for closures

v8.24.0

Compare Source

🔧 Improvements

  • SlevomatCodingStandard.Commenting.RequireOneDocCommentSniff: New sniff (thanks to @​kamil-zacek)
  • SlevomatCodingStandard.PHP.UselessParentheses: Checks useless parentheses around (new class())->f() via new option enableCheckAroundNew (thanks to @​vrana)
  • SlevomatCodingStandard.Classes.ClassStructure: Support for suffix filtering (thanks to @​DjLeChuck)

🐛 Fixes

  • SlevomatCodingStandard.PHP.ForbiddenClasses: Fixed internal errors
  • SlevomatCodingStandard.TypeHints.ClassConstantTypeHint: @var class-string is not useless

v8.23.0

Compare Source

🔧 Improvements

v8.22.1

Compare Source

🐛 Fixes

  • SlevomatCodingStandard.Functions.StaticClosure: Fixed false positive when $this is the last token

v8.22.0

Compare Source

🔧 Improvements

  • SlevomatCodingStandard.Functions.UnusedParameter: New option allowedParameterPatterns to suppress check for specific parameter names (thanks to @​claytonrcarter)

🐛 Fixes

  • SlevomatCodingStandard.Attributes.AttributesOrder: Fixed alphabetical sorting
  • SlevomatCodingStandard.Functions.DisallowEmptyFunction: Private or protected constructor should not be reported
  • SlevomatCodingStandard.TypeHints.ReturnTypeHint: Report missing type hint in abstract methods (thanks to @​vrana)
  • Fixed deprecated errors in PHP 8.5
  • Fixed attributes parsing

v8.21.1

Compare Source

🐛 Fixes

  • SlevomatCodingStandard.PHP.RequireExplicitAssertion: Fixed false positive

v8.21.0

Compare Source

🔧 Improvements

  • SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature: New option withPromotedProperties (thanks to @​vrana)
  • Improved support for non-official type hints (thanks to @​kkmuffme)

🐛 Fixes

  • SlevomatCodingStandard.Classes.ConstantSpacing: Some fixes
  • Fix void cannot be changed to null and never/void cannot be used in a union (thanks to @​kkmuffme)

v8.20.0

Compare Source

🔧 Improvements

  • SlevomatCodingStandard.TypeHints.ParameterTypeHint: Don't report missing native type hint when method has #[Override] attribute
  • SlevomatCodingStandard.Classes.TraitUseSpacing: Allow null in linesCountAfterLastUse option (thanks to @​vrana)
  • SlevomatCodingStandard.Classes.PropertySpacing: New options minLinesCountBeforeMultiline and maxLinesCountBeforeMultiline (thanks to @​vojtech-dobes)
  • SlevomatCodingStandard.Classes.ConstantSpacing: New options minLinesCountBeforeMultiline and maxLinesCountBeforeMultiline (thanks to @​vojtech-dobes)

🐛 Fixes

  • Attributes should be processed by FQN

v8.19.1

Compare Source

🐛 Fixes

  • Fix properties detection in some sniffs
  • Improved indentation processing

v8.19.0

Compare Source

🔧 Improvements

  • Support of PHP 8.4 properties
    • Asymetric visibility supported
    • final/abstract properties supported
    • Property hooks should not break any sniff

🐛 Fixes

  • SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed: Fixed false positive
  • SlevomatCodingStandard.Classes.ClassMemberSpacing: Prevent deleting unexpected code/comments (thanks to @​maryo)
  • SlevomatCodingStandard.Complexity.Cognitive: do...while loop should only increment once (not for both the T_DO and T_WHILE) (thanks to @​bkdotcom)
  • SlevomatCodingStandard.TypeHints.ClassConstantTypeHint: New option fixableNativeTypeHint - 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.1

Compare 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 operator

v8.18.0

Compare 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.1

Compare Source

🐛 Fixes

  • SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fix

Configuration

📅 Schedule: (in timezone Europe/Belgrade)

  • Branch creation
    • "before 8am on Monday through Thursday"
  • Automerge
    • "before 8am on Monday through Thursday"

🚦 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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@private-packagist

private-packagist Bot commented Apr 25, 2025

Copy link
Copy Markdown

composer.lock

Package changes

Package Operation From To About
slevomat/coding-standard upgrade 8.17.0 8.18.0 diff

Settings · Docs · Powered by Private Packagist

@renovate
renovate Bot force-pushed the renovate/slevomat-coding-standard-8.x-lockfile branch from 5d957f6 to 8a644e5 Compare May 1, 2025 15:45
@renovate renovate Bot changed the title chore(deps): update dependency slevomat/coding-standard to v8.17.1 chore(deps): update dependency slevomat/coding-standard to v8.18.0 May 1, 2025
@private-packagist

Copy link
Copy Markdown

The composer.lock diff comment has been updated to reflect new changes in this PR.

@renovate renovate Bot changed the title chore(deps): update dependency slevomat/coding-standard to v8.18.0 chore(deps): update dependency slevomat/coding-standard to v8.31.1 Aug 16, 2026
@renovate

renovate Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update slevomat/coding-standard:8.31.1 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Dependency squizlabs/php_codesniffer is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires slevomat/coding-standard ^8.14 -> satisfiable by slevomat/coding-standard[8.31.1].
    - slevomat/coding-standard 8.31.1 requires squizlabs/php_codesniffer ^4.0.1 -> found squizlabs/php_codesniffer[4.0.1, 4.0.2, 4.0.4] but it conflicts with your root composer.json require (^3.8).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants