Thanks to visit codestin.com
Credit goes to github.com

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.1.0

New sniffs

  • RequireNullCoalesceEqualOperatorSniff: Requires use of null coalesce equal operator when possible
  • RequireMultiLineMethodSignatureSniff: Enforces method signature to be splitted to more lines so each parameter is on its own line
  • RequireSingleLineMethodSignatureSniff: Enforces method signature to be on a single line (thanks to @grongor)
  • PropertySpacingSniff: Checks that there is a certain number of blank lines between properties (thanks to @grongor)
  • ConstantSpacingSniff: Checks that there is a certain number of blank lines between constants (thanks to @grongor)
  • ParentCallSpacingSniff: Enforces configurable number of lines around parent method call (thanks to @grongor)
  • ClassStructureSniff: Checks that class/trait/interface members are in the correct order (thanks to @grongor)
  • RequireOneLineDocCommentSniff: Requires comments with single-line content to be written as one-liners (thanks to @grongor)
  • MultiLineArrayEndBracketPlacementSniff: Enforces reasonable end bracket placement for multiline arrays (thanks to @grongor)
  • SingleLineArrayWhitespaceSniff: Checks whitespace in single line array declarations (thanks to @grongor)
  • NegationOperatorSpacingSniff: Checks if there is the same number of spaces after negation operator as expected (thanks to @grongor)
  • LineLengthSniff: Enforces maximum length of a single line of code (thanks to @grongor)
  • DisallowEmptyFunctionSniff: Reports empty functions body and require at least a comment inside (thanks to @arxeiss)

Improvements

  • UnusedPrivateElementsSniff: New option alwaysUsedMethodsAnnotations (thanks to @simPod)
  • Don't break the complete PHPCS run for unsupported syntaxes (thanks to @jrfnl)

Fixes

  • FullyQualifiedGlobalConstantsSniff: Fixed false positives
  • FullyQualifiedGlobalFunctionsSniff: Fixed false positives
  • UnusedVariableSniff: Fixed false positive
  • UselessVariableSniff: Fixed false positives
  • RequireTernaryOperatorSniff: Fixed false positives (thanks to @grongor)
  • JumpStatementsSpacingSniff: Fixed false positives (thanks to @grongor)
  • NullableTypeForNullDefaultValueSniff: Workaround for bug in PHPCS
Commits
  • 2f5e010 Typo
  • d3e6890 ParentCallSpacingSniff: Fixed false positive
  • 0d51d6e SingleLineArrayWhitespaceSniff: Fixed false positive
  • 82d6176 Added SpaceAfterNotSniff to phpcs.xml
  • a10f00d Use everything in annotations
  • 9da395d Added RequireMultiLineMethodSignatureSniff to phpcs.xml
  • c99f8b2 Added RequireMultiLineMethodSignatureSniff
  • 5500880 RequireSingleLineMethodSignatureSniff: Cleanup and improved fixer
  • f36375f RequireSingleLineMethodDeclarationSniff renamed to RequireSingleLineMethodSig...
  • f238a59 Consistent variable names
  • 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.1.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
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