Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Minor fixes about bundle overridding#7490

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
xabbuh merged 7 commits intosymfony:2.7fromjaviereguiluz:pr/6985
Apr 15, 2017
Merged

Conversation

@javiereguiluz
Copy link
Member

This finishes#6985.

Francisco Corrales Morales added2 commitsFebruary 14, 2017 16:06
The old sentence was confusing. This one works better.
Its better to use e.g. here cause that is just an example. Doesn't always going to be in that path.
Francisco Corrales Moralesand others added4 commitsFebruary 14, 2017 16:08
The word 'or' is clear. / not so much.
Titles use caps.Unnecessary sentence.
This does only apply to Symfony >= 3.0.
@Jean85
Copy link
Contributor

LGTM 👍
Status: reviewed


$builder->add('name', new CustomType());
Existing form types can be modified defining "form type extensions".
For more information, see:doc:`/form/create_form_type_extension`.
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

If you refertoresources without usingthe ``@BundleName`` shortcut, they
can't beoverridden in this way.
You needtousethe ``@BundleName`` shortcut when refering to resources
so theycan besuccessfully overridden.
Copy link
Member

Choose a reason for hiding this comment

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

There has been confusion in the past about which resources we refer to here. I think we should make more clear that this note does not apply when we talk about templates as the overriding of them works no matter if you use the bundle syntax or the native Twig namespace syntax (I know that the syntax is not exactly the same as what we use to refer to other resources, but that's not so obvious).

HeahDude reacted with thumbs up emoji
rather than::

$builder->add('name', new CustomType());
Existing form types can be modified defining "form type extensions".
Copy link
Member

Choose a reason for hiding this comment

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

I propose:"form type extensions" ->*form type extensions*

@xabbuh
Copy link
Member

Thank you Javier.

@xabbuhxabbuh closed thisApr 15, 2017
@xabbuhxabbuh merged commitc9a52ae intosymfony:2.7Apr 15, 2017
xabbuh added a commit that referenced this pull requestApr 15, 2017
…javiereguiluz)This PR was merged into the 2.7 branch.Discussion----------Minor fixes about bundle overriddingThis finishes#6985.Commits-------c9a52ae Added the changes suggested by reviewersd5cd8d0 Reworded the section about form overridding600d302 Update installation.rst62bfc21 Update prepend_extension.rst2f837d6 Update override.rst3433e50 Update installation.rstf684bdd Update inheritance.rst
xabbuh added a commit that referenced this pull requestApr 15, 2017
xabbuh added a commit that referenced this pull requestApr 15, 2017
* 2.7:  [#7507] fix component name  [#7490] minor typo fix  Added a note about redirections to absolute URLs in tests  Added the changes suggested by reviewers  Fixed status code test  Improved a test  Merged and improved the articles about testing + authentication  Reworded the section about form overridding  Update installation.rst  Update prepend_extension.rst  Update override.rst  Update installation.rst  Update inheritance.rst  Unify placeholders in documentation and code
xabbuh added a commit that referenced this pull requestApr 15, 2017
* 2.8: (46 commits)  [#7507] fix component name  [#7490] minor typo fix  Added a note about redirections to absolute URLs in tests  Added the changes suggested by reviewers  [#7620] use generate() in PHP templates before 2.8  Fixed the RST syntax  Improve example context  [#5621] Enhancing example of using bundle config  [#7601] minor tweak  Update expiration.rst  Update expiration.rst  Update expiration.rst  Update expiration.rst  Minor reword and fixed the line length  Improve specification explanation  [#7664] minor wording tweak  Rewords and minor fixes  Add an explanation about «constraints» validation  [#7645] enumerate ordered list items implicitly  Adding a new article about "Creating a Bug Reproducer"  ...
weaverryan added a commit that referenced this pull requestApr 15, 2017
* 3.2: (71 commits)  Rewriting the service container docs  Minor reword  Adding a tip for validation in forms without class  [#7217] add versionadded directives  [#7203] merge note and versionadded directive  Use the new configurator YAML syntax  Added a note about the .htaccess files included by Symfony apps  Made unmapped field example in forms chapter more descriptive  [#7507] fix namespace  [#7507] fix component name  [#7490] minor typo fix  Added a note about redirections to absolute URLs in tests  [#7204] link to API doc  Added docs for JsonResponse::fromJsonString  Added the changes suggested by reviewers  [#7620] use generate() in PHP templates before 2.8  Fixed the RST syntax  Improve example context  Minor formatting changes  [#7519] some minor tweaks  ...
@javiereguiluzjaviereguiluz deleted the pr/6985 branchMay 24, 2018 16:05
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh left review comments

@wouterjwouterjwouterj approved these changes

+1 more reviewer

@HeahDudeHeahDudeHeahDude approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@javiereguiluz@Jean85@xabbuh@wouterj@HeahDude@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp