-
Notifications
You must be signed in to change notification settings - Fork 118
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
Generator vs new phpcs.xml.dist file #54
Comments
@jrfnl It doesn't! Good catch. We should adjust that. |
Hi @davidakennedy I've just looked over your commit and it looks like you are excluding the To be honest, I would like to suggest to include it in the download and to adjust any references to |
Ah, my fault @jrfnl! I thought that's what you wanted to do here. Will add back, as I agree it could be good to expose people to from an education standpoint. We should maybe add a comment at the top of the file explaining what it's for, and how themers could use it? |
* Also, removes unneeded `rel="designer"` attribute. See #54
@davidakennedy No problem.
That would be a PR to make in As for the replacement issue: I've just done a test download and the original issue why I opened this ticket is still there: The <rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="_s" />
</properties>
</rule> |
how to use this file? I already installed code sniffer via composer |
@redefinered Go to the root of your project and try this: Mind: as this issue has not been fixed yet, you will probably need to adjust the |
I haven't checked this yet, but
_s
now contains aphpcs.xml.dist
file with references to the name_s
as well, so I'm wondering if the generator handles this case.See: https://github.com/Automattic/_s/blob/master/phpcs.xml.dist#L36
The text was updated successfully, but these errors were encountered: