-
Notifications
You must be signed in to change notification settings - Fork 37
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
Fix capital app folder #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need changes
src/Generate/ClassGenerator.php
Outdated
@@ -66,7 +66,7 @@ protected function getArguments() { | |||
abstract protected function buildClass(); | |||
|
|||
public function getPathFromClassName($name) { | |||
return str_replace('\\', '/', $name).".php"; | |||
return str_replace(['\\', 'App/'], ['/', 'app/'], $name).".php"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could also change app in the middle of namespace. That is not correct.
@dejwCake refactor, please have a look |
No description provided.