Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Conversation

@dbu
Copy link
Member

@dbu dbu commented Jul 30, 2015

i want to improve on #245 but notice that the configuration being one huge spaghetti is starting to get into the way. this PR changes no functionality at all, just splits the configuration tree building into separate sections. can we do this? then i will rebase #245 and try to push validation into the configuration definition.

Copy link
Member

Choose a reason for hiding this comment

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

Do we need docblock for the sub-methods?

@ElectricMaxxx
Copy link
Member

@dbu looks cool. Except my question about the docblocks, we can merge it.

@dbu
Copy link
Member Author

dbu commented Jul 30, 2015

renamed the methods to configure... and added docblocks.

@wouterj
Copy link
Member

wouterj commented Jul 30, 2015

The convention in Symfony core is to name these methods "addXxxSection"

@dbu
Copy link
Member Author

dbu commented Jul 30, 2015

oh, ok. makes sense. i was looking at the doctrine bundle as inspiration. but addXxSection sounds good, will change to that

@dbu
Copy link
Member Author

dbu commented Jul 30, 2015

and pushed again with the better names

@ElectricMaxxx
Copy link
Member

its awesome how big that configuration grews up.

@ElectricMaxxx
Copy link
Member

@dbu i just restarted the job, cause i don't understand the reason. The test failed just on php 5.6 and Symfony 2.3.*

@ElectricMaxxx
Copy link
Member

whaat was the change?

ElectricMaxxx added a commit that referenced this pull request Jul 31, 2015
split up configuration into methods
@ElectricMaxxx ElectricMaxxx merged commit 755d8e2 into master Jul 31, 2015
@lsmith77 lsmith77 removed the review label Jul 31, 2015
@ElectricMaxxx
Copy link
Member

thanks @dbu

@dbu dbu deleted the split-config branch July 31, 2015 10:50
@dbu
Copy link
Member Author

dbu commented Jul 31, 2015

no change. just restarted once more. no idea how that happened.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants