Skip to content
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

Add PHP Coding Standards configuration #167

Open
lkraav opened this issue Jan 2, 2019 · 3 comments
Open

Add PHP Coding Standards configuration #167

lkraav opened this issue Jan 2, 2019 · 3 comments
Assignees
Milestone

Comments

@lkraav
Copy link

lkraav commented Jan 2, 2019

In the spirit of themehybrid/mythic#7 it's probably time here as well?

@justintadlock
Copy link
Member

Considering that I write about 99% of all code that goes into HC, I'm not too keen on the idea of putting together something that I don't really use. Perhaps when I've started using it more in other projects, I might want to use it more with HC. But, right now, it's extremely low on the priority list.

If I decided to move in this direction, I'd probably want to have a written set of coding standards that I follow (it's a mix of PSR-1,2 and WP). That'd give something to build a configuration file from.

@saas786 saas786 self-assigned this Mar 9, 2021
@saas786 saas786 modified the milestones: 6.0.0, 6.1.0 Mar 11, 2021
@saas786
Copy link
Contributor

saas786 commented Jun 11, 2022

Close this as well, unless and until its decided to have PHPCS.

@szepeviktor
Copy link

This is a useful frankenstein
https://github.com/szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset

  1. formatting from PSR-12
  2. security from Neutron -> WPCS
  3. extra benefit from Slevomat

I hope everyone will love it! 😍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants