Skip to content

Conversation

dependabot[bot]
Copy link

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

Bumps slevomat/coding-standard from 7.0.18 to 7.2.0.

Release notes

Sourced from slevomat/coding-standard's releases.

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

  • SlevomatCodingStandard.TypeHints.ReturnTypeHint: Improved - Type alias should not be reported as "missing traversable type hint specification"
  • SlevomatCodingStandard.TypeHints.ParameterTypeHint: Improved - Type alias should not be reported as "missing traversable type hint specification"
  • SlevomatCodingStandard.TypeHints.PropertyTypeHint: Improved - Type alias should not be reported as "missing traversable type hint specification"
  • SlevomatCodingStandard.TypeHints.ReturnTypeHint: It was not possible to suppress some errors
  • SlevomatCodingStandard.Classes.ParentCallSpacing: Fixed false positive

7.0.19

... (truncated)

Commits
  • 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...
  • a42989e SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall: New option "onl...
  • 91c0d77 SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse: New optio...
  • 5fa099f Added DisallowTrailingCommaInClosureUseSniff to phpcs.xml
  • 82d25d9 SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse: New sniff
  • 9c16fd1 SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse: New sniff
  • 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.0.
- [Release notes](https://github.com/slevomat/coding-standard/releases)
- [Commits](slevomat/coding-standard@7.0.18...7.2.0)

---
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 9, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 30, 2022

Superseded by #35.

@dependabot dependabot bot closed this May 30, 2022
@dependabot dependabot bot deleted the dependabot/composer/build-cs/slevomat/coding-standard-7.2.0 branch May 30, 2022 01:04
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