{"action":"opened","issue":{"number":2473,"created_at":"2011-10-25T17:28:41Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"doctrine:generate:entities does not seem to update the setter from my generated class, i've reproduced it twice.\r\n\r\nsteps to reproduce:\r\n1. add a new field to your entity.orm.yml, by accident, i used type bool instead of boolean\r\n        isCompany:\r\n            type: bool\r\n2. execute doctrine:generate:entities\r\n3. review the generated code, the setter looks like that, which is invalid php:\r\npublic function setIsCompany(\\bool $isCompany)\r\n4. change type from bool to boolean\r\n5. run doctrine:generate:entities again\r\n6. review the code again: nothing has changed, still broken code.\r\n7. only solution is to remove the broken setter manuelly, then doctrine:generate:entities creats it correctly.\r\n\r\nLinux 64 Bit, php 5.3.8, symfony 2.0.4.","comments":0,"title":"doctrine:generate:entities not updating type of setter","updated_at":"2011-10-25T17:28:41Z","url":"https://api.github.com/repos/symfony/symfony/issues/2473","id":2047466,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/aba500671c9b41908378c3cc8f77f778?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"aba500671c9b41908378c3cc8f77f778","url":"https://api.github.com/users/bhelm","id":769791,"login":"bhelm"},"html_url":"https://github.com/symfony/symfony/issues/2473","labels":[],"state":"open"},"legacy":{"number":2473,"action":"opened","issue":2047466}}