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

Update slevomat/coding-standard requirement from ~6.1 to ~7.0 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on slevomat/coding-standard to permit the latest version.

Release notes

Sourced from slevomat/coding-standard's releases.

7.0.0

🆕 New sniffs

  • RequireNonCapturingCatchSniff: Requires non-capturing catch when the variable with exception is not used
  • RequireNullSafeObjectOperatorSniff: Requires using ?-> operator
  • DisallowNullSafeObjectOperatorSniff: Disallows using ?-> operator
  • RequireTrailingCommaInDeclarationSniff: Enforces trailing commas in multi-line declarations
  • DisallowTrailingCommaInDeclarationSniff: Disallows trailing commas in multi-line declarations
  • RequireConstructorPropertyPromotionSniff: Requires use of constructor property promotion
  • DisallowConstructorPropertyPromotionSniff: Disallows usage of constructor property promotion
  • UnionTypeHintFormatSniff: Checks format of union type hints
  • DisallowNamedArgumentsSniff: Disallows usage of named arguments
  • DisallowTrailingCommaInCallSniff: Disallows trailing commas in multi-line calls
  • ForbiddenPublicPropertySniff: Disallows using public properties (thanks to @50bhan)
  • FunctionLengthSniff: Disallows long function (thanks to @50bhan)

🔧 Improvements

  • Support for union type hints
  • Support for mixed and static type hint
  • Support for @phpstan-type, @psalm-type, @phpstan-import-type and @psalm-import-type annotations
  • ReturnTypeHintSniff: New option enableUnionTypeHint to enable support for union type hints
  • PropertyTypeHintSniff: New option enableUnionTypeHint to enable support for union type hints
  • ParameterTypeHintSniff: New option enableUnionTypeHint to enable support for union type hints
  • ReturnTypeHintSniff: New option enableMixedTypeHint to enable support for mixed type hint
  • PropertyTypeHintSniff: New option enableMixedTypeHint to enable support for mixed type hint
  • ParameterTypeHintSniff: New option enableMixedTypeHint to enable support for mixed type hint
  • ReturnTypeHintSniff: New option enableStaticTypeHint to enable support for static type hint
  • ReturnTypeHintSniff: Reports useless @phpcsSuppress
  • ParameterTypeHintSniff: Reports useless @phpcsSuppress
  • PropertyTypeHintSniff: Reports useless @phpcsSuppress
  • UnusedParameterSniff: Reports useless @phpcsSuppress
  • ModernClassNameReferenceSniff: New option enableOnObjects to enable ::class on all objects
  • NullableTypeForNullDefaultValueSniff: Support for mixed and union type hints
  • ReferenceUsedNamesOnlySniff: Improved fixer
  • BlockControlStructureSpacingSniff: Ignore if with alternative syntax
  • RequireTernaryOperatorSniff: Improved fixer
  • RequireMultiLineTernaryOperatorSniff: Support for more ternary operators
  • RequireMultiLineTernaryOperatorSniff: New option expressionsMinLength
  • BlockControlStructureSpacingSniff: Improved behaviour for case and default control structures
  • JumpStatementsSpacingSniff:: No errors for throw expressions

🐛 Fixes

  • NegationOperatorSpacingSniff: Fixed false positive
  • BlockControlStructureSpacingSniff: Fixed false positive
  • UselessParenthesesSniff: Fixed false positives
  • JumpStatementsSpacingSniff: Fixed false positive
  • RequireCombinedAssignmentOperatorSniff: Possible string offset should only report error - fixer is disabled to prevent fatal errors

... (truncated)

Commits
  • b4922c5 Updated dependencies
  • 784bb29 RequireConstructorPropertyPromotionSniff: Fixed false positive
  • 8e049b5 ClassStructureSniff: Fixed internal error
  • 3ee2333 Updated dependencies
  • a278c68 RequireMultiLineCallSniff: Speedup
  • 47466c7 RequireNowdocSniff: Speedup
  • b7d7e21 Cleanup
  • b0cd159 EarlyExitSniff: Speedup
  • 472dbd7 Cleanup
  • 09249ea RequireSingleLineCallSniff: Speedup
  • Additional commits viewable in compare view

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [slevomat/coding-standard](https://github.com/slevomat/coding-standard) to permit the latest version.
- [Release notes](https://github.com/slevomat/coding-standard/releases)
- [Commits](slevomat/coding-standard@6.1.0...7.0.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 12, 2021
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.

0 participants