Skip to content

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps squizlabs/php_codesniffer from 3.5.0 to 3.5.1.

Release notes

Sourced from squizlabs/php_codesniffer's releases.

3.5.1

  • Very very verbose diff report output has slightly changed to improve readability
    • Output is printed when running PHPCS with the --report=diff and -vvv command line arguments
    • Fully qualified class names have been replaced with sniff codes
    • Tokens being changed now display the line number they are on
  • PSR2, PSR12, and PEAR standards now correctly check for blank lines at the start of function calls
    • This check has been missing from these standards, but has now been implemented
    • When using the PEAR standard, the error code is PEAR.Functions.FunctionCallSignature.FirstArgumentPosition
    • When using PSR2 or PSR12, the error code is PSR2.Methods.FunctionCallSignature.FirstArgumentPosition
  • PSR12.ControlStructures.BooleanOperatorPlacement no longer complains when multiple expressions appear on the same line
    • Previously, boolean operators were enforced to appear at the start or end of lines only
    • Boolean operators can now appear in the middle of the line
  • PSR12.Files.FileHeader no longer ignores comments preceding a use, namespace, or declare statement
  • PSR12.Files.FileHeader now allows a hashbang line at the top of the file
  • Fixed bug #2506 : PSR2 standard can't auto fix multi-line function call inside a string concat statement
  • Fixed bug #2530 : PEAR.Commenting.FunctionComment does not support intersection types in comments
  • Fixed bug #2615 : Constant visibility false positive on non-class constants
  • Fixed bug #2616 : PSR12.Files.FileHeader false positive when file only contains docblock
  • Fixed bug #2619 : PSR12.Files.FileHeader locks up when inline comment is the last content in a file
  • Fixed bug #2621 : PSR12.Classes.AnonClassDeclaration.CloseBraceSameLine false positive for anon class passed as function argument
    • Thanks to Martins Sipenko for the patch
  • Fixed bug #2623 : PSR12.ControlStructures.ControlStructureSpacing not ignoring indentation inside multi-line string arguments
  • Fixed bug #2624 : PSR12.Traits.UseDeclaration doesnt apply the correct indent during auto fixing
  • Fixed bug #2626 : PSR12.Files.FileHeader detects @​var annotations as file docblocks
  • Fixed bug #2628 : PSR12.Traits.UseDeclaration does not allow comments above a USE declaration
  • Fixed bug #2632 : Incorrect indentation of lines starting with "static" inside closures
  • Fixed bug #2641 : PSR12.Functions.NullableTypeDeclaration false positive when using new static()
Commits
  • 82cd0f8 Prepare for 3.5.1 release
  • a24f6d4 Fixed indent check when function is called inside an array declaration (ref #...
  • da72d36 Additional fix for #2506
  • c11b324 Fixed bug #2506 : PSR2 standard can't auto fix multi-line function call insid...
  • f797a35 Fixed bug #2530 : PEAR.Commenting.FunctionComment does not support intersecti...
  • f5dc023 Fixed bug #2632 : Incorrect indentation of lines starting with static inside ...
  • 52e9819 PSR12.ControlStructures.BooleanOperatorPlacement no longer complains when mul...
  • e487b6e PSR2, PSR12, and PEAR standards now correctly check for blank lines at the st...
  • 33af624 Improved the changelog
  • e10743c Fixed bug #2628 : PSR12.Traits.UseDeclaration does not allow comments above a...
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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)

Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](squizlabs/PHP_CodeSniffer@3.5.0...3.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 21, 2019
@dependabot-preview dependabot-preview bot merged commit 3736ff2 into master Oct 21, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/composer/squizlabs/php_codesniffer-3.5.1 branch October 21, 2019 05:37
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