phpstan-doctrine
phpstan-doctrine copied to clipboard
Fix Doctrine PropertiesExtensions
Property may be writable if it mapped by doctrine
Please write a test so that we can see what problem does this solve. You can get inspired by tests in https://github.com/phpstan/phpstan-doctrine/tree/1.3.x/tests/Rules/Properties
(You might have to write a new test for UnusedPrivatePropertyRule, I'm not sure.)
Feel free to open a new PR if you ever decide to finish it, thanks.