Skip to content

Commit e6b7205

Browse files
committed
Coding Standards: Upgrade WPCS to 2.1.1.
Noteable changes: - WPCS now throws warnings when non-strict comparisons are used. There are quite a few of them in Core. 🙃 - WPCS now detects and warns for assignments in loop conditions. See #47632. git-svn-id: https://develop.svn.wordpress.org/trunk@45600 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6b61c34 commit e6b7205

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"require-dev": {
1313
"dealerdirect/phpcodesniffer-composer-installer": "~0.5.0",
14-
"wp-coding-standards/wpcs": "~2.0.0"
14+
"wp-coding-standards/wpcs": "~2.1.0"
1515
},
1616
"scripts": {
1717
"format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source",

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)