Skip to content

Conversation

renatomefi
Copy link
Contributor

@renatomefi renatomefi commented Nov 28, 2017

Q A
Bug fix? no
New feature? yes
BC breaks? yes
Deprecations? no
Tests pass? yes
Documented? yes
License MIT
  • I felt like changing how the CLI works, but I think for now its good to maintain the behavior and that's what I've done

TODO

@renatomefi renatomefi requested a review from mcg-web November 28, 2017 18:30
@renatomefi renatomefi force-pushed the feature/remove-relay-version-option branch from 0d2ec3c to 04c5569 Compare November 28, 2017 18:40
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use Symfony\Component\DependencyInjection\ContainerInterface;

Copy link
Contributor

@mcg-web mcg-web Nov 28, 2017

Choose a reason for hiding this comment

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

Why this should be final ? I'm not against final classes just want to understand why.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not a must, but I think it's important to do it when we maintain a library, this way we don't promote users to extend certain things we don't want them to. When you leave it open you create some sort of legacy and can make some users suffer to update.
Now if they want to extend it they'll have to create a new command with their behavior, which I think is for their and our advantage!

@mcg-web mcg-web merged commit 7bcf0d0 into overblog:master Nov 28, 2017
@mcg-web
Copy link
Contributor

mcg-web commented Nov 28, 2017

Thank you @renatomefi !

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