> 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