Release notes
*Sourced from [squizlabs/php_codesniffer's releases](https://github.com/squizlabs/PHP_CodeSniffer/releases).*
> ## 3.4.2
> * `Squiz.Arrays.ArrayDeclaration` now has improved handling of syntax errors
> * Fixed an issue where the PCRE JIT on PHP 7.3 caused PHPCS to die when using the parallel option
> * PHPCS now disables the PCRE JIT before running
> * Fixed bug [#2368](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2368) : MySource.PHP.AjaxNullComparison throws error when first function has no doc comment
> * Fixed bug [#2414](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2414) : Indention false positive in switch/case/if combination
> * Fixed bug [#2423](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2423) : Squiz.Formatting.OperatorBracket.MissingBrackets error with static
> * Fixed bug [#2450](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2450) : Indentation false positive when closure containing nested IF conditions used as function argument
> * Fixed bug [#2452](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2452) : LowercasePHPFunctions sniff failing on "new \File()"
> * Fixed bug [#2453](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2453) : Squiz.CSS.SemicolonSpacingSniff false positive when style name proceeded by an asterisk
> * Thanks to Juliette Reinders Folmer for the patch
> * Fixed bug [#2464](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2464) : Fixer conflict between Generic.WhiteSpace.ScopeIndent and Squiz.WhiteSpace.ScopeClosingBrace when class indented 1 space
> * Fixed bug [#2465](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2465) : Excluding a sniff by path is not working
> * Fixed bug [#2467](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2467) : PHP open/close tags inside CSS files are replaced with internal PHPCS token strings when auto fixing
Commits
- [`b8a7362`](https://github.com/squizlabs/PHP_CodeSniffer/commit/b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8) Prepare for 3.4.2 release
- [`ac3ec98`](https://github.com/squizlabs/PHP_CodeSniffer/commit/ac3ec982f8cce86f0c372a46cb03580bdd47668e) Merge branch 'patch-1' of https://github.com/donatj/PHP_CodeSniffer
- [`c09a4e1`](https://github.com/squizlabs/PHP_CodeSniffer/commit/c09a4e1a2f3f6fe4a628e72b5e61ad35b309ed02) Fixed an issue where the PCRE JIT on PHP 7.3 caused PHPCS to die when using t...
- [`c253459`](https://github.com/squizlabs/PHP_CodeSniffer/commit/c253459e3341244486d5bcce65105e433df3f3a5) PHP_CodeSniffer\Exceptions\RuntimeException extends \RuntimeException
- [`dd3f6e0`](https://github.com/squizlabs/PHP_CodeSniffer/commit/dd3f6e0813e0c67a2a30c53abc724377cb6db2f2) Changelog + unit tests for [#2368](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2368)
- [`89888ba`](https://github.com/squizlabs/PHP_CodeSniffer/commit/89888ba2d19488bcff0934bf8b69645727a9c8fd) Merge branch 'fix-ajaxnullcomparison-sniff' of https://github.com/MariusLab/P...
- [`ce2aa58`](https://github.com/squizlabs/PHP_CodeSniffer/commit/ce2aa584826358f3d3078daf0c5b262c813f71e7) Fixed bug [#2423](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2423) : Squiz.Formatting.OperatorBracket.MissingBrackets error with...
- [`fd2158b`](https://github.com/squizlabs/PHP_CodeSniffer/commit/fd2158b71fc1492ed49ef3e0058ccce7331b5a8d) Remove PHP tags so pear validate doesn't complain
- [`c69d63f`](https://github.com/squizlabs/PHP_CodeSniffer/commit/c69d63fb869e7659a6043ce8a980fd7364585cd0) Fixed bug [#2464](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2464) : Fixer conflict between Generic.WhiteSpace.ScopeIndent and S...
- [`7e1a4f6`](https://github.com/squizlabs/PHP_CodeSniffer/commit/7e1a4f68862ed2d74feee98aaa768ea18ef5e573) Squiz.Arrays.ArrayDeclaration now has improved handling of syntax errors
- Additional commits viewable in [compare view](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.4.1...3.4.2)
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 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](https://app.dependabot.com):
- 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 from 3.4.1 to 3.4.2.
Release notes
*Sourced from [squizlabs/php_codesniffer's releases](https://github.com/squizlabs/PHP_CodeSniffer/releases).* > ## 3.4.2 > * `Squiz.Arrays.ArrayDeclaration` now has improved handling of syntax errors > * Fixed an issue where the PCRE JIT on PHP 7.3 caused PHPCS to die when using the parallel option > * PHPCS now disables the PCRE JIT before running > * Fixed bug [#2368](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2368) : MySource.PHP.AjaxNullComparison throws error when first function has no doc comment > * Fixed bug [#2414](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2414) : Indention false positive in switch/case/if combination > * Fixed bug [#2423](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2423) : Squiz.Formatting.OperatorBracket.MissingBrackets error with static > * Fixed bug [#2450](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2450) : Indentation false positive when closure containing nested IF conditions used as function argument > * Fixed bug [#2452](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2452) : LowercasePHPFunctions sniff failing on "new \File()" > * Fixed bug [#2453](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2453) : Squiz.CSS.SemicolonSpacingSniff false positive when style name proceeded by an asterisk > * Thanks to Juliette Reinders Folmer for the patch > * Fixed bug [#2464](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2464) : Fixer conflict between Generic.WhiteSpace.ScopeIndent and Squiz.WhiteSpace.ScopeClosingBrace when class indented 1 space > * Fixed bug [#2465](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2465) : Excluding a sniff by path is not working > * Fixed bug [#2467](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2467) : PHP open/close tags inside CSS files are replaced with internal PHPCS token strings when auto fixingCommits
- [`b8a7362`](https://github.com/squizlabs/PHP_CodeSniffer/commit/b8a7362af1cc1aadb5bd36c3defc4dda2cf5f0a8) Prepare for 3.4.2 release - [`ac3ec98`](https://github.com/squizlabs/PHP_CodeSniffer/commit/ac3ec982f8cce86f0c372a46cb03580bdd47668e) Merge branch 'patch-1' of https://github.com/donatj/PHP_CodeSniffer - [`c09a4e1`](https://github.com/squizlabs/PHP_CodeSniffer/commit/c09a4e1a2f3f6fe4a628e72b5e61ad35b309ed02) Fixed an issue where the PCRE JIT on PHP 7.3 caused PHPCS to die when using t... - [`c253459`](https://github.com/squizlabs/PHP_CodeSniffer/commit/c253459e3341244486d5bcce65105e433df3f3a5) PHP_CodeSniffer\Exceptions\RuntimeException extends \RuntimeException - [`dd3f6e0`](https://github.com/squizlabs/PHP_CodeSniffer/commit/dd3f6e0813e0c67a2a30c53abc724377cb6db2f2) Changelog + unit tests for [#2368](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2368) - [`89888ba`](https://github.com/squizlabs/PHP_CodeSniffer/commit/89888ba2d19488bcff0934bf8b69645727a9c8fd) Merge branch 'fix-ajaxnullcomparison-sniff' of https://github.com/MariusLab/P... - [`ce2aa58`](https://github.com/squizlabs/PHP_CodeSniffer/commit/ce2aa584826358f3d3078daf0c5b262c813f71e7) Fixed bug [#2423](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2423) : Squiz.Formatting.OperatorBracket.MissingBrackets error with... - [`fd2158b`](https://github.com/squizlabs/PHP_CodeSniffer/commit/fd2158b71fc1492ed49ef3e0058ccce7331b5a8d) Remove PHP tags so pear validate doesn't complain - [`c69d63f`](https://github.com/squizlabs/PHP_CodeSniffer/commit/c69d63fb869e7659a6043ce8a980fd7364585cd0) Fixed bug [#2464](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2464) : Fixer conflict between Generic.WhiteSpace.ScopeIndent and S... - [`7e1a4f6`](https://github.com/squizlabs/PHP_CodeSniffer/commit/7e1a4f68862ed2d74feee98aaa768ea18ef5e573) Squiz.Arrays.ArrayDeclaration now has improved handling of syntax errors - Additional commits viewable in [compare view](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.4.1...3.4.2)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 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](https://app.dependabot.com): - 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.