-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
PSR-PER 2.0.0 has been released #29
Comments
Semantic point but I would second @kenguest's suggestion of naming and referring to the repo and standard as |
No PER standard as deault available. See PHPCSStandards/PHP_CodeSniffer/issues/29
Gentle reminder, @jrfnl, that there is a migration document detailing the differences between PSR-12 and PER-CS v2 at https://github.com/php-fig/per-coding-style/blob/master/migration-2.0.md should it need to be consulted for supporting PER-CS in PHP CodeSniffer. This link hadn't been copied over from the squizlabs/phpcs ticket that I filed over a year ago. |
@kenguest Yes, that comment was posted in the gap between when I opened this issue and the official take-over announcement, which is why it wasn't copied over. I'd actually been thinking off this issue not too long ago. If it wasn't clear from the above, my preference would be for this new repo to be run by a team of ~two maintainers, with me available in the background for consultation when needed. The "vacancy" description for these roles would be as follows: Tasks:Initial set up of the PER-CS repo
Continued maintenance of the PER-CS repo
Optional additional tasks (time and skills permitting)
Time investmentFor the initial setup, I'd estimate approximately a week's work. PlanningThe call for volunteers for the above is open. If anyone is interested, but wants help getting started, I'm happy to plan a few pairing sessions via videocall to help with the initial setup. If there are several people who are potentially interested, but not yet sure if they are up for it, I'd be open to a mob programming session to help people get more familiar with the moving parts/answer any questions/explain whatever needs explaining. Call to actionAnyone who is interested in getting involved with this, please, please leave a comment on this ticket. |
@jrfnl Any update on this issue? Have you managed to setup a new PER-CS repo or find someone who willing to volunteer? |
@stankarp If there had been volunteers, you would have seen their comments in this ticket (or a comment by me that people had reached out privately), so no progress so far, unfortunately. My offer to help get this off the ground with some videocalls to get the maintainers started is still open. |
@jrfnl I'm considering supporting this. I do not have loads of spare time, but I would love to work on this. According to your 'to do' list above, my first question would be. Is this desirable in a separate repo, or integrated into this repo? |
That would be great! It will be in a separate repo, but, as far as I'm concerned, the repo will be in the PHPCSStandards organisation. The reasons for having a separate repo is quite straight-forward:
Does that answer your question ? |
Fair enough. PER 1.0.0 is identical to PSR-12, so this will be an "easy fix". What is a good approach to get started? Start a repo under my own name and then migrate later to the PHPCSStandards organisation? |
Correct, PER 2.0.0 is the bit which needs work (and setting up the repo and CI etc).
grin I actually already created a private repo in this organisation for it. Let me see if I can invite you to that. Would you like to set up a call to talk things through ? If so, probably best to sort that out off-GH. You can DM me on Mastodon, X or - seeing your location - on the PHPNL Slack. |
I'll get in touch tomorrow to schedule something. :-) |
I don't have too much spare time but willing to help out on some of the work. |
I am also interested in helping with at least some of the work to get this up and running |
@VSlokker @aurimasbutkus Thank you both for your offer to help with this. To get you started, would it help to schedule a call ? Could you both DM me on Mastodon or X to schedule something ? If there is anyone else watching this ticket who would like to join the call, please do the same. As mentioned above, the standard will be developed in a separate repo. @rikvdh made a start with this, but has had to step back. |
Repost from squizlabs/PHP_CodeSniffer#3793:
@kenguest asked:
I replied:
@kenguest replied:
My current line of thinking on this is as follows:
PER-200
, to prevent it from becoming a moving target failing builds at random.Each ruleset can include the previous version and build on top of that.
PER-latest
, which would include the ruleset for the current version and would need to be updated each time a new version is added.PSR-PER
.PSR-PER
repo would only contain rulesets, not sniffs.The text was updated successfully, but these errors were encountered: