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

Update security.rst#6637

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

Closed
norbert-n wants to merge2 commits intosymfony:2.3fromnorbert-n:patch-1
Closed

Update security.rst#6637

norbert-n wants to merge2 commits intosymfony:2.3fromnorbert-n:patch-1

Conversation

@norbert-n
Copy link
Contributor

missing use statement

@OskarStark
Copy link
Contributor

LGTM 👍


use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
Copy link
Member

Choose a reason for hiding this comment

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

Can you please sort theuse statements alphabetically?

OskarStark reacted with thumbs up emoji
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

done

@javiereguiluz
Copy link
Member

It looks good ... but I don't know if doc maintainers will agree with it. The// ... at the beginning of the code is used in the Symfony Docs to refer to"all the "use" that are needed but we don't show them here because they are very basic or they were showed in the previous examples".

@wouterj
Copy link
Member

Personally, I only apply// ... to the "shown before" standard, not the "very basic". For beginners, nothing is basic in Symfony. So a 👍 for me.

@xabbuh
Copy link
Member

I absolutely agree with@wouterj. This is the book which is probably one of the first parts newcomers are reading. And secondly this is the first controller example in this chapter. So 👍 from me too.

xabbuh added a commit that referenced this pull requestJun 11, 2016
This PR was submitted for the 2.3 branch but it was merged into the 2.7 branch instead (closes#6637).Discussion----------Update security.rstmissing use statementCommits-------5ac5d60 Update security.rst
@xabbuh
Copy link
Member

Thank you@norbert-n. I have merged your fix into the2.7 branch (that's why it's shown as closed instead of merged) as the2.3 branch is no longer maintained.

@xabbuhxabbuh closed thisJun 11, 2016
@norbert-nnorbert-n deleted the patch-1 branchJune 11, 2016 14:35
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@norbert-n@OskarStark@javiereguiluz@wouterj@xabbuh

[8]ページ先頭

©2009-2025 Movatter.jp