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
More refactoring for AutoloadGenerator #2298
More refactoring for AutoloadGenerator #2298
Conversation
…actored out into AutoloadGeneratorHelper.
… of just creating the code.
…y being used in dumpAutoloadRealFile(), it just wasn't an explicit property)
… 2. Fight paramter madness by introducing a AutoloadGenerationTask lazy value container.
|
@Seldaek: Please don't merge this as-is. I want to clean up the git history (rebase) and we probably want to rename some methods.. |
|
And merging with master is going to be fun... |
| { | ||
| // Add custom psr-0 autoloading, if the root package has a target dir. | ||
| $mainAutoload = $this->mainPackage->getAutoload(); | ||
| if (1 |
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.
what is this for? :)
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.
to line up the && nicely, and make it easy to rearrange conditions.. similar to the comma after a last element in an array.
i don't insist on it.
Follow-up to the refactoring PR for AutoloadGenerator. #2142
Goal: