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

Support for user defined comments per file #100

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jenschude
Copy link

Closes #99

@stof
Copy link
Member

stof commented Apr 12, 2016

could you add a test covering this feature ?

if (empty($config['comment'])) {
$this->io->write('<comment>Some parameters are missing. Please provide them.</comment>');
} else {
$this->io->write('<comment>' . $config['comment'] . '</comment>');

Choose a reason for hiding this comment

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

i would use sprintf() here

use sprintf for writing comment
@jenschude
Copy link
Author

Added test cases for this feature and switched to sprintf

@OskarStark
Copy link

LGTM 👍

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.

None yet

3 participants