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

Fix capital app folder #2

Merged
merged 3 commits into from
Oct 4, 2017
Merged

Fix capital app folder #2

merged 3 commits into from
Oct 4, 2017

Conversation

palypster
Copy link
Contributor

No description provided.

Copy link
Contributor

@dejwCake dejwCake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks OK.

Copy link
Contributor

@dejwCake dejwCake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need changes

@@ -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";
Copy link
Contributor

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.

@palypster
Copy link
Contributor Author

@dejwCake refactor, please have a look

@palypster palypster merged commit d312f25 into master Oct 4, 2017
@palypster palypster deleted the fix-capital-app-folder branch October 14, 2017 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants