Skip to content
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

Bump slevomat/coding-standard from 8.8.0 to 8.9.2 #783

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2023

Bumps slevomat/coding-standard from 8.8.0 to 8.9.2.

Release notes

Sourced from slevomat/coding-standard's releases.

8.9.2

🔧 Improvements

  • Support for phpstan/phpdoc-parser 1.17

🐛 Fixes

  • SlevomatCodingStandard.Classes.ParentCallSpacing: Fixed false positives with parent call used in match()

8.9.1

🐛 Fixes

  • SlevomatCodingStandard.ControlStructures.NewWithParentheses: Fixed false positives for anonymous class with attributes
  • SlevomatCodingStandard.Classes.RequireSelfReference: Fixed false positives for anonymous classes with extends or implements

8.9.0

🆕 New sniffs

  • SlevomatCodingStandard.Classes.EnumCaseSpacing: Checks that there is a certain number of blank lines between enum cases
  • SlevomatCodingStandard.Classes.RequireSelfReference: Requires self for local reference
  • SlevomatCodingStandard.Variables.DisallowVariableVariable: Disallows use of variable variables
  • SlevomatCodingStandard.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

  • Support for phpstan/phpdoc-parser 1.16
  • @phpcsSuppress can be with comment
  • Support for non-falsy-string, list and non-empty-list type hints
  • SlevomatCodingStandard.Arrays.TrailingArrayComma: Support for "legacy" array() syntax (thanks to @​bkdotcom)
  • SlevomatCodingStandard.Complexity.Cognitive: Deprecate maxComplexity and implement warningThreshold and errorThreshold options (thanks to @​bkdotcom)
  • SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing: New option allowOnSameLine (thanks to @​stlrnz)
  • SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature: New option minParameterCount (thanks to @​janedbal)

🐛 Fixes

  • SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses: Fixer should not remove doc comments
  • SlevomatCodingStandard.ControlStructures.EarlyExit: Fixed detection of useless else
  • SlevomatCodingStandard.Variables.UselessVariable: Fixed false positive
  • SlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking: Fixed false positive with first class callable
  • SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion: Fixes using prefixed var phpdoc (thanks to @​franmomu)
Commits
  • c9b3906 SlevomatCodingStandard.Classes.ParentCallSpacing: Fixed false positives with ...
  • 3c7b2cd Updated dependencies
  • 2a77861 Add missing sniffs to list
  • 3d4fe0c SlevomatCodingStandard.ControlStructures.NewWithParentheses: Fixed false posi...
  • 0177637 Cleanup
  • fde8118 SlevomatCodingStandard.Classes.RequireSelfReference: Fixed false positives fo...
  • 8f11e0f Cleanup
  • f026751 SlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOper...
  • ed4a5ed SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys: New sniff
  • 539c056 SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature: New option "m...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [slevomat/coding-standard](https://github.com/slevomat/coding-standard) from 8.8.0 to 8.9.2.
- [Release notes](https://github.com/slevomat/coding-standard/releases)
- [Commits](slevomat/coding-standard@8.8.0...8.9.2)

---
updated-dependencies:
- dependency-name: slevomat/coding-standard
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the Dependencies Pull requests that update a dependency file label Apr 7, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 14, 2023

Superseded by #786.

@dependabot dependabot bot closed this Apr 14, 2023
@dependabot dependabot bot deleted the dependabot/composer/slevomat/coding-standard-8.9.2 branch April 14, 2023 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants