Hi Pedro, I think there is a misunderstanding: - accepted PSRs will not change - PSR-2 will not change, it does not define whether or not projects should use the Interface suffix so it's not affect, this is just an internal convention for the FIG - as a result nobody will have to change/break anything, this is only for future PSRs
About traits and the rest: I don't have an opinion about that really because the impact for consumers is much more restricted. The problem I see today is shown clearly by the middleware example (in the first email): names are ridiculously long and hard to read. This is an issue and we can solve it easily. I'd rather solve the main problem (Interface suffix) and don't let never- ending discussions about traits and abstract classes get in the way of improving the life of thousands of PHP developers with a single simple change (that's what I fear might happen). But that's just my opinion. Le Mar 16 août 2016, à 12:59, Pedro Cordeiro a écrit : > This is a huge breaking change. Just imagine how many CI servers are > going to explode due to sudden PSR2 violations when running phpcs. > > If I had a vote here, I'd vote -1, because: > > 1) Most projects can't refactor their APIs entirely due to SemVer (and > wouldn't even if they could, just to adhere to a styling standard). > This will make every major project non-psr2-compliant, and will > break its status as the de-facto standard. > 2) If that rule must change, just get rid of it. Do NOT force projects > to remove the suffix, just don't enforce the suffix anymore. That > would be a minor change, as it's more permissive and therefore > backwards compatible. > 3) Let's be consistent and use the same rule to interfaces, abstract > and traits (at least). > > - Pedro. > > -- > You received this message because you are subscribed to a topic in > the Google Groups "PHP Framework Interoperability Group" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/php-fig/Potawlu2CrQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > > https://groups.google.com/d/msgid/php-fig/eaae419c-b94e-49f9-a976-be05be3ece49%40googlegroups.com[1]. > For more options, visit https://groups.google.com/d/optout. Links: 1. https://groups.google.com/d/msgid/php-fig/eaae419c-b94e-49f9-a976-be05be3ece49%40googlegroups.com?utm_medium=email&utm_source=footer -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/1471346492.2973607.696711721.22DAC7B9%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout.
