Skip to content

Conversation

dependabot-preview[bot]
Copy link

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

Release notes

Sourced from slevomat/coding-standard's releases.

6.0.0

New sniffs

  • RequireArrowFunctionSniff: Requires arrow functions
  • DisallowArrowFunctionSniff: Disallows arrow functions
  • RequireNumericLiteralSeparatorSniff: Requires use of numeric literal separators
  • DisallowNumericLiteralSeparatorSniff: Disallows numeric literal separators
  • RequireNowdocSniff: Requires nowdoc syntax instead of heredoc when possible
  • ReferenceSpacingSniff: Enforces configurable number of spaces after reference
  • DisallowReferenceSniff: Disallows references
  • RequireExplicitAssertionSniff: Requires assertion via assert() instead of inline documentation comments.
  • ParameterTypeHintSniff: Previously part of TypeHintDeclarationSniff
  • PropertyTypeHintSniff: Previously part of TypeHintDeclarationSniff
  • ReturnTypeHintSniff: Previously part of TypeHintDeclarationSniff
  • UselessFunctionDocCommentSniff: Previously part of TypeHintDeclarationSniff
  • BlockControlStructureSpacingSniff: Previously part of ControlStructureSpacingSniff
  • JumpStatementsSpacingSniff: Previously part of ControlStructureSpacingSniff

Improvements

  • PHP 7.4 support
  • Arrow functions support
  • Array shapes in phpDocs support
  • PropertyTypeHintSniff: Support for native type hints
  • InlineDocCommentDeclarationSniff: Reports missing related variables or no assigment
  • InlineDocCommentDeclarationSniff: Added support for doccomments after variable definition
  • InlineDocCommentDeclarationSniff: Added support for list() and short list []
  • TrailingArrayCommaSniff: New option enableAfterHeredoc
  • DisallowMixedTypeHintSniff: Added suppress support
  • UselessParenthesesSniff: Reports more useless parentheses

Fixes

  • Fixed support of @method annotation
  • InlineDocCommentDeclarationSniff: Check really only inline doccomments
  • TrailingCommaInCallSniff: Some calls were not reported
  • UselessParenthesesSniff: Fixed false positive
  • NamespaceSpacingSniff: Fixed false positive
  • UselessSemicolonSniff: Fixed internal error
  • TypeNameMatchesFileNameSniff: Files without namespaces should be reported too
  • UseSpacingSniff: Don't report errors for use statements with comments right before or after
  • UselessVariableSniff: Fixed false positive
  • UselessParameterDefaultValueSniff: Fixed false positive
  • UnusedPrivateElementsSniff: Fixed false positive
  • UnusedUsesSniff: Better handle php open tags (thanks to @​donatj)
  • RequireCombinedAssignmentOperatorSniff: Fixed false positive
  • UselessInheritDocCommentSniff: Fixed internal error
  • RequireShortTernaryOperatorSniff: Fix token overrun (thanks to @​donatj)
  • Fix compatibility with non-Composer installs of PHPCS (thanks to @​jrfnl)
... (truncated)
Commits
  • 85e3329 UselessFunctionDocCommentSniff: Fixed internal error
  • dc5a270 RequireExplicitAssertionSniff: Fixed internal error
  • 8f7a1de RequireArrowFunctionSniff: Fixed fixer
  • db3b3b5 Updated dependencies
  • 26d37c7 Fixed tests
  • d26de94 Added RequireArrowFunctionSniff
  • 1543263 PropertyTypeHintSniff: Improved fixer for nullable properties
  • 26a509a Fixed PropertyHelper::findTypeHint()
  • da11950 PropertyTypeHintSniff: No more invalid code after fixing
  • ae4daff Fix travis error when running php 7.1 and php 7.2
  • 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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@5.0.0...6.0.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview
Copy link
Author

Superseded by #50.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/slevomat/coding-standard-tw-6.0 branch January 20, 2020 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants