Closed desaiuditd closed 9 years ago
Also, let me know if any changes are required.
Hi, Can I know by when this will be merged in master branch ?
I can't get phpcs installed: https://www.evernote.com/shard/s2/sh/5f37d8b7-80d8-4736-9499-cce76626cf85/74805563a881353cfb2b472f52ee163c - also, PHP Code Sniffer needs installing. Can you confirm these items are working properly and submit a new PR?
Much thanks.
Did you try re-installing npm packages ? I did not face such issues.
What I did was as follows:
gulp-phpcs
in package.json
of some-like-it-neat.npm install
. It installed all packages correctly.gulp
.Since I had already installed PHP Code Sniffer in my local, it gave output correctly. You will need to install PHP Code Sniffer explicitly. Because that is something I thought should be handled via Yeoman Generator on project initialization. So I've handled it there using composer. You can see here and here
Okay, my local gulp and node installs were at issue and I have resolved them. I did get phpcs installed and I believe it's all right. I pushed my updates to the development branch. Can you do a quick pull to verify? Also, how can I test that phpcs is working properly?
Sure thing. I'll take a dry run.
You just execute gulp
command. I've added phpcs task into watch. So it will scan for Code Sniffer errors.
You also might need to install WordPress Coding Standards with Code Sniffer
I'm reviewing development branch for phpcs. I've few changes to make. I'll send another PR for that.
Hey @digisavvy,
I've added phpcs support in the theme. Please review it.
In order to do so, I had to fix few of the phpcs errors in the theme code. So I've done that as well. So in this PR code is clean according to
WordPress-Core
coding standards from WordPress-Coding-StandardsLet me know your thoughts on this.