False positive for $this
fgm opened this issue · comments
The analyzer warns that $this is undefined even when used in a non-static method in a Trait, although the code can only be reached if there is an instance of an object carrying the trait, hence a valid value for $this.
Scrutinizer issue, not related to the module.