Re: [VOTE][PROJECTS][BYLAW] PSR evolution

2019-11-12 Thread Siad Ardroumli
+1 from Phing -- 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+unsubscr...@googlegroups.com. To view this discussion on the web vi

Re: [VOTE][PROJECTS][BYLAW] PSR evolution

2019-11-12 Thread 'Alexander Makarov' via PHP Framework Interoperability Group
+1 from Yii framework. On Monday, November 11, 2019 at 12:49:12 PM UTC+3, Alessandro Lai wrote: > > Hello everyone, > after a long review phase of my PR and multiple fixes and amendments, I > think it's now ready: > > https://github.com/php-fig/fig-standards/pull/1195 > > The PR adds a new docum

Re: [VOTE][PROJECTS][BYLAW] PSR evolution

2019-11-12 Thread Chuck Burgess
+1 from PEAR On Mon, Nov 11, 2019, 03:49 Alessandro Lai wrote: > Hello everyone, > after a long review phase of my PR and multiple fixes and amendments, I > think it's now ready: > > https://github.com/php-fig/fig-standards/pull/1195 > > The PR adds a new document that addresses the issue of upg

Re: [VOTE][PROJECTS][BYLAW] PSR evolution

2019-11-12 Thread Matthew Weier O'Phinney
+1 from Zend Framework (soon to be Laminas!) On Mon, Nov 11, 2019 at 3:49 AM Alessandro Lai wrote: > Hello everyone, > after a long review phase of my PR and multiple fixes and amendments, I > think it's now ready: > > https://github.com/php-fig/fig-standards/pull/1195 > > The PR adds a new docu

Re: HttpFactoryInterface maybe? (PSR-17)

2019-11-12 Thread Matthew Weier O'Phinney
On Mon, Nov 11, 2019 at 5:16 PM Anton Fedonjuk wrote: > It's shortes and guarantees full support PSR-7, PSR-17: > setHttpFactory(HttpFactoryInterface $factory); > getHttpFactory(): HttpFactoryInterface; > > now: > setRequestFactory(RequestFactoryInterface $factory); > getRequestFactory(): Request

Re: [VOTE][CC][BYLAW] PSR evolution

2019-11-12 Thread Nikolaos Dimopoulos
+1 Thank you On Monday, November 11, 2019 at 4:48:24 AM UTC-5, Alessandro Lai wrote: > > Hello everyone, > after a long review phase of my PR and multiple fixes and amendments, I > think it's now ready: > > https://github.com/php-fig/fig-standards/pull/1195 > > The PR adds a new document that

Re: [VOTE][CC][BYLAW] PSR evolution

2019-11-12 Thread Jordi Boggiano
+1, thanks! On 11/11/2019 10:48, Alessandro Lai wrote: Hello everyone, after a long review phase of my PR and multiple fixes and amendments, I think it's now ready: https://github.com/php-fig/fig-standards/pull/1195 The PR adds a new document that addresses the issue of upgrading the code o

Re: PSR-17: HttpFactoryInterface maybe?

2019-11-12 Thread Alessandro Lai
It also more importantly violates another SOLID principle, the I (interface segregation): having separate interfaces doesn't stop the implementers from having a single service that implements them all. So forcing that merge through a PSR interface is uncalled an not needed at all. Il giorno mar

Re: PSR-17: HttpFactoryInterface maybe?

2019-11-12 Thread 'Alexander Makarow' via PHP Framework Interoperability Group
What do you mean by autodetect? There are interfaces for factories already. You can type hint as necessary, you can replace implementation. It already promotes creating message via individual interfaces such as ResponseFactoryInterface. It's not a good idea to inject general HttpFactoryInterface a