Webonaute / DoctrineFixturesGeneratorBundle

Generate Fixture from your existing data in your database. You can specify the Entity name and the IDs you want to import in your fixture.
63 stars 47 forks source link

Single quotes don\'t get escaped in fixture generation #34

Closed ghost closed 7 years ago

ghost commented 7 years ago

Single quotes don\'t get escaped in fixture generation causing syntax error when loading fixture later on

Webonaute commented 7 years ago

how it can generate error when they are inside a string surrounded by double quote?

Please can you provide a table exemple?

ghost commented 7 years ago

sorry wasn't on the simple string, but on the unserialise where it uses single quotes

Webonaute commented 7 years ago

ok thank. I approved the pull request. sorry for the delay.