Rename things which has names conflicting with PHP
RealyUniqueName opened this issue · comments
Aleksandr Kuzmenko commented
- Generated class names not use PHP keywords;
- Methods of classes in global namespace should not use the same name as class name unless those classes have real constructor defined.
Everything which starts with $
is allowed to use keywords
So the task is:
- Rename class names which are keywords;
- Force constructor generation on each class;