Skip to content

notify-batch key, rebase #246 #275

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

Merged
merged 2 commits into from
Dec 3, 2015

Conversation

JamesRezo
Copy link
Contributor

see #66 and #246 + Unit tests

$this->root = $this->setFileSystem();
}

protected function setFileSystem()
Copy link
Member

Choose a reason for hiding this comment

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

It's better to make this method return the filesystem stream instance. Using side-effects (e.g. changing state instead of returning something) is generally a bad idea.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, ok about side-effect/change state, but I didn't find a way to change the code that way. Then, i simplified removing the method...

alcohol added a commit that referenced this pull request Dec 3, 2015
@alcohol alcohol merged commit 68ba914 into composer:master Dec 3, 2015
@alcohol
Copy link
Member

alcohol commented Dec 3, 2015

Cheers

@JamesRezo JamesRezo deleted the feature/notify-batch/rebase246 branch December 4, 2015 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants