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

Bump squizlabs/php_codesniffer from 2.8.1 to 3.4.1 #39

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps squizlabs/php_codesniffer from 2.8.1 to 3.4.1.

Release notes

Sourced from squizlabs/php_codesniffer's releases.

3.4.1

Note for PEAR Users

The PEAR installable version of PHPCS was missing some files, which have been re-included in this release. The result of these omissions were:

  • The code report was not previously available for PEAR installs
  • The Generic.Formatting.SpaceBeforeCast sniff was not previously available for PEAR installs
  • The Generic.WhiteSpace.LanguageConstructSpacing sniff was not previously available for PEAR installs

Thanks to Juliette Reinders Folmer for the patch

Changelog

  • PHPCS will now refuse to run if any of the required PHP extensions are not loaded
    • Previously, PHPCS only relied on requirements being checked by PEAR and Composer
    • Thanks to Juliette Reinders Folmer for the patch
  • Ruleset XML parsing errors are now displayed in a readable format so they are easier to correct
    • Thanks to Juliette Reinders Folmer for the patch
  • The PSR2 standard no longer throws duplicate errors for spacing around FOR loop parentheses
    • Thanks to Juliette Reinders Folmer for the patch
  • T_PHPCS_SET tokens now contain sniffCode, sniffProperty, and sniffPropertyValue indexes
    • Sniffs can use this information instead of having to parse the token content manually
  • Added more guard code for syntax errors to various CSS sniffs
    • Thanks to Juliette Reinders Folmer for the patch
  • Generic.Commenting.DocComment error messages now contain the name of the comment tag that caused the error
    • Thanks to Juliette Reinders Folmer for the patch
  • Generic.ControlStructures.InlineControlStructure now handles syntax errors correctly
    • Thanks to Juliette Reinders Folmer for the patch
  • Generic.Debug.JSHint now longer requires rhino and can be run directly from the npm install
    • Thanks to Juliette Reinders Folmer for the patch
  • Generic.Files.LineEndings no longer adds superfluous new line at the end of JS and CSS files
    • Thanks to Juliette Reinders Folmer for the patch
  • Generic.Formatting.DisallowMultipleStatements no longer tries fix lines containing phpcs:ignore statements
    • Thanks to Juliette Reinders Folmer for the patch
  • Generic.Functions.FunctionCallArgumentSpacing now has improved performance and anonymous class support
    • Thanks to Juliette Reinders Folmer for the patch
  • Generic.WhiteSpace.ScopeIndent now respects changes to the exact property using phpcs:set mid-way through a file
    • This allows you change the exact rule for only some parts of a file
  • Generic.WhiteSpace.ScopeIndent now disables exact indent checking inside all arrays
    • Previously, this was only done when using long array syntax, but it now works for short array syntax as well
  • PEAR.Classes.ClassDeclaration now has improved handling of PHPCS annotations and tab indents
  • PSR12.Classes.ClassInstantiation has changed it's error code from MissingParenthesis to MissingParentheses
  • PSR12.Keywords.ShortFormTypeKeywords now ignores all spacing inside type casts during both checking and fixing
    • Thanks to Juliette Reinders Folmer for the patch
  • Squiz.Classes.LowercaseClassKeywords now examines the class keyword for anonymous classes
    • Thanks to Juliette Reinders Folmer for the patch
  • Squiz.ControlStructures.ControlSignature now has improved handling of parse errors
    • Thanks to Juliette Reinders Folmer for the patch
  • Squiz.Commenting.PostStatementComment fixer no longer adds a blank line at the start of a JS file that begins with a comment
    • Fixes a conflict between this sniff and the Squiz.WhiteSpace.SuperfluousWhitespace sniff
    • Thanks to Juliette Reinders Folmer for the patch
... (truncated)
Commits

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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)

Finally, you can contact us by mentioning @dependabot.

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

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 5, 2019
@coveralls
Copy link

Coverage Status

Coverage remained the same at 56.716% when pulling ac019a2 on dependabot/composer/squizlabs/php_codesniffer-3.4.1 into c7796c5 on develop.

@dependabot-preview
Copy link
Contributor Author

Superseded by #40.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/squizlabs/php_codesniffer-3.4.1 branch April 11, 2019 05:02
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.

None yet

2 participants