Now we have a warning:
Undefined property: MyClass::$myProperty PHP(PHP0416)
Will be good to attach to it a code action to it "Add the property to the class" which will add the property automatically.
If this is already possible now, please explain how.