Commit Graph

32 Commits

Author SHA1 Message Date
Claudio Sanches 56888d334c Fixed typo 2017-11-21 10:47:42 -02:00
Claudio Sanches 914ebef337 PHPCS custom settings to support minimum WP version and text domain
Also makes sure that PHPCompatibility is looking for PHP 5.2+
2017-11-21 10:41:55 -02:00
Claudio Sanches fe21337203 Removed wc_format_decimal from escaping functions 2017-11-13 19:32:40 -02:00
Claudio Sanches c62c394ed3 Autoload PHPCS dependencies 2017-11-13 19:18:21 -02:00
Claudio Sanches 8e52dbaf26 Updated sanitization and escape functions on phpcs ruleset.xml 2017-11-13 17:30:22 -02:00
Claudio Sanches 3062dba4e5 Integrated PHPCompatibility with PHPCS
- Updated phpcs.ruleset.xml to exclude patterns and set installed_paths.
- Updated woocommerce/woocommerce-git-hooks to version 1.0.3
2017-11-09 16:32:04 -02:00
Gerhard Potgieter f9cff6e3f8 PHPCS Fixes. @claudiosanches Would you mind reviewing these as it is quite a lot of changes. 2017-10-20 10:24:56 -07:00
Claudio Sanches b4fbf5ccfc Allow all WordPress Code Sniffers 2017-10-17 13:43:02 -02:00
Mike Jolley 6a035995a6 Merge pull request #17108 from woocommerce/update/phpcs-i18n
PHPCS - Check for translatable strings placeholders
2017-10-09 19:45:47 +01:00
Claudio Sanches 9acd6e14b7 PHPCS - Check for translatable strings placeholders
This also ensure that each placeholder have a properly description.
2017-10-09 14:11:22 -03:00
Claudio Sanches 1e2ec87d65 PHPCS - Check for CSRF, sanitization and XSS.
This include `wc_clean()` into PHPCS sanitization functions list.
2017-10-09 14:07:09 -03:00
Claudio Sanches f4054e66ee Use only one ruleset file 2017-09-27 13:07:41 -03:00
Claudio Sanches 60c20754cc Updated PHPCS ruleset.xml removing discarted rules 2017-06-26 17:36:20 -03:00
Mike Jolley aacb01d1e7 Merge branch 'pr/13503'
# Conflicts:
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-layout.css
#	assets/css/woocommerce-layout.scss
#	assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley 83ca80d466 Spacing and rules 2017-03-21 13:14:51 +00:00
Aristeides Stathopoulos c34d9303e2 Enable test: Generic.ControlStructures.InlineControlStructure.NotAllowed 2017-03-07 20:29:43 +02:00
Claudio Sanches e567bf3472 Allow CodeSniffer throw alerts about wp_get_post_terms functions 2016-11-17 17:03:05 -02:00
Aristeides Stathopoulos 230c0398b3 fix failing test from master 2016-09-09 19:39:09 +03:00
Aristeides Stathopoulos 734f284fa4 WordPress.PHP.YodaConditions.NotYoda 2016-09-08 01:32:24 +03:00
Aristeides Stathopoulos 6ac7f03241 Generic.Formatting.DisallowMultipleStatements.SameLine 2016-09-02 06:40:52 +03:00
Aristeides Stathopoulos 9dc4949e0a Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis 2016-09-02 06:17:42 +03:00
Aristeides Stathopoulos 2346c3b735 Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace 2016-09-02 06:15:49 +03:00
Aristeides Stathopoulos 5280722f21 Squiz.Commenting.InlineComment.SpacingAfter 2016-09-02 05:47:24 +03:00
Aristeides Stathopoulos 15bec47475 Squiz.Commenting.InlineComment.NoSpaceBefore 2016-09-02 05:42:33 +03:00
Aristeides Stathopoulos cc0b29ccf4 PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket 2016-09-02 05:00:46 +03:00
Aristeides Stathopoulos d4e3faf014 PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket 2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos 8fe4cd65a4 PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket 2016-09-02 04:12:22 +03:00
Aristeides Stathopoulos f648657432 enabling more tests 2016-09-02 03:50:48 +03:00
Aristeides Stathopoulos fde1037757 fix failing tests. 2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos d2d41437f8 Add exception for Generic.PHP.DeprecatedFunctions.Deprecated 2016-08-27 20:52:31 +03:00
Aristeides Stathopoulos c0b43e6370 attempt to run PHPCS on travis 2016-08-27 17:18:14 +03:00