--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/php-fig/-/FhMY5GBuTkcJ.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/php-fig/-/FqN6WtaczeoJ.
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/php-fig/-/42VySZHp4s0J.
To propose a standards recommendation (PSR):
- fork this repo, create a branch, checkout that branch, add the PSR in proposed/, push the branch to Github, and send a pull request; or,
- create a ticket to start a discussion on Github; or,
- start a conversation on the mailing list.
Adding a CONTRIBUTING.md file to the repo would probably help with this, since it adds a yellow notice to the top of the "new issue" and "new pull request" forms:
<image.png>--j
regards
Lukas
Jordi Boggiano <j.bog...@seld.be> wrote:
Would it make sens just to amend the current PSR2 to say 4 spaces or 1 tab with 4 sppaces width? Or similar. That way we could finally finish this out and focus on so many other things that need more energy :)
In terms of public relations, I think it's extremely unhelpful that the reply is becoming "if you don't like PSR-2, just ignore it", even from voting members. What are we trying to say? PSR-2 is set in stone until the age where AI's write our software? Only someone who sits on the "average" line will count?
I would hope that this group chooses to be a little more progressive than ratifying what most people do (standard by survey, anyone can do that?). In my view it would be far better to strive to see how we can bring the PHP community closer together. Are there ways that we can bring eZ, Drupal, Joomla and others over the line with PSR-2 by introducing some flexibility? Or was the vote the vote and we don't give a flying fig (pun intended) about it anymore.Like it or not, there are people looking at the PSR's seriously and it's causing tensions within vendor communities. You don't have to bow to everyone's demands, by all means ignore those that are rude and indignant (and that's sugar coating it), but people should feel they are able to have a say and that the voting members take their responsibilities seriously and listen to them.Regards,
Andrew Eddie
I've submitted this PR https://github.com/php-fig/fig-standards/pull/91 in order to change the current PSR-2 and stop all this drama.
Since I'm not a member of PHP-FIG, I ask one to champion this and propose it to voting.If there's anything else to fix on this, let me know or send a PR.
I've submitted this PR https://github.com/php-fig/fig-standards/pull/91 in order to change the current PSR-2 and stop all this drama.
Since I'm not a member of PHP-FIG, I ask one to champion this and propose it to voting.If there's anything else to fix on this, let me know or send a PR.
THE WIDTH OF TABS DOES NOT MATTER.
There MUST NOT be a hard limit on line length; the soft limit MUST be 120 characters; lines SHOULD be 80 characters or less.
There MUST NOT be a hard limit on line length; the soft limit MUST be 120 characters; lines SHOULD be 80 characters or less.
Ladies and gentlemen,
If you are interested in coding style discussions, please join the CS group here:
https://groups.google.com/forum/#!topic/php-fig-cs/
Where is the CS list? I'm "here", and I can't see a way "there". It is kind of easy to get lost here with lists here and there, pull requests and discussions seemingly all over the place.
Thanks. I wasn't trying to be funny about that, and I guess it is difficult when using Google Groups, as you have no control over the menus and navigation.
I suddenly have this image of Andrew Eddie "Hulking out" in front of his keyboard.
> Even more insane are the people that recommend changing huge codebases> simply to be compliant. Take for example WordPress, where we had an
> issue filed that wanted us to change to PSR-2. WordPress has an
> established coding standard already, and we have nothing to gain from
> changing. It would be a huge change that would touch every part of
> WordPress (tabs -> spaces, { -> \n{, etc) so the pain much outweighs the
> gain). Yet, people still debate with me on the "merits" of switching.
That's simply not true. It's just a single command to convert, made even easier with https://github.com/fabpot/PHP-CS-Fixer
That's simply not true. It's just a single command to convert, made even easier with https://github.com/fabpot/PHP-CS-FixerGiven this, the discussion should stop here, I guess.
--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Would it make sens just to amend the current PSR2 to say 4 spaces or 1 tab with 4 sppaces width? Or similar. That way we could finally finish this out and focus on so many other things that need more energy :)
On Feb 26, 2013 11:43 PM, "Lukas Kahwe Smith" <sm...@pooteeweet.org> wrote:I think if enough people think it makes sense more power to them. or they can just say we are compliant with PSR-2 but with tabs. problem solved.
regards
Lukas
Jordi Boggiano <j.bog...@seld.be> wrote:
>I don't have much time here, nor do I want to spend much time discussing
>this, but here are my two cents.
>
>The only way I think we can get out of this mess for good is having a
>new PSR which is PSR-2 with tabs.
>
>Then everyone will be able to pick between PSR-2 and PSR-N as the coding
>style they want to recommend. Either being fine by us, as long as people
>remain consistent within their own project I don't see why anyone would
>give a damn which of the two they use?
>
>Can someone that cares about tabs push this forward or am I not making
>any sense here?
>
>Cheers
>
>--
>Jordi Boggiano
>@seldaek - http://nelm.io/jordi
@AndrewEddie - With respect, adding more changes to the mix, beyond dealing with Tabs -vs- Spaces just makes it much harder. IMO, keep it separate, for many it's already feeling like the walls are going to fall around us.
Referring to the additional small changes to PSR-2 you are recommending. I think it could cause an implosion to do more than deal w tabs-and-spaces (although I'm not even certain that'll happen).
That would be a discussion to continue on the CS list and those comments were (feels like?) days ago now. At the moment I'm really only interested in expending any remaining energy I have getting the PSR process right. Otherwise, my only remaining interest in PSR-2 is to design a "Voted against PSR-2 and proud of it" t-shirt (I think I'd be able to sell a few), plus follow Larry's advice and just forget the stupid thing even exists. I actually feel quite liberated reaching this state of elevated consciousness :)
The negative attitude is not necessary, really.
I really like that he's seeing PSR-2 as more viable.
Ok, sorry Andrew. I have not read the CS threads. Misunderstood. Sad if that means the t-shirt is out. But, moving on!
To be honest, I am hearing that most projects have a "flavor" of PSR2 but that no one is completely adopting it. I have no idea if that is true or not but it's possible you are complying as closely as anyone else. Not sure.