[VOTE][PSR-11] Type Updates

72 views
Skip to first unread message

Matthew Weier O'Phinney

unread,
Feb 19, 2021, 9:31:03 AM2/19/21
to php...@googlegroups.com
Hi, everyone!

On 2021-01-25, I opened the discussion period around updating PSR-11 per the PSR Evolution bylaw (https://www.php-fig.org/bylaws/psr-evolution/). The discussion centers around three related proposals:

- https://github.com/php-fig/fig-standards/pull/1215 (the errata for the specification)
- https://github.com/php-fig/container/pull/20 (the first step of the evolution, adding argument typehints, and modifying defined exception interfaces to extend Throwable)
- https://github.com/php-fig/container/pull/28 (the second step of the evolution, adding return typehints where reasonable)

Since opening the discussion period, the main question was whether the second step should have the specification target PHP 8 in order to pick up the "mixed" type. Consensus is that we should target PHP 7 releases at this time, as this will allow libraries to adopt the changes faster. (As an example, we're only just now getting around to having laminas-servicemanager typehint explicitly against PSR-11 and not container-interop; we'll be able to jump to the latest versions of the spec immediately as a result.)

As the discussion period has passed the two-week minimum threshold, I now hereby open the vote.

+1 to merge the patches and create the new releases
-1 to leave things as-is
+0 to abstain

Thanks in advance, everyone!

--
he/him

Matthew Weier O'Phinney

unread,
Feb 19, 2021, 9:31:23 AM2/19/21
to php...@googlegroups.com
Clearly, +1 from me.

Massimiliano Arione

unread,
Feb 19, 2021, 9:32:11 AM2/19/21
to php...@googlegroups.com
+1

cheers
--
Massimiliano Arione



--
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 view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CAJp_myXRiwfuXYe0xawpy1yER-9z1Vz6nA0WLEwd%2B7kmV%3DhMqg%40mail.gmail.com.

Ben Edmunds

unread,
Feb 19, 2021, 9:42:42 AM2/19/21
to PHP Framework Interoperability Group
+1

Larry Garfield

unread,
Feb 19, 2021, 10:24:25 AM2/19/21
to PHP-FIG
+1

--
Larry Garfield
la...@garfieldtech.com
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/php-fig/CAJp_myVHMjmrQmk5LP_5rvdLYzbTPquQJSX%2BDE%2B2KS4UzbsJ2A%40mail.gmail.com <https://groups.google.com/d/msgid/php-fig/CAJp_myVHMjmrQmk5LP_5rvdLYzbTPquQJSX%2BDE%2B2KS4UzbsJ2A%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Enrico Zimuel

unread,
Feb 22, 2021, 3:10:38 AM2/22/21
to php...@googlegroups.com
+1

Regards,
Enrico Zimuel

--
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.

Matteo Beccati

unread,
Feb 22, 2021, 3:14:11 AM2/22/21
to php...@googlegroups.com
Hi,

+1


On 19/02/2021 15:30, Matthew Weier O'Phinney wrote:
> Hi, everyone!
>
> On 2021-01-25, I opened the discussion period around updating PSR-11 per
> the PSR Evolution bylaw (https://www.php-fig.org/bylaws/psr-evolution/
> <https://www.php-fig.org/bylaws/psr-evolution/>). The discussion centers
> mweiero...@gmail.com <mailto:mweiero...@gmail.com>
> https://mwop.net/ <https://mwop.net/>
> he/him
>
> --
> 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
> <mailto:php-fig+u...@googlegroups.com>.
> <https://groups.google.com/d/msgid/php-fig/CAJp_myVHMjmrQmk5LP_5rvdLYzbTPquQJSX%2BDE%2B2KS4UzbsJ2A%40mail.gmail.com?utm_medium=email&utm_source=footer>.


--
Matteo Beccati

Development & Consulting - http://www.beccati.com/

Woody Gilk

unread,
Feb 23, 2021, 12:08:32 PM2/23/21
to PHP Framework Interoperability Group

To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/ac445d18-548c-f4d8-8901-2c8a9d59c55e%40beccati.com.

Cees-Jan Kiewiet

unread,
Feb 25, 2021, 3:22:51 PM2/25/21
to PHP Framework Interoperability Group

Chuck Burgess

unread,
Feb 25, 2021, 3:42:13 PM2/25/21
to php...@googlegroups.com
+1

--
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.

Jan Schneider

unread,
Feb 26, 2021, 4:35:49 AM2/26/21
to php...@googlegroups.com

+1

Zitat von Matthew Weier O'Phinney <mweiero...@gmail.com>:

--


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 view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CAJp_myVHMjmrQmk5LP_5rvdLYzbTPquQJSX%2BDE%2B2KS4UzbsJ2A%40mail.gmail.com.




Jan Schneider
The Horde Project
https://www.horde.org/

Nikolaos Dimopoulos

unread,
Feb 26, 2021, 7:52:28 AM2/26/21
to PHP Framework Interoperability Group
+1

Nikolaos Dimopoulos
Phalcon Framework

Chris Tankersley

unread,
Mar 3, 2021, 10:22:06 AM3/3/21
to php...@googlegroups.com
+1

-Chris

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CAJp_myVHMjmrQmk5LP_5rvdLYzbTPquQJSX%2BDE%2B2KS4UzbsJ2A%40mail.gmail.com.


--
Chris Tankersley
http://ctankersley.com

Korvin Szanto

unread,
Mar 3, 2021, 1:40:35 PM3/3/21
to php...@googlegroups.com

Matteo Beccati

unread,
Mar 3, 2021, 1:43:06 PM3/3/21
to php...@googlegroups.com
+1

sorry for the delay


On 19/02/2021 15:30, Matthew Weier O'Phinney wrote:
> Hi, everyone!
>
> On 2021-01-25, I opened the discussion period around updating PSR-11 per
> the PSR Evolution bylaw (https://www.php-fig.org/bylaws/psr-evolution/
> <https://www.php-fig.org/bylaws/psr-evolution/>). The discussion centers
> mweiero...@gmail.com <mailto:mweiero...@gmail.com>
> https://mwop.net/ <https://mwop.net/>
> he/him
>
> --
> 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
> <mailto:php-fig+u...@googlegroups.com>.
> To view this discussion on the web visit

Alessandro Lai

unread,
Mar 5, 2021, 2:40:05 AM3/5/21
to PHP Framework Interoperability Group
Since all CC members voted, I'm closing this vote early.
The vote was unanimous, approving the change.
Reply all
Reply to author
Forward
0 new messages