You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If someone can help to gather the list of all possible words, I can whip up a PR addressing the issue.
My approach would be to ask() the user about a possible prefix in this case to avoid the collision (prefix defaulting to "Migration"), or allow aborting.
If continue, it would then use e.g. "MigrationNew" and that would be fine.
The text was updated successfully, but these errors were encountered:
Is this really a problem we should fix or prevent from happening?
Naming things is hard and if a developer really thinks naming anything just New is going to be a good choice, I'd question his decision making. Even if he/she is a novice.
Apart from that, I wouldn't try to gather all possible reserved keywords beforehand.
The list provided by https://www.php.net/manual/en/reserved.php is already a good start.
Anything beyond that can be added any time.
Pre- or Suffixing is possible way. Personally, I would prefer suffixing, as the name is more important than the added filler word.
This is a (multiple allowed):
When trying to generate it, it throws this at the end
I guess it is mainly about this list? https://www.php.net/manual/en/reserved.php
If someone can help to gather the list of all possible words, I can whip up a PR addressing the issue.
My approach would be to ask() the user about a possible prefix in this case to avoid the collision (prefix defaulting to "Migration"), or allow aborting.
If continue, it would then use e.g. "MigrationNew" and that would be fine.
The text was updated successfully, but these errors were encountered: