-
Notifications
You must be signed in to change notification settings - Fork 649
Commit a3a9582
authored
chore(deps): update dependency squizlabs/php_codesniffer to v3.13.4 (#734)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[squizlabs/php_codesniffer](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer)
| `3.13.2` -> `3.13.4` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>PHPCSStandards/PHP_CodeSniffer
(squizlabs/php_codesniffer)</summary>
###
[`v3.13.4`](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/CHANGELOG.md#3134---2025-09-05)
[Compare
Source](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.3...3.13.4)
##### Fixed
- Fixed bug [#​1213]: ability to run tests for external standards
using the PHPCS native test framework was broken.
- Thanks to \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Fixed bug [#​1214]: PHP 8.5 "Using null as an array offset"
deprecation notices.
- Thanks to \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
[#​1213]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1213
[#​1214]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1214
###
[`v3.13.3`](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/CHANGELOG.md#3133---2025-09-04)
[Compare
Source](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.2...3.13.3)
##### Added
- Tokenizer support for PHP 8.4 dereferencing of new expressions without
wrapping parentheses. [#​1160]
- Thanks to \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Tokenizer support for PHP 8.4 `abstract` properties. [#​1183]
- The `File::getMemberProperties()` method now also supports `abstract`
properties through a new `is_abstract` array index in the return value.
[#​1184]
- Additionally, the following sniffs have been updated to support
`abstract` properties:
- Generic.PHP.LowerCaseConstant [#​1185]
- Generic.PHP.UpperCaseConstant [#​1185]
- PSR2.Classes.PropertyDeclaration [#​1188]
- Squiz.Commenting.VariableComment [#​1186]
- Squiz.WhiteSpace.MemberVarSpacing [#​1187]
- Thanks to \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the
patches
- Tokenizer support for the PHP 8.4 "exit as a function call" change.
[#​1201]
- When `exit`/`die` is used as a fully qualified "function call", it
will now be tokenized as `T_NS_SEPARATOR` + `T_EXIT`.
- Additionally, the following sniff has been updated to handle fully
qualified exit/die correctly:
- Squiz.PHP.NonExecutableCode
- Thanks to \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the
patches
##### Changed
- Tokenizer/PHP: fully qualified `true`/`false`/`null` will now be
tokenized as `T_NS_SEPARATOR` + `T_TRUE`/`T_FALSE`/`T_NULL`.
[#​1201]
- Previously, these were tokenized as `T_NS_SEPARATOR` + `T_STRING`.
- Additionally, the following sniffs have been updated to handle fully
qualified true/false/null correctly:
- Generic.CodeAnalysis.UnconditionalIfStatement
- Generic.ControlStructures.DisallowYodaConditions
- PEAR.Functions.ValidDefaultValue
- Thanks to \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the
patches.
- Generic.PHP.Syntax: the sniff is now able to scan input provided via
STDIN on non-Windows OSes. [#​915]
- Thanks to \[Rodrigo
Primo]\[[@​rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
for the patch.
- PSR2.ControlStructures.SwitchDeclaration: the `WrongOpener*` error
code is now auto-fixable if the identified "wrong opener" is a
semi-colon. [#​1161]
- Thanks to \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- The PSR2.Classes.PropertyDeclaration will now check that the abstract
modifier keyword is placed before a visibility keyword. [#​1188]
- Errors will be reported via a new `AbstractAfterVisibility` error
code.
- Thanks to \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Various housekeeping, including improvements to the tests and
documentation.
- Thanks to \[Bernhard
Zwein]\[[@​benno5020](https://redirect.github.com/benno5020)],
\[Rick
Kerkhof]\[[@​NanoSector](https://redirect.github.com/NanoSector)],
\[Rodrigo
Primo]\[[@​rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
and \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for their
contributions.
##### Fixed
- Fixed bug [#​1112] : `--parallel` option fails if
PHP\_CodeSniffer is invoked via bash and the invokation creates a
non-PHPCS-managed process.
- Thanks to \[Rick
Kerkhof]\[[@​NanoSector](https://redirect.github.com/NanoSector)]
for the patch.
- Fixed bug [#​1113] : fatal error when the specified "files to
scan" would result in the same file being added multiple times to the
queue.
- This error only occured when `--parallel` scanning was enabled.
- Thanks to \[Rodrigo
Primo]\[[@​rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
for the patch.
- Fixed bug [#​1154] : PEAR.WhiteSpace.ObjectOperatorIndent: false
positive when checking multiple chained method calls in a
multidimensional array.
- Thanks to \[Rodrigo
Primo]\[[@​rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
for the patch.
- Fixed bug [#​1193] : edge case inconsistency in how empty string
array keys for sniff properties are handled.
- Thanks to \[Rodrigo
Primo]\[[@​rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
and \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Fixed bug [#​1197] : Squiz.Commenting.FunctionComment: return
types containing a class name with underscores would be truncated
leading to incorrect results.
- Thanks to \[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
##### Other
- The [Wiki documentation] is now publicly editable. 🎉
- Update proposals can be submittted by opening a pull request in the
[PHPCSStandards/PHP\_CodeSniffer-documentation][docs-repo] repository.
Contributions welcome !
- Thanks to \[Anna
Filina]\[[@​afilina](https://redirect.github.com/afilina)], \[Dan
Wallis]\[[@​fredden](https://redirect.github.com/fredden)] and
\[Juliette Reinders
Folmer]\[[@​jrfnl](https://redirect.github.com/jrfnl)] for their
work on getting this set up.
- The [Phar website] has had a facelift. [#​107]
- Thanks to \[Bernhard
Zwein]\[[@​benno5020](https://redirect.github.com/benno5020)] for
making this happen!
[Wiki documentation]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/wiki
[docs-repo]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer-documentation
[Phar website]: https://phars.phpcodesniffer.com/
[#​107]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/107
[#​915]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/915
[#​1112]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/1112
[#​1113]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/1113
[#​1154]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/1154
[#​1160]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1160
[#​1161]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1161
[#​1183]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1183
[#​1184]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1184
[#​1185]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1185
[#​1186]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1186
[#​1187]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1187
[#​1188]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1188
[#​1193]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1193
[#​1197]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/1197
[#​1201]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/1201
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/line/line-bot-sdk-php).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTEuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmN5IHVwZ3JhZGUiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 9f857cf commit a3a9582Copy full SHA for a3a9582
File tree
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments