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

[OptionValue] Translation System #4051

Merged
merged 9 commits into from
Feb 18, 2016
Merged

[OptionValue] Translation System #4051

merged 9 commits into from
Feb 18, 2016

Conversation

vikey89
Copy link
Contributor

@vikey89 vikey89 commented Feb 3, 2016

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

This PR is based from #3975

return $this->option->getPresentation();
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

missing eof new line

@vikey89 vikey89 changed the title [WIP][OptionValue] Translation System [OptionValue] Translation System Feb 15, 2016
@vikey89
Copy link
Contributor Author

vikey89 commented Feb 16, 2016

@pjedrzejewski I've finished on this PR. When you think you will merge this PR?
Thanks.

@lchrusciel
Copy link
Member

@vikey89 Can you apply my 2 last comments?

@@ -184,7 +187,7 @@ private function addClassesSection(ArrayNodeDefinition $node)
->scalarNode('interface')->isRequired()->cannotBeEmpty()->end()
->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end()
->scalarNode('repository')->cannotBeEmpty()->cannotBeEmpty()->end()
->scalarNode('factory')->defaultValue(Factory::class)->end()
->scalarNode('factory')->defaultValue(TranslatableFactory::class)->end()
Copy link
Member

Choose a reason for hiding this comment

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

This node should cannot be empty as well

/**
* @param string $dataClass
* @param array $validationGroups
* @param $variableName
Copy link
Member

Choose a reason for hiding this comment

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

Missing typehint

pjedrzejewski pushed a commit that referenced this pull request Feb 18, 2016
[OptionValue] Translation System
@pjedrzejewski pjedrzejewski merged commit 31edf84 into Sylius:master Feb 18, 2016
@pjedrzejewski
Copy link
Member

Nice work Vincenzo! Thank you very much. 👍

@vikey89
Copy link
Contributor Author

vikey89 commented Feb 18, 2016

Thanks @pjedrzejewski I would like to help with something else :)
Any suggestion?

@michalmarcinkowski
Copy link
Contributor

@vikey89 how about this? :)

@vikey89
Copy link
Contributor Author

vikey89 commented Feb 18, 2016

ok @michalmarcinkowski thanks :)

@vikey89 vikey89 deleted the issue_3975 branch February 19, 2016 17:25
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
[OptionValue] Translation System
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
[OptionValue] Translation System
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
[OptionValue] Translation System
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

6 participants