-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Added description on how to enable the security:check command through… #5363
Merged
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
396302b
Added description on how to enable the security:check command through…
bizmate 5aa7044
Improved security:check command description
bizmate aa0dff4
Indented code block in security:check command description
bizmate 5c872f2
Bundle name case change
bizmate 8f00174
Merge remote-tracking branch 'remotes/upstream/2.7' into 2.7
bizmate f5774d2
Changed 'in' to 'to' and removed 'composer'
bizmate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1352,6 +1352,15 @@ FriendsOfPHP organization. | |
any of your dependencies is affected by a known security vulnerability. | ||
Therefore, you can easily integrate it in your build process. | ||
|
||
.. note:: | ||
|
||
To enable the ``security:check`` command, you need to add the | ||
`sensio distribution bundle`_ in your composer dependencies. | ||
|
||
.. code-block:: bash | ||
|
||
$ composer require 'sensio/distribution-bundle' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The single quotes are not necessary. |
||
|
||
Final Words | ||
----------- | ||
|
||
|
@@ -1381,3 +1390,4 @@ Learn More from the Cookbook | |
.. _`online tool`: https://www.dailycred.com/blog/12/bcrypt-calculator | ||
.. _`frameworkextrabundle documentation`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html | ||
.. _`security advisories database`: https://github.com/FriendsOfPHP/security-advisories | ||
.. _`sensio distribution bundle`: https://packagist.org/packages/sensio/distribution-bundle |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer SensioDistributionBundle.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While in the context of code I would agree, I see no need in plain documentation where links are all formatted in spaced lower cases format. Unless all other links are changed to follow the CamelCase style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not because it is the link label, but because of what is the name of the bundle.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you see other links with references to bundles the formatting is not CamelCase. See line 1391 for the frameworkextrabundle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FrameworkExtraBundle is not maintained by us. In the core docs, we always use the bundle names as they are in the code: FrameworkBundle, AsseticBundle, MonologBundle, SensioFrameworkExtraBundle, etc. See http://symfony.com/doc/current/cookbook/serializer.html for instance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And by the way, it's only lowercased in the reference mapping at the bottom. In the text, it is written as "FrameworkExtraBundle documentation" (see http://symfony.com/doc/current/book/security.html#securing-controllers-and-other-code).