Re: [PHP-DEV] [RFC] [Vote] Readonly amendments

2023-02-07 Thread Máté Kocsis
Hi Everyone, The vote for the "Readonly amendments" RFC is closed with the following results: Proposal #1 (Non-readonly classes can extend readonly classes): The proposal was declined with 7 yes and 12 no votes (37%). Proposal #2 (Readonly properties can be reinitialized during cloning): The pro

Re: [PHP-DEV] [RFC] [Vote] Readonly amendments

2023-01-25 Thread Nicolas Grekas
Hi Matthew, > We've just opened the vote for the "Readonly amendments" RFC, which is > > going to be open for 2 weeks (until 2023-02-07). > > > > Link: https://wiki.php.net/rfc/readonly_amendments > > Discussion: https://externals.io/message/119007 > > > > I missed something when reviewing previo

Re: [PHP-DEV] [RFC] [Vote] Readonly amendments

2023-01-24 Thread Deleu
> > > > Mocking > > > > This isn't a terribly compelling argument. Readonly classes are typically > value objects; it's rare that you will mock them as they will be used as > messages or results, and you'll end up doing assertions against them — not > mocking them. > > Anything else it would enable

Re: [PHP-DEV] [RFC] [Vote] Readonly amendments

2023-01-24 Thread Christian Schneider
Am 24.01.2023 um 09:55 schrieb Máté Kocsis : > We've just opened the vote for the "Readonly amendments" RFC, which is > going to be open for 2 weeks (until 2023-02-07). > > Link: https://wiki.php.net/rfc/readonly_amendments > Discussion: https://externals.io/message/119007 I like the idea of more

[PHP-DEV] [RFC] [Vote] Readonly amendments

2023-01-24 Thread Máté Kocsis
Hi Everyone, We've just opened the vote for the "Readonly amendments" RFC, which is going to be open for 2 weeks (until 2023-02-07). Link: https://wiki.php.net/rfc/readonly_amendments Discussion: https://externals.io/message/119007 Regards, Máté Kocsis