Property hooks is the first PHP feature where static analysis is a must. It's so easy to shoot yourself in the foot.
Here's a property with a set hook that does not actually assign value to the property which is suspicious.
PHPStan will report it as an error: