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

Update for PHPCS 3.x and WPCS 0.14.1 #145

Merged
Merged
Changes from 1 commit
Commits
Show all changes
448 commits
Select commit Hold shift + click to select a range
99146fd
Merge pull request #1045 from WordPress-Coding-Standards/WPCS-0.13.0/…
GaryJones Jul 22, 2017
be850cb
PHPCS 3.x compat: Namespace all sniffs which extend from one of the W…
jrfnl Jul 22, 2017
d575917
PHPCS 3.x compat: Namespace all sniffs which extend an upstream sniff
jrfnl Jul 22, 2017
5c47591
PHPCS 3.x compat: Fix all references to upstream PHPCS classes
jrfnl Jul 20, 2017
744fc59
PHPCS 3.x compat: Make sure checks for PHP native functions/etc are d…
jrfnl Jul 20, 2017
51cdbb3
PHPCS 3.x compat: Add helper class & implement use
jrfnl Jul 20, 2017
3112d5a
PHPCS 3.x compat: Alias PHPCS 3.x classes to their PHPCS 2.x counterp…
jrfnl Jul 22, 2017
c1eaa0b
PHPCS 3.x compat: Namespace all unit tests
jrfnl Jul 23, 2017
6f7a92b
PHPCS 3.x compat: Make setting the tab-width in the unit tests compat…
jrfnl Jul 20, 2017
10847d8
PHPCS 3.x compat: Get the unit tests working on both PHPCS 2.x as wel…
jrfnl Jul 23, 2017
3070fb2
PHPCS 3.x compat: Update readme, build script and config files
jrfnl Jul 24, 2017
fefcca0
Merge pull request #1047 from WordPress-Coding-Standards/WPCS-0.13.0/…
GaryJones Jul 24, 2017
ab7cbd9
PHPCS 3.x compat: remove work-around for how PHP 5.2 tokenizes code
jrfnl Jul 20, 2017
c60ab46
:green_heart: Build: improve our own codestyle checking
jrfnl Jul 25, 2017
6f42270
:books: Readme: Update the example output
jrfnl Jul 25, 2017
94c4d40
:books: Minor textual improvements to the Contributing.md document
jrfnl Jul 25, 2017
96dc7d0
:books: Minor textual improvements to the Readme.md document
jrfnl Jul 25, 2017
ea76a40
PHPCS 3.x compat: remove test skipping for PHP 5.2
jrfnl Jul 20, 2017
15307be
PHPCS 3.x compat: remove work-arounds for compatibility with PHP 5.2
jrfnl May 15, 2017
8122716
Merge pull request #1053 from WordPress-Coding-Standards/feature/read…
GaryJones Jul 25, 2017
fdbfc94
Merge pull request #1054 from WordPress-Coding-Standards/feature/cont…
GaryJones Jul 25, 2017
d3e8ba7
Merge pull request #1055 from WordPress-Coding-Standards/feature/read…
GaryJones Jul 25, 2017
cdd8a7e
Update .travis.yml example
barryceelen Jul 25, 2017
d054dc6
Merge pull request #1060 from barryceelen/travis-example
jrfnl Jul 25, 2017
857ba9b
PHPCS 3.x compat: prevent conflicts with other standards.
jrfnl Jul 25, 2017
b05a639
Merge pull request #1050 from WordPress-Coding-Standards/WPCS-0.13.0/…
JDGrimes Jul 25, 2017
6245dc1
Merge pull request #1052 from WordPress-Coding-Standards/WPCS-0.13.0/…
JDGrimes Jul 25, 2017
cbbe514
Merge pull request #1063 from WordPress-Coding-Standards/WPCS-0.13.0/…
JDGrimes Jul 25, 2017
6dc72a5
PHPCS 3.x compat: Implement recognition of the `--ignore-annotations`…
jrfnl Jul 22, 2017
e7f2af5
Update the pre-commit hook code
jrfnl Jul 26, 2017
172a180
Merge pull request #1051 from WordPress-Coding-Standards/WPCS-0.13.0/…
JDGrimes Jul 26, 2017
eeee6cf
Update call to phpunit with required env var and fxed bootstrap path
westonruter Jul 26, 2017
1bf6605
Merge pull request #1068 from WordPress-Coding-Standards/feature/upda…
GaryJones Jul 26, 2017
be1cd3b
Move `CONTRIBUTING.MD` to `.github`
jrfnl Jul 27, 2017
45d841c
Minor code style fix
jrfnl Jul 27, 2017
c544bfb
Merge pull request #1076 from WordPress-Coding-Standards/feature/mino…
JDGrimes Jul 27, 2017
e4c86d7
Adjust the URL to the contributing file where relevant
jrfnl Jul 27, 2017
defac14
Merge pull request #1074 from WordPress-Coding-Standards/feature/move…
GaryJones Jul 27, 2017
c33af15
Add a .gitattributes file
jrfnl Jul 27, 2017
1450f41
CONTRIBUTING: add note about using `--prefer-source` with Composer
jrfnl Jul 27, 2017
43b32fa
Merge pull request #1075 from WordPress-Coding-Standards/feature/add-…
GaryJones Jul 27, 2017
1b54c09
Add issue template (#1072)
dingo-d Jul 28, 2017
4f41c4b
Explicitly recommend v0.4.1+ of the DealerDirect Composer plugin
jrfnl Aug 1, 2017
abcf6a9
Merge pull request #1077 from WordPress-Coding-Standards/feature/reco…
GaryJones Aug 1, 2017
76b4e1b
Fix the version recommendation
jrfnl Aug 1, 2017
7ef4f97
Merge pull request #1078 from WordPress-Coding-Standards/feature/fix-it
JDGrimes Aug 1, 2017
aebfc8a
Changelog for the 0.13.0 release. (#1058)
jrfnl Aug 3, 2017
2d69383
Merge pull request #1059 from WordPress-Coding-Standards/develop
jrfnl Aug 3, 2017
bf46566
Make comparision in StrictInArraySniff unaware of uppercase
websupporter Aug 3, 2017
f08e718
ArrayIndentation sniff: fix bug with multi-line strings as array value
jrfnl Jul 26, 2017
06e57ef
PrefixAllGlobalsSniff: allow "prefix + non-word char" for improved su…
jrfnl Aug 2, 2017
4b0dece
Merge pull request #1080 from WordPress-Coding-Standards/feature/fix-…
JDGrimes Aug 3, 2017
eb54d05
Update the VIP.RestrictedFunctions sniff (#969)
Aug 3, 2017
594a119
Merge pull request #1081 from WordPress-Coding-Standards/feature/fix-…
GaryJones Aug 3, 2017
3304604
PrefixAllGlobals: Improve recognition of namespaced constants using `…
jrfnl Jul 25, 2017
0b2401e
Merge pull request #1079 from WordPress-Coding-Standards/feature/fix-…
GaryJones Aug 3, 2017
b586603
Docs: Fix ControlStructreSpacing typos
GaryJones Aug 4, 2017
5f6f7d4
Merge pull request #1083 from WordPress-Coding-Standards/feature/cont…
jrfnl Aug 4, 2017
591290e
Update README.md to include Atom setup tips
jaredatch Aug 4, 2017
1a18cfd
Clarify Atom instructions
jaredatch Aug 4, 2017
d2f45d8
Merge pull request #1086 from jaredatch/develop
JDGrimes Aug 4, 2017
80faf1d
:sparkles: New `WordPress.WP.DiscouragedConstants` sniff
jrfnl Aug 5, 2017
cc8e2e9
WP.DiscouragedConstants: Trigger for `const` defined in the global na…
jrfnl Aug 5, 2017
3b00b81
Hotfix: temporary plaster to fix issue 1087
jrfnl Aug 5, 2017
1f64b1a
Merge pull request #1090 from WordPress-Coding-Standards/hotfix/issue…
GaryJones Aug 5, 2017
ae0c119
Merge pull request #1091 from WordPress-Coding-Standards/hotfix/issue…
GaryJones Aug 5, 2017
5a3a696
Merge pull request #1089 from WordPress-Coding-Standards/feature/issu…
GaryJones Aug 5, 2017
1686dd2
Add `is_class_property()` utility method and implement use of this an…
jrfnl Aug 5, 2017
5e185e2
Merge pull request #1092 from WordPress-Coding-Standards/feature/use-…
GaryJones Aug 5, 2017
b54c179
:sparkles: Add new `CodeAnalysis.AssignmentInCondition` sniff to `Extra`
jrfnl Aug 7, 2017
abfbd82
Refactor one assignment in condition in current codebase.
jrfnl Aug 7, 2017
80442d2
Allow for setting the minimum supported WP version from the command line
jrfnl Aug 7, 2017
9d30298
AssignmentInCondition: updated for feedback.
jrfnl Aug 7, 2017
4a97ddd
Merge pull request #1094 from WordPress-Coding-Standards/feature/min-…
JDGrimes Aug 7, 2017
ab276d5
Merge pull request #1093 from WordPress-Coding-Standards/feature/new-…
JDGrimes Aug 7, 2017
c1d43bf
XSS.EscapeOutput sniff: Fix issue #933 - namespace separators.
jrfnl Aug 7, 2017
6d98f36
Merge pull request #1097 from WordPress-Coding-Standards/feature/issu…
GaryJones Aug 8, 2017
37c4191
AssignmentInCondition sniff: Detect assignments in ternary conditions
jrfnl Aug 8, 2017
db1a898
:sparkles: New `WhiteSpace.PrecisionAlignment` sniff for `Core`
jrfnl Aug 9, 2017
e9aa1cc
AssignmentInCondition sniff: also throw warnings for non-variable ass…
jrfnl Aug 8, 2017
d8fbe80
Merge pull request #1100 from WordPress-Coding-Standards/feature/assi…
JDGrimes Aug 10, 2017
9c4734c
Add sniffs to verify modifier keywords for declared methods and prope…
jrfnl Aug 15, 2017
bc292e6
Merge pull request #1103 from WordPress-Coding-Standards/feature/meth…
GaryJones Aug 15, 2017
457319c
ArrayDeclarationSpacing: add a property to make an exception for sing…
jrfnl Aug 16, 2017
222d4cf
ArrayDeclarationSpacing: change the default for the new property to `…
jrfnl Aug 17, 2017
c08acbe
Merge pull request #1105 from WordPress-Coding-Standards/feature/issu…
JDGrimes Aug 18, 2017
4664a75
ClassInstantiation sniff: correctly handle non-variable array keys
JDGrimes Aug 19, 2017
28bebec
Merge pull request #1107 from WordPress-Coding-Standards/bug/new-clas…
GaryJones Aug 21, 2017
3695d3e
Remove outdated comments from .travis.yml
JDGrimes Aug 21, 2017
aebfb7a
Merge pull request #1108 from WordPress-Coding-Standards/bug/outdated…
GaryJones Aug 22, 2017
0b959c5
Extra: Encourage the best practice of only declaring one class/interf…
jrfnl Aug 29, 2017
7f208f3
Merge pull request #1111 from WordPress-Coding-Standards/feature/extr…
GaryJones Aug 30, 2017
e24427e
Core: Add sniff to check for and fix whitespace around object operators
jrfnl Aug 31, 2017
707507c
Merge pull request #1116 from WordPress-Coding-Standards/feature/core…
GaryJones Aug 31, 2017
0f005f5
Merge pull request #1099 from WordPress-Coding-Standards/feature/issu…
GaryJones Sep 3, 2017
245cbaa
Remove superfluous line
jrfnl Sep 3, 2017
a117575
Fix syntax error in test file
jrfnl Sep 7, 2017
836095d
WhiteSpace.PrecisionAlignment: fix potential fatal error
jrfnl Sep 7, 2017
cd9a9d8
Fix Precision alignment issues found in the WPCS code base
jrfnl Sep 7, 2017
4c40769
Merge pull request #1123 from WordPress-Coding-Standards/feature/fix-…
westonruter Sep 8, 2017
47a93a4
Merge pull request #1124 from WordPress-Coding-Standards/feature/prec…
westonruter Sep 8, 2017
a65eb8d
Merge pull request #1125 from WordPress-Coding-Standards/feature/tidy…
westonruter Sep 8, 2017
7c808f8
Merge pull request #1126 from WordPress-Coding-Standards/feature/prec…
westonruter Sep 8, 2017
bcddee0
:rocket: Fix travis build: load PHPCS native bootstrap if available a…
jrfnl Sep 8, 2017
48cb87b
Merge pull request #1130 from WordPress-Coding-Standards/feature/fix-…
GaryJones Sep 8, 2017
3c05a13
Update example ruleset based on feedback
jrfnl Sep 8, 2017
0398d4d
UnitTests: fix unintentional syntax/parse errors in the test case files
jrfnl Sep 9, 2017
8e50238
Merge pull request #1129 from WordPress-Coding-Standards/feature/upda…
GaryJones Sep 10, 2017
efd8010
Merge pull request #1134 from WordPress-Coding-Standards/feature/fix-…
GaryJones Sep 10, 2017
3ad0053
I18n unit tests: Rename unit test files - part 1
jrfnl Sep 13, 2017
e2e0ee5
I18n unit tests: Rename unit test files - part 2
jrfnl Sep 13, 2017
4926698
I18n unit tests: Change over from setting property value via config t…
jrfnl Sep 13, 2017
89c0138
I18n unit tests: Add previously missing unit test cases and adjust th…
jrfnl Sep 13, 2017
d225ba7
I18n unit tests: Add additional unit test file to test setting text_d…
jrfnl Sep 13, 2017
767b852
Merge pull request #1142 from WordPress-Coding-Standards/feature/chan…
westonruter Sep 13, 2017
8a4dfce
[WordPress.WP.I18n] Allow omitting $text_domain arg when 'default'
westonruter Sep 13, 2017
78f2b37
Reset text_domain to false instead of null
westonruter Sep 13, 2017
435b917
Merge pull request #1141 from WordPress-Coding-Standards/feature/allo…
westonruter Sep 14, 2017
2f5582e
Ruleset: maintain compatibility with PHPCS 2.x
jrfnl Sep 15, 2017
11c1bf4
Merge pull request #1144 from WordPress-Coding-Standards/feature/main…
JDGrimes Sep 15, 2017
4c25d2d
[Extra] Add PEAR.Files.IncludingFile sniff
jrfnl Sep 15, 2017
5c7f3a6
Fix up the existing codebase for newly added IncludingFile sniff
jrfnl Sep 15, 2017
5188443
Merge pull request #1145 from WordPress-Coding-Standards/feature/extr…
GaryJones Sep 15, 2017
200416a
:sparkles: New "Generic.PHP.DiscourageGoto" sniff
jrfnl Sep 18, 2017
7ad6997
Add some missing `@since` tags
jrfnl Sep 3, 2017
5234433
Merge pull request #1151 from WordPress-Coding-Standards/feature/add-…
westonruter Sep 19, 2017
033b8b2
Merge pull request #1150 from WordPress-Coding-Standards/feature/new-…
GaryJones Sep 19, 2017
109e4f3
Add customisable property to set the posts_per_page variable (#1152)
dingo-d Sep 19, 2017
837b9d7
Modern code/Extra: add sniff to check for single blank line after nam…
jrfnl Sep 22, 2017
f66e713
Merge pull request #1156 from WordPress-Coding-Standards/feature/extr…
westonruter Sep 22, 2017
dfebcba
CronInterval: make the minimum cron interval configurable
jrfnl Sep 22, 2017
8592bc9
Move `is_wpdb_method_call()` method from PreparedSQL to WP base Sniff
jrfnl Sep 23, 2017
7e00c82
Improve re-usability and stability of the `is_wpdb_method_call()` met…
jrfnl Sep 23, 2017
5f5d52c
:sparkles: New `PreparedSQLPlaceholders` sniff
jrfnl Sep 23, 2017
eada7ac
Update example ruleset for new `minimum_supported_wp_version` config …
jrfnl Sep 23, 2017
8289df7
Contributing: update info about unit testing
jrfnl Sep 23, 2017
958942d
Merge pull request #1161 from WordPress-Coding-Standards/feature/upda…
JDGrimes Sep 23, 2017
b4e2abe
Move the `WordPress.DB.PreparedSQLPlaceholders` from `Extra` to `Core`
jrfnl Sep 23, 2017
e96329a
Merge pull request #1160 from WordPress-Coding-Standards/feature/new-…
GaryJones Sep 23, 2017
fb4e2b1
Update PHPUnit XML schema references to reflect PHPUnit 6.x compatibi…
jrfnl Sep 23, 2017
cf5bf31
Merge pull request #1162 from WordPress-Coding-Standards/feature/upda…
GaryJones Sep 23, 2017
bf58444
Update composer.json
tfrommen Sep 23, 2017
ac3e7d1
Bump version constraint.
tfrommen Sep 23, 2017
9c9d644
Merge pull request #1167 from tfrommen/patch-2
GaryJones Sep 24, 2017
9cae178
PreparedSQLPlaceholders: Fix unclear error message
jrfnl Sep 25, 2017
2a81b2d
Fix markdown link at README.md
simison Sep 25, 2017
17fb568
Merge pull request #1170 from simison/patch-1
westonruter Sep 25, 2017
d62b340
Merge pull request #1169 from WordPress-Coding-Standards/feature/mino…
GaryJones Sep 25, 2017
bc7e5e1
PrecisionAlignment: fix false positive in combination with incorrectl…
jrfnl Oct 5, 2017
31f18a7
Merge pull request #1175 from WordPress-Coding-Standards/feature/bugf…
JDGrimes Oct 5, 2017
b966466
Move `eval` and `goto` restrictions from `Extra` to `Core`
jrfnl Oct 6, 2017
1979d23
ArrayIndentation: deal correctly with trailing comments
jrfnl Oct 6, 2017
bcd5507
Merge pull request #1180 from WordPress-Coding-Standards/feature/fix-…
JDGrimes Oct 6, 2017
56bc108
Merge pull request #1177 from WordPress-Coding-Standards/feature/no-g…
JDGrimes Oct 6, 2017
ed5238a
:sparkles: New RestrictedPHPFunctions sniff
jrfnl Oct 6, 2017
661e8b7
RestricedPHPFunctions: update the rulesets to reflect the forbidding …
jrfnl Oct 6, 2017
2676dd4
VIP ruleset: remove the explicit inclusion of two sniffs which are al…
jrfnl Oct 6, 2017
d7e5157
Sync the WP global var lists
jrfnl Oct 6, 2017
a8f782c
YodaConditions: fix issue 1181 - complex ternary
jrfnl Oct 6, 2017
0f393b4
Merge pull request #1178 from WordPress-Coding-Standards/feature/new-…
GaryJones Oct 6, 2017
ee405b8
Merge pull request #1182 from WordPress-Coding-Standards/feature/upda…
GaryJones Oct 6, 2017
89813dd
Merge pull request #1183 from WordPress-Coding-Standards/feature/sync…
GaryJones Oct 6, 2017
c58723d
:sparkles: Add new Arrays.MultipleStatementAlignment sniff to `Core`
jrfnl Sep 7, 2017
dc3b59d
Arrays.MultipleStatementAlignment: allow for several equally large gr…
jrfnl Sep 10, 2017
6ffc7ec
Arrays.MultipleStatementAlignment: add option to allow for handling m…
jrfnl Sep 25, 2017
4cc13c8
Adjust WPCS own ruleset to align except for arrays which only contain…
jrfnl Sep 25, 2017
c1b7af1
Fix existing codebase for warnings thrown by the new `Arrays.Multiple…
jrfnl Sep 25, 2017
f8229eb
Array properties: always be lenient about spaces
jrfnl Oct 7, 2017
8ba79cb
Merge pull request #1185 from WordPress-Coding-Standards/feature/arra…
JDGrimes Oct 7, 2017
c4365fe
Merge pull request #1135 from WordPress-Coding-Standards/feature/1122…
JDGrimes Oct 7, 2017
964ec2c
Add sniff to check for alignment of assignment operators to `Core`
jrfnl Sep 8, 2017
de8044b
Fix up existing WPCS code / multiple statement assignment operator al…
jrfnl Sep 10, 2017
ebdf15e
Merge pull request #1184 from WordPress-Coding-Standards/feature/issu…
JDGrimes Oct 7, 2017
77da53f
StrictInArray: Allow for excluding warning when `false` is found
jrfnl Oct 8, 2017
fda229c
Merge pull request #1186 from WordPress-Coding-Standards/feature/stri…
JDGrimes Oct 9, 2017
6a63c10
Merge pull request #1136 from WordPress-Coding-Standards/feature/1122…
JDGrimes Oct 9, 2017
b195357
Merge pull request #1159 from WordPress-Coding-Standards/feature/make…
JDGrimes Oct 9, 2017
4bf659a
Improve fixes for PEAR.Files.IncludingFile.BracketsNotRequired
JDGrimes Sep 23, 2017
7dc2c16
:sparkles: Add new WhiteSpace.SemicolonSpacing sniff
jrfnl Oct 7, 2017
92e6f82
Merge pull request #1163 from WordPress-Coding-Standards/issue/1153
GaryJones Oct 10, 2017
c49845d
Core: Add `Generic.Functions.FunctionCallArgumentSpacing` sniff
jrfnl Oct 11, 2017
3bea576
Fix up issues in the WPCS codebase with the new FunctionCallArgumentS…
jrfnl Oct 11, 2017
cfce8cc
Merge pull request #1193 from WordPress-Coding-Standards/feature/issu…
JDGrimes Oct 11, 2017
1c8b969
:rocket: Travis: Add simple test for fixer conflicts to the build script
jrfnl Sep 8, 2017
4c9570e
Merge pull request #1196 from WordPress-Coding-Standards/feature/trav…
GaryJones Oct 12, 2017
1c6d8d3
:sparkles: New ArbitraryParenthesesSpacing sniff for Core
jrfnl Oct 12, 2017
b77cc71
Fix issues in the WPCS codebase found by the new WhiteSpace.Arbitrary…
jrfnl Oct 12, 2017
b2388b5
Merge pull request #1195 from WordPress-Coding-Standards/feature/new-…
GaryJones Oct 12, 2017
5d13fb7
PreparedSQL: fix sniff reporting on comments
jrfnl Oct 12, 2017
c2ef1fd
Improve flexibility for whitelist comments
jrfnl Oct 12, 2017
c3bb3b1
Merge pull request #1197 from WordPress-Coding-Standards/feature/impr…
GaryJones Oct 12, 2017
3c12ae3
Minor textual documentation change
michielheijmans Oct 13, 2017
0875c0a
Merge pull request #1198 from michielheijmans/patch-1
jrfnl Oct 13, 2017
f6bcab8
PreparedSQL: allow for safe casts
jrfnl Oct 18, 2017
3f1c0c0
Merge pull request #1203 from WordPress-Coding-Standards/feature/prep…
GaryJones Oct 19, 2017
4e2d191
AssignmentInCondition: add separate errorcode for assignment found in…
jrfnl Oct 20, 2017
d7d8e96
Merge pull request #1207 from WordPress-Coding-Standards/feature/assi…
JDGrimes Oct 20, 2017
8679270
PreparedSQLPlaceholders: minor improvements to the test case file
jrfnl Oct 3, 2017
e6542d3
PreparedSQLPlaceholders: add two more test cases involving invalid pa…
jrfnl Oct 21, 2017
9fb49b7
PreparedSQLPlaceholders: minor efficiency fix
jrfnl Oct 21, 2017
f21a956
PreparedSQLPlaceholders: bow out if the query is not passed as a stri…
jrfnl Oct 3, 2017
b81d341
PreparedSQLPlaceholders: prevent false positive on an escaped literal…
jrfnl Oct 21, 2017
8b9cd6d
PreparedSQLPlaceholders: prevent contradicting messages between this …
jrfnl Oct 21, 2017
e283992
PreparedSQLPlaceholders: throw warning on replacements/no placeholders
jrfnl Oct 3, 2017
f753b9e
PreparedSQLPlaceholders: add whitelist comment for replacement count …
jrfnl Oct 3, 2017
3bdd339
PreparedSQLPlaceholders: improved handling of queries using ` IN ` ic…
jrfnl Oct 18, 2017
0808729
PreparedSQLPlaceholders: improved handling of queries using ` LIKE `
jrfnl Oct 21, 2017
3d56647
PreparedSQLPlaceholders: documentation and message precision
jrfnl Oct 21, 2017
06c049f
Adapt message.
tfrommen Oct 22, 2017
26e2d2c
MultipleStatementAlignment: property name consistency
jrfnl Oct 22, 2017
f03bc53
Merge pull request #1208 from WordPress-Coding-Standards/feature/impr…
GaryJones Oct 23, 2017
2868cc3
Merge pull request #1210 from WordPress-Coding-Standards/feature/arra…
JDGrimes Oct 23, 2017
29a3cdd
PreparedSQLPlaceholders: do function name compares case-insensitively
jrfnl Oct 23, 2017
acbc5ce
Merge pull request #1211 from WordPress-Coding-Standards/feature/prep…
GaryJones Oct 23, 2017
e2b10b3
Readme: fix markdown for a link
jrfnl Oct 24, 2017
ec84689
Merge pull request #1214 from WordPress-Coding-Standards/feature/read…
GaryJones Oct 24, 2017
ca9fa1d
I18n: improve handling of "default" text-domain
jrfnl Oct 23, 2017
9282da8
Add WP_Ajax_UnitTestCase to \WordPress\Sniff::$test_class_whitelist
westonruter Oct 25, 2017
dfb2483
Add remaining WP subclasses of the PHPUnit TestCase class
westonruter Oct 25, 2017
615323e
Merge pull request #1213 from WordPress-Coding-Standards/feature/i18n…
GaryJones Oct 25, 2017
7e01921
Update EscapeOutputSniff.php
tfrommen Oct 25, 2017
f6bda9d
Merge pull request #1209 from tfrommen/patch-3
GaryJones Oct 25, 2017
108304e
Merge pull request #1216 from WordPress-Coding-Standards/add/whitelis…
JDGrimes Oct 26, 2017
1048575
Adapt message for unsafe _ex() function, and update test files.
tfrommen Oct 28, 2017
8fc2257
Merge pull request #1166 from tfrommen/patch-1
GaryJones Oct 29, 2017
3d65c3d
Naming Conventions: make exceptions for core hooks intended to be reused
JDGrimes Oct 30, 2017
c4bbf3a
Merge pull request #1217 from WordPress-Coding-Standards/feature/pref…
GaryJones Oct 31, 2017
484a99a
PreparedSQLPlaceholders: update for WP 4.8.3 changes
jrfnl Nov 1, 2017
9626e64
PreparedSQLPlaceholders: minor documentation update
jrfnl Nov 1, 2017
254b701
Merge pull request #1220 from WordPress-Coding-Standards/feature/prep…
JDGrimes Nov 1, 2017
35a3234
Changelog for 0.14.0
jrfnl Oct 24, 2017
130c0b9
Changelog/Readme/Contributing: Use the correct parent package name.
jrfnl Oct 25, 2017
02da032
Merge pull request #1215 from WordPress-Coding-Standards/feature/chan…
jrfnl Nov 1, 2017
8cadf48
Merge pull request #1165 from WordPress-Coding-Standards/develop
jrfnl Nov 1, 2017
346a6d6
PrefixAllGlobals: only recognize PHP native classes, don't try and au…
jrfnl Feb 13, 2018
f0aa329
Merge pull request #1301 from WordPress-Coding-Standards/feature/back…
GaryJones Feb 14, 2018
94585a1
Release 0.14.1
jrfnl Feb 15, 2018
cf6b310
Merge pull request #1302 from WordPress-Coding-Standards/feature/rele…
jrfnl Feb 16, 2018
c62ecaf
Merge branch 'master' into WPTRT/feature/update-forPHPCS-3.x-WPCS-0.14
jrfnl May 24, 2018
e52367e
DeprecatedWPConstants: Remove sniff in favour of WPCS sniff
jrfnl May 24, 2018
c1498bf
Leverage the WordPress_Sniff class for all sniffs
jrfnl May 24, 2018
6010d9c
Documentation: Fix two outdated & incorrect code samples
jrfnl May 24, 2018
0b3a38d
PHPCS 3.x compat: Ruleset: Make sure the complete sniff is included, …
jrfnl May 24, 2018
74d055e
PHPCS 3.x compat: Namespace all sniffs which extend from one of the W…
jrfnl May 24, 2018
f3af6ac
PHPCS 3.x compat: Fix all references to upstream PHPCS classes
jrfnl May 24, 2018
33d0188
PHPCS 3.x compat: Add autoload directive for the alias file
jrfnl May 24, 2018
462cc0e
PHPCS 3.x compat: Namespace all unit tests
jrfnl May 24, 2018
19de634
PHPCS 3.x compat: Remove test conditionals for PHP 5.2
jrfnl May 24, 2018
6624d5d
Minor code layout & code style fixes
jrfnl May 24, 2018
424dea3
Clean up: Remove `// end` comments
jrfnl May 24, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PHPCS 3.x compat: Add autoload directive for the alias file
The `<autoload>` ruleset directive was added in PHPCS 3.0.1 in response to issue squizlabs/PHP_CodeSniffer#1469
jrfnl committed May 24, 2018
commit 33d0188830ad19931b4a7d2aeb46ea07df70fee0
2 changes: 2 additions & 0 deletions WordPress-Theme/ruleset.xml
Original file line number Diff line number Diff line change
@@ -3,6 +3,8 @@
<!-- For more information: https://make.wordpress.org/themes/handbook/review/ -->
<description>Standards any Theme to be published on wordpress.org should comply with.</description>

<autoload>./../WordPress/PHPCSAliases.php</autoload>

<rule ref="WordPress.Theme"/>

<!-- No PHP short open tags allowed. -->