-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
The Future of PHP_CodeSniffer #109
Comments
Thank you for the initiative As for your new org:
People have to switch over in a new minor or possibly major anyway, so just some thoughts regarding a cleaned up release that is future proof while still maintaining a bit of BC. |
Also free free to make a PR to switch out the repo on the PHP awesome list: https://github.com/php-collective/awesome-php |
... which is exactly why I didn't think a plain abandon would be a realistic scenario. It's not as if I didn't have enough on my plate already, but this feels like one of those "too big to fail" projects, so something needed to be done. Though I very much hope people will support this move and we'll see more regular contributors to the project (instead of drive-by contributors) as it shouldn't all depend on me.
Changing the license is not really an option. It would need permission from all past contributors, so I don't think that's realistic. I also don't really think there's anything wrong with the BSD3 license.
Agreed. PHPCS 4.0 was already announced to have a PHP 7.2 minimum and I think I'll stick to that for the time being. I will share posts with rough roadmap outlines and such once things quieten down a bit. First priority is getting 3.8.0 releeased. |
Thank you for all the work you do, @jrfnl! Should I copy the few open issues and PRs I had filed from the old repo, or should I hold off until you've done 3.8.0 and gotten other things more figured out? |
@anomiex Feel free to re-file your open issues/PRs in this repo. They won't go into the 3.8.0 release (only what I know is stable and ready for merge will), but I was going to ping you about them anyway ;-) |
PHP_Codesniffer is being abandoned by squizlabs. See: squizlabs/PHP_CodeSniffer#3932 (old org) PHPCSStandards/PHP_CodeSniffer#109 (new org) So it has been moved (copied, not transferred, not good, squizlabs) to the PHPCSStandards organisation. So this PR just moves us to start using the new organisation. Let's see how things evolve. It would be so great if the new one gets some support... (right now it's a 1-person project, basically).
That said: |
@dereuromark Sounds related to #7 and some other ideas I've had for a while, but never had the time to execute. I was thinking more along the lines of a proper website for PHPCS with:
In my mind, this would be a GH Pages website on the phpcodesniffer.com domain, with things like the sniff directory automatically updated via GH actions workflows on releases of the standards which are included. Similar for the non-sniff class docs. I already created a repo for it years ago, just never got round to filling it (though I do have some bits and pieces locally). If you are interested in collaborating on this, I'd welcome that! Maybe we could start with opening issues about ideas for such a site in the repo ? Not everything needs to be available from the start, we can take the time to start small and flesh the website out when time permits. |
Did you hear about: https://github.com/code-lts/doctum#readme |
Hi, I don't want to start a new issue and I have just one quick question - is there some plan to split packages - one for PHPCS and one package for every standard? So one can require only standards that are needed in his stack and every standard can be upgraded independently on the whole PHPCS? |
@forrest79 Not at this time. Having said that, I don't intend to accept new standards in the main repo anymore and intend to create those in separate repos which will contain a limited set of related standards. In a way, PHPCSExtra can be seen in that light, though that was originally a way to release sniffs which use PHPCSUtils and therefore couldn't be pulled to this repo, but for the future, think a PHPCSDocs package which will contain a PSR5 and a PSR19 standards (if ever I find enough time to get it done). |
OK, I understand. Thank you for a quick response, |
Repost from squizlabs/PHP_CodeSniffer#3932:
The text was updated successfully, but these errors were encountered: