[wp-meta] [Making WordPress.org] #2902: Add PHPCS to theme upload process
Making WordPress.org
noreply at wordpress.org
Tue Jun 27 17:37:20 UTC 2017
#2902: Add PHPCS to theme upload process
----------------------------+------------------
Reporter: grapplerulrich | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Theme Review | Resolution:
Keywords: has-patch |
----------------------------+------------------
Changes (by grapplerulrich):
* keywords: => has-patch
Comment:
I have been working on a way of getting the new theme sniffs onto
WordPress.org
I have added a few file `sniff.php` to Theme-Check which will only be used
on w.org. https://github.com/WordPress/theme-check/commits/feature/new-
sniffs
I have also tested the code to integrated the checks in the upload
process. I have removed the testing of JS files for the time being. Only
errors will be checked for the moment so there will be no warnings from
the sniffs.
https://github.com/grappler/meta-
environment/commit/917e13e9abf2c927c0f24f8a1b64a1c4bbac0238
To be fair the code could be better but I think we should get a version of
w.org and then see how that goes and work from there.
For developers I think it is better for theme authors to use
https://github.com/WPTRT/ns-theme-check/ for the time being.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2902#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list