8000 Minor fixes · symfony/symfony-docs@490ead0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 490ead0

Browse files
committed
Minor fixes
1 parent 7bf1a4c commit 490ead0

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

cookbook/bundles/best_practices.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ bundle class name must follow these simple rules:
4545

4646
Here are some valid bundle namespaces and class names:
4747

48-
================================= ========================
49-
Namespace Bundle Class Name
50-
================================= ========================
51-
``Acme\Bundle\BlogBundle`` ``AcmeBlogBundle``
52-
``Acme\BlogBundle`` ``AcmeBlogBundle``
53-
================================= ========================
48+
========================== ==================
49+
Namespace Bundle Class Name
50+
========================== ==================
51+
``Acme\Bundle\BlogBundle`` ``AcmeBlogBundle``
52+
``Acme\BlogBundle`` ``AcmeBlogBundle``
53+
========================== ==================
5454

5555
By convention, the ``getName()`` method of the bundle class should return the
5656
class name.
@@ -339,10 +339,11 @@ The ``composer.json`` file should include at least the following metadata:
339339
personal name (e.g. ``johnsmith/blog-bundle``). The bundle short name excludes
340340
the vendor name and separates each word with an hyphen. For example:
341341
``AcmeBlogBundle`` is transformed into ``blog-bundle`` and ``AcmeSocialConnectBundle``
342-
is transformed into ``acme-social-bundle``;
342+
is transformed into ``social-connect-bundle``;
343343
* ``description``, a brief explanation of the purpose of the bundle;
344344
* ``type``, use the ``symfony-bundle`` value;
345-
* ``license``, use the ``MIT`` value.
345+
* ``license``, ``MIT`` is the preferred license for Symfony bundles, but you
346+
can use any other value.
346347

347348
Learn more from the Cookbook
348349
----------------------------

0 commit comments

Comments
 (0)
0