[PHP-DEV] Re: [RFC] [VOTE] Make constructors and destructors return void

2020-07-22 Thread Benas IML
Hey internals, I have closed the vote. The RFC was declined with 34 in favor and 22 against. Best regards, Benas On Fri, Jul 3, 2020, 12:12 AM Benas IML wrote: > Hey internals, > > I have opened the voting for the RFC, let's hope everything is going > to be smooth :). If you have any other

Re: [PHP-DEV] Re: [RFC] [VOTE] Make constructors and destructors return void

2020-07-09 Thread Peter Bowyer
On Thu, 9 Jul 2020 at 14:52, Benjamin Eberlei wrote: > For me the RFC vote should be "allow to dcelare return types on > constructors/destructors?", then people *can* declare void, but *can* also > declare other things, but nothing *must* be done. Then it becomes a > question of coding styles

Re: [PHP-DEV] Re: [RFC] [VOTE] Make constructors and destructors return void

2020-07-09 Thread someniatko
> I think going from forbidding > return types on ctors to requiring them to be void is one step to far. I am afraid you've slightly misunderstood the intention of this RFC. It is proposed that it is impossible to return anything from the constructor, not that you have to add ": void" to it. --

Re: [PHP-DEV] Re: [RFC] [VOTE] Make constructors and destructors return void

2020-07-09 Thread Benjamin Eberlei
On Wed, Jul 8, 2020 at 10:15 PM Benas IML wrote: > Hey internals, > > I have reopened the voting. It is going to close July 22nd, 2020. I have > also > added a "Why allow void return type on constructors/destructors?" section > which > I hope internals are going to read and consider before

[PHP-DEV] Re: [RFC] [VOTE] Make constructors and destructors return void

2020-07-08 Thread Benas IML
Hey internals, I have reopened the voting. It is going to close July 22nd, 2020. I have also added a "Why allow void return type on constructors/destructors?" section which I hope internals are going to read and consider before voting. Thanks! RFC: https://wiki.php.net/rfc/make_ctor_ret_void

[PHP-DEV] Re: [RFC] [VOTE] Make constructors and destructors return void

2020-07-06 Thread Benas IML
Hey internals, I have updated the RFC with 2 changes: 1. Made the RFC target PHP 9.0 for enforcing `void` rules implicitly. 2. Added a secondary vote for allowing explicit `void` return type declaration. I will be opening the vote again on Wednesday (July 8th). Best regards, Benas On Fri, 3

[PHP-DEV] Re: [RFC] [VOTE] Make constructors and destructors return void

2020-07-03 Thread Benas IML
Hey internals, I closed the vote and will be restarting it tomorrow since the secondary vote breaks the policy (no BC breaks in minor versions). I will update the RFC and open it tomorrow (July 4th) again. Best regards, Benas Seliuginas -- PHP Internals - PHP Runtime Development Mailing List