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

[FlowBundle] missing specs and CS #2863

Merged
merged 4 commits into from
Jun 19, 2015
Merged

Conversation

arnolanglade
Copy link
Contributor

Q A
Bug fix? no
New feature? refactoring
BC breaks? no
Deprecations? no
Fixed tickets no
License MIT
Doc PR -

->add('welcome', new Step\WelcomeStepAbstract())
->add('check', new Step\CheckStepAbstract())
->add('configure', new Step\ConfigureStepAbstract())
->add('setup', new Step\SetupStepAbstract())
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that change was unwanted :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes I will revert it !

@michalmarcinkowski
Copy link
Contributor

@Arn0d and one more thing... We should avoid fluent interfaces unless there is a really good reason for that. Related article http://ocramius.github.io/blog/fluent-interfaces-are-evil/, hope it will convince you.

You're doing really good job! 👍

@pjedrzejewski
Copy link
Member

Agree with @michalmarcinkowski about fluent interfaces. :)

@arnolanglade
Copy link
Contributor Author

@michalmarcinkowski @pjedrzejewski updated !

@arnolanglade
Copy link
Contributor Author

ping @pjedrzejewski :p

@michalmarcinkowski
Copy link
Contributor

👍

@arnolanglade
Copy link
Contributor Author

ping @pjedrzejewski

pjedrzejewski pushed a commit that referenced this pull request Jun 19, 2015
[FlowBundle] missing specs and CS
@pjedrzejewski pjedrzejewski merged commit 3c33837 into Sylius:master Jun 19, 2015
@pjedrzejewski
Copy link
Member

I'm not sure it was a good idea to rewrite these tests in specs? Specs have biggest benefit when they drive the design and code, otherwise they are very similar to phpunit tests, except with a nicer syntax and easier mocking/modification in future. That being said, you did it already so it is good! Thank you Arnaud!

@arnolanglade
Copy link
Contributor Author

It is for consistency and for future development!

@arnolanglade arnolanglade deleted the flow_specs branch June 19, 2015 08:15
umpirsky added a commit to umpirsky/Sylius that referenced this pull request Oct 16, 2015
@umpirsky
Copy link
Contributor

This PR is a BC break since it renames ControllerStep.

Added to #3393.

umpirsky added a commit to umpirsky/Sylius that referenced this pull request Dec 14, 2015
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

4 participants