[DISCUSSION][PSR-11] Type Updates

47 views
Skip to first unread message

Matthew Weier O'Phinney

unread,
Jan 25, 2021, 10:40:05 AM1/25/21
to php...@googlegroups.com
We've had a couple of PRs on the php-fig/container repository ready for the 1.1 and 2.0 releases, per the PSR Evolution bylaw (https://www.php-fig.org/bylaws/psr-evolution/).

https://github.com/php-fig/container/pull/20 would target 1.1, and adds parameter typehints, as well as updates exception interfaces to extend the Throwable interface.
https://github.com/php-fig/container/pull/28 would target 2.0, builds on #20, and adds return typehints.

As both David Negrier (original editor) nor Mathieu Napoli (current editor) have indicated they do not have time currently to push these forward, as a CC member, I'm opening the discussion period, and, in two weeks, will open a vote (assuming we have addressed any reported issues/problems with the patches).

--
he/him

Larry Garfield

unread,
Jan 25, 2021, 11:09:00 AM1/25/21
to PHP-FIG
Left one note on the second PR.

I think we also need a PR to the spec and metadoc to make a note of the change. (See the PSR-6/13 PR sets.)

--Larry Garfield

Matthew Weier O'Phinney

unread,
Jan 25, 2021, 11:37:03 AM1/25/21
to php...@googlegroups.com
Already did those in June last year: https://github.com/php-fig/fig-standards/pull/1215

It was what prompted the PHP Evolution bylaw discussion and ratification. :)

Larry Garfield

unread,
Jan 25, 2021, 11:57:16 AM1/25/21
to PHP-FIG
Ah good. That should be included in the vote explicitly. :-)

--Larry Garfield
Reply all
Reply to author
Forward
0 new messages