Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent entity with accentuated names in make:entity #1379

Closed
olberger opened this issue Oct 21, 2023 · 2 comments · Fixed by #1474
Closed

Prevent entity with accentuated names in make:entity #1379

olberger opened this issue Oct 21, 2023 · 2 comments · Fixed by #1474
Labels

Comments

@olberger
Copy link

It seems that one can use accents (french ones for instance) in entity names, when using make:entity.

Even though PHP allows it, there are problems afterwards (with Doctrine, SQLite for instance).

It would probably be wise to filter input and refuse problematic characters in class/entity names.

Hope this helps.

And yes, I know... who in their right mind would be designing model entities with french vocabulary... newbees, obviously ;-)

@weaverryan
Copy link
Member

PR welcome to tighten this up :)

@vsyrovat
Copy link

IMO issue is not fully resolved, see #1474 (comment) for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants