2.0.0
This release switches from having WordPress Coding Standards (WPCS) 1.*
as a dependency, to WPCS 2.*
.
It is not compatible with WPCS 1.*
.
The sniffs in WPCS 2.*
are more accurate, so you may see new violations there weren't being reported before, and a reduction in violations for false positives.
Added
- Switch to using WPCS
2.*
.- Remove reference to WPCS's
PHPAliases.php
. - Remove WPCS
1.*
'sWordPress.VIP
references from rulesets. - Bump PHPCS minimum required version to 3.3.1.
- Update the WPCS namespace.
- Update ruleset and ruleset test to account for WPCS 2's switch to
WordPress.PHP.IniSet
sniff. - Update ruleset test for WPCS security sniffs.
- Update
DiscouragedPHPFunctions
group exclusion inWordPressVIPMinimum
ruleset.
- Remove reference to WPCS's
Changed
- Downgrade use of file operation functions from Error to Warning:
delete
file_put_contents
flock
fputcsv
fputs
fwrite
ftruncate
is_writable
is_writeable
link
rename
symlink
tempnam
touch
unlink
fclose
fopen
file_get_contents
- Simplify Travis config.
- Switch references from
vip.wordpress.com
towpvip.com
. - Documentation updates.
- Switch development to a
git-flow
workflow.