geo6 / geocoder

GNU General Public License v3.0
2 stars 0 forks source link

Bump squizlabs/php_codesniffer from 3.2.3 to 3.3.0 #58

Closed dependabot-preview[bot] closed 6 years ago

dependabot-preview[bot] commented 6 years ago

Bumps squizlabs/php_codesniffer from 3.2.3 to 3.3.0.

Release notes *Sourced from [squizlabs/php_codesniffer's releases](https://github.com/squizlabs/PHP_CodeSniffer/releases).* > ## 3.3.0 > ## Deprecations > > ### Squiz.WhiteSpace.LanguageConstructSpacing Sniff > > The `Squiz.WhiteSpace.LanguageConstructSpacing` sniff has been deprecated and will be removed in version 4. > > The sniff has been moved to the Generic standard, with a new code of `Generic.WhiteSpace.LanguageConstructSpacing`. The new Generic sniff now also checks many more language constructs to enforce additional spacing rules. The existing Squiz sniff will continue to work until version 4 has been released. Thanks to Mponos George for the contribution. > > As soon as possible, replace all instances of the old sniff code with the new sniff code in your ruleset.xml files. > > ### Setting Array Properties > > The current method for setting array properties in ruleset files has been deprecated and will be removed in version 4. > > Currently, setting an array value uses the string syntax `print=>echo,create_function=>null`. Now, individual array elements are specified using a new `element` tag with `key` and `value` attributes. > > For example, the following array of forbidden functions: > ```xml > > ``` > Will be rewritten using this format: > ```xml > > > > > > > > ``` > > Thanks to Michał Bundyra for the patch. > > ### T_ARRAY_HINT Token > > The `T_ARRAY_HINT` token has been deprecated and will be removed in version 4. > > The token was used to ensure array type hints were not tokenized as `T_ARRAY`, but no other type hints were given a special token. Array type hints now use the standard `T_STRING` token instead. > > Sniffs referencing this token type will continue to run without error until version 4, but will not find any `T_ARRAY_HINT` tokens. > > ### T_RETURN_TYPE Token > > The T_RETURN_TYPE token has been deprecated and will be removed in version 4. > > The token was used to ensure array/self/parent/callable return types were tokenized consistently. But for namespaced return types, only the last part of the string (the class name) was tokenized as `T_RETURN_TYPE`. This was not consistent and so return types are now left using their original token types so they are not skipped by sniffs. The exception are array return types, which are tokenized as `T_STRING` instead of `T_ARRAY`, as they are used for type hints. > > Sniffs referencing this token type will continue to run without error until version 4, but will not find any `T_RETUTN_TYPE` tokens. > > ... (truncated)
Commits - [`d86873a`](https://github.com/squizlabs/PHP_CodeSniffer/commit/d86873af43b4aa9d1f39a3601cc0cfcf02b25266) Add missing test file entries - [`7b0cc2c`](https://github.com/squizlabs/PHP_CodeSniffer/commit/7b0cc2c9d77fec932f2552024e592a43481a2af2) Prepare for 3.3.0 release - [`25088d9`](https://github.com/squizlabs/PHP_CodeSniffer/commit/25088d9c91a37b2306f12ee4dca5b929f5d80af5) Changelog for [#1674](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/1674) - [`e3e7dd5`](https://github.com/squizlabs/PHP_CodeSniffer/commit/e3e7dd592c0cf08f80c590f14c9973cf39caf079) Merge branch 'feature/respect-tabs-in-tokensasstring' of https://github.com/j... - [`9f48892`](https://github.com/squizlabs/PHP_CodeSniffer/commit/9f488920523b1ecd44b106508c41e8919a09cfce) Changelog for [#2027](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2027) and [#2028](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/2028) - [`46fc938`](https://github.com/squizlabs/PHP_CodeSniffer/commit/46fc938136e8ef6f5c7a38171527c7a7359adf9a) Merge branch 'feature/2027-pear-validfunctionname-fix-uninitialized-offset-er... - [`a73f45c`](https://github.com/squizlabs/PHP_CodeSniffer/commit/a73f45c0093b7e4bd2e24d9851ff8b92170b850f) Changelog for [#1999](https://github-redirect.dependabot.com/squizlabs/PHP_CodeSniffer/issues/1999) - [`af9a34f`](https://github.com/squizlabs/PHP_CodeSniffer/commit/af9a34f47ff189d75ac6ecd2cdc5c6a5814bff74) Merge branch 'feature/phpcs-set-array-values' of https://github.com/webimpres... - [`ebc013c`](https://github.com/squizlabs/PHP_CodeSniffer/commit/ebc013c81c29764b910c14fbdda3d128cea4e6f5) Updated changelog - [`a285842`](https://github.com/squizlabs/PHP_CodeSniffer/commit/a285842eebf13e574bb784f05b40454b2e2297f9) PEAR/ValidFunctionName: fix uninitialized string offset error - Additional commits viewable in [compare view](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.2.3...3.3.0)


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.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@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 (this|these) label[s]` will set the current labels as the default for future PRs for this repo and language - `@dependabot use (this|these) reviewer[s]` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use (this|these) assignee[s]` will set the current assignees as the default for future PRs for this repo and language 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.