phpstan-doctrine icon indicating copy to clipboard operation
phpstan-doctrine copied to clipboard

Fix Doctrine PropertiesExtensions

Open alexndlm opened this issue 3 years ago • 1 comments

Property may be writable if it mapped by doctrine

alexndlm avatar Sep 21 '22 14:09 alexndlm

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.)

ondrejmirtes avatar Sep 22 '22 09:09 ondrejmirtes

Feel free to open a new PR if you ever decide to finish it, thanks.

ondrejmirtes avatar Jun 30 '24 13:06 ondrejmirtes