[Fixed] PHP close tag at end of class

0 votes
asked Nov 15, 2012 in Solved by anonymous
recategorized Dec 20, 2012 by ludek.vodicka

When I export my design to Doctrine2 entities a PHP close tag is being added to the end of my class. I don't like that, it's best practice not to do so. Is this a bug or do you have another point of view?

2 Answers

0 votes
answered Dec 5, 2012 by ludek.vodicka Skipper developer (140,450 points)
0 votes
answered Nov 15, 2012 by ludek.vodicka Skipper developer (140,450 points)

Our first annotations export was done with ending ?> tags, but after some discussions with testers we decided to remove it. It seems that we missed some settings.

Could you please be more specific when this closing tags appears, so we can reconfigure it?

Thank you for report!
Ludek

commented Nov 16, 2012 by anonymous

I use the portable windows version. Import a new project with framework Symfony (1) and ORM Doctrine2, using annotations for schema definitions. Change something in one of the entities (e.g. length of a string field). Click export. It saves the class immediately (a notice would be nice, but that's another discussion ;-)) and there the ?> tag appears at the end of my file. Hope this will help!

commented Nov 16, 2012 by ludek.vodicka Skipper developer (140,450 points)

Thank you for detailed description! I see the problem here too.

Regarding to your comment about missing notice, we know about it and it's one of our next todos.

commented Nov 16, 2012 by ludek.vodicka Skipper developer (140,450 points)

Issue fixed and prepared to deploy on next release.

...