Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 30, 2022

Bumps slevomat/coding-standard from 7.0.18 to 7.2.1.

Release notes

Sourced from slevomat/coding-standard's releases.

7.2.1

🐛 Fixes

  • SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Fixed false positives for colliding functions and constants
  • SlevomatCodingStandard.Commenting.DisallowCommentAfterCode: Don't break multi-line string during auto-fix (thanks to @​schlndh)
  • Fixed detection of function object

7.2.0

🆕 New sniffs

  • Added SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse
  • Added SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse

🔧 Improvements

  • Support for offset access type syntax in annotations
  • Support for @phpstan-assert/@psalm-assert annotations
  • SlevomatCodingStandard.Whitespaces.DuplicateSpacesSniff: New option ignoreSpacesInMatch
  • SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall: New option onlySingleLine
  • SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration: New option onlySingleLine

🐛 Fixes

  • SlevomatCodingStandard.TypeHints.ReturnTypeHint: Fixed internal error
  • SlevomatCodingStandard.ControlStructures.UselessIfConditionWithReturn: Fixed internal error
  • SlevomatCodingStandard.Functions.RequireSingleLineCall: Fixed false positive
  • SlevomatCodingStandard.Variables.UnusedVariable: Resolve false positives with increment/decrement operators (thanks to @​aadmathijssen)
  • SlevomatCodingStandard.Variables.UnusedVariable: allow increment/decrement operators after yield (thanks to @​aadmathijssen)

7.1.0

⚠️ Removed support for PHP 7.1

🆕 New sniffs

  • Added SlevomatCodingStandard.Classes.RequireAbstractOrFinal (thanks to @​roslov)
  • Added SlevomatCodingStandard.Exceptions.DisallowNonCapturingCatch (thanks to @​olsavmic)

🔧 Improvements

  • Support for conditional types in annotations
  • SlevomatCodingStandard.Numbers.RequireNumericLiteralSeparator: Added option ignoreOctalNumbers
  • SlevomatCodingStandard.Functions.FunctionLength: New options includeComments and includeWhitespace (thanks to @​bkdotcom)

7.0.20

🐛 Fixes

... (truncated)

Commits
  • aff06ae SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Fixed false positiv...
  • 9db5df5 SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Fixed false positiv...
  • 1e78e21 Updated dependencies
  • 48fb9b2 SlevomatCodingStandard.Commenting.DisallowCommentAfterCodeSniff: don't break ...
  • ff1c4f0 ReferencedNameHelper: Fixed detection of function object()
  • b4f96a8 Support for @phpstan-assert/@​psalm-assert annotations
  • af1f618 Support for offset access type syntax in annotations
  • 0b2f104 Updated dependencies
  • 2cc23c1 SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses: add missing heade...
  • 3d04a22 SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration: New opti...
  • 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 7.0.18 to 7.2.1.
- [Release notes](https://github.com/slevomat/coding-standard/releases)
- [Commits](slevomat/coding-standard@7.0.18...7.2.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels May 30, 2022
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 php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants