Re: Re: [RFC] Constructor Property Promotion

From: Date: Wed, 29 Apr 2020 07:46:46 +0000
Subject: Re: Re: [RFC] Constructor Property Promotion
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-109906@lists.php.net to get a copy of this message
> I think it might be best to apply to "both" and provide an isPromoted() > method on both ReflectionParameter and ReflectionProperty. Any code that > wishes to validate the allowed positions of an attribute can then skip > properties/parameters that report isPromoted() as true, to avoid reporting > false positives. > That sounds good. Deal on my side. Nicolas

« previous php.internals (#109906) next »