Re: [PHP-DEV] [RFC] make Reflection*#setAccessible() no-op

2021-06-13 Thread tyson andre
Hi Marco Pivetta, > I'm posting here to introduce a new simplification, as well as > quality-of-life-improving RFC: > > https://wiki.php.net/rfc/make-reflection-setaccessible-no-op > > The RFC is quite minimal, and proposes removing any runtime behavior from > `ReflectionMethod#setAccessible()`

Re: [PHP-DEV] [RFC] make Reflection*#setAccessible() no-op

2021-06-13 Thread Marco Pivetta
Hey Larry, On Sun, Jun 13, 2021, 20:46 Larry Garfield wrote: > I'm generally OK with it. The change makes sense. > > What I'm unclear on is why it's not including the actual deprecation. Not > doing that yet and having it just become a noop first seems fine, but it's > also clear that having i

Re: [PHP-DEV] [RFC] make Reflection*#setAccessible() no-op

2021-06-13 Thread Larry Garfield
On Sun, Jun 13, 2021, at 11:44 AM, Marco Pivetta wrote: > Hey folks, > > I'm posting here to introduce a new simplification, as well as > quality-of-life-improving RFC: > > https://wiki.php.net/rfc/make-reflection-setaccessible-no-op > > The RFC is quite minimal, and proposes removing any runtim

[PHP-DEV] [RFC] make Reflection*#setAccessible() no-op

2021-06-13 Thread Marco Pivetta
Hey folks, I'm posting here to introduce a new simplification, as well as quality-of-life-improving RFC: https://wiki.php.net/rfc/make-reflection-setaccessible-no-op The RFC is quite minimal, and proposes removing any runtime behavior from `ReflectionMethod#setAccessible()` and `ReflectionProper