Skip to content

Update dependency slevomat/coding-standard to v8.20.0#571

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/slevomat-coding-standard-8.x
Aug 15, 2025
Merged

Update dependency slevomat/coding-standard to v8.20.0#571
renovate[bot] merged 1 commit intomainfrom
renovate/slevomat-coding-standard-8.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Aug 15, 2025

This PR contains the following updates:

Package Change Age Confidence
slevomat/coding-standard 8.18.1 -> 8.20.0 age confidence

Release Notes

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

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)

Configuration

📅 Schedule: Branch creation - "before 4pm every weekday except before 9am every weekday" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.

@renovate renovate Bot enabled auto-merge August 15, 2025 16:47
@renovate renovate Bot merged commit f9abecb into main Aug 15, 2025
6 checks passed
@renovate renovate Bot deleted the renovate/slevomat-coding-standard-8.x branch August 15, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants