Skip to content

Commit dcd9ded

Browse files
committed
Merge branch '3.4' into 4.0
* 3.4: Create an index page for the new Code of Conduct section Revert fix factory-service new syntax Fix values class references Fix spelling of Composer
2 parents 333d589 + ea1c2e6 commit dcd9ded

File tree

6 files changed

+107
-90
lines changed

6 files changed

+107
-90
lines changed

components/using_components.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ whatever component you want.
3131

3232
.. tip::
3333

34-
`Install composer`_ if you don't have it already present on your system.
34+
`Install Composer`_ if you don't have it already present on your system.
3535
Depending on how you install, you may end up with a ``composer.phar``
3636
file in your directory. In that case, no worries! Just run
3737
``php composer.phar require symfony/finder``.
@@ -65,4 +65,4 @@ documentation to find out more about how to use it.
6565
And have fun!
6666

6767
.. _Composer: https://getcomposer.org
68-
.. _Install composer: https://getcomposer.org/download/
68+
.. _Install Composer: https://getcomposer.org/download/
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
Code of Conduct
2+
===============
3+
4+
Our Pledge
5+
----------
6+
7+
In the interest of fostering an open and welcoming environment, we as
8+
contributors and maintainers pledge to making participation in our project and
9+
our community a harassment-free experience for everyone, regardless of age, body
10+
size, disability, ethnic origin, gender identity and expression, level of experience,
11+
education, socio-economic status, nationality, personal appearance,
12+
religion, or sexual identity and orientation.
13+
14+
Our Standards
15+
-------------
16+
17+
Examples of behavior that contributes to creating a positive environment
18+
include:
19+
20+
* Using welcoming and inclusive language
21+
* Being respectful of differing viewpoints and experiences
22+
* Gracefully accepting constructive criticism
23+
* Focusing on what is best for the community
24+
* Showing empathy towards other community members
25+
26+
Examples of unacceptable behavior by participants include:
27+
28+
* The use of sexualized language or imagery and unwelcome sexual attention or
29+
advances
30+
* Trolling, insulting/derogatory comments, and personal or political attacks
31+
* Public or private harassment
32+
* Publishing others' private information, such as a physical or electronic
33+
address, without explicit permission
34+
* Other conduct which could reasonably be considered inappropriate in a
35+
professional setting
36+
37+
Our Responsibilities
38+
--------------------
39+
40+
:doc:`Enforcement team members </contributing/code_of_conduct/enforcement_team>`
41+
are responsible for clarifying the standards of acceptable
42+
behavior and are expected to take appropriate and fair corrective action in
43+
response to any instances of unacceptable behavior.
44+
45+
Enforcement team members have the right and responsibility to remove, edit, or
46+
reject comments, commits, code, wiki edits, issues, and other contributions
47+
that are not aligned to this Code of Conduct, or to ban temporarily or
48+
permanently any contributor for other behaviors that they deem inappropriate,
49+
threatening, offensive, or harmful.
50+
51+
Scope
52+
-----
53+
54+
This Code of Conduct applies both within project spaces and in public spaces
55+
when an individual is representing the project or its community. Examples of
56+
representing a project or community include using an official project e-mail
57+
address, posting via an official social media account, or acting as an appointed
58+
representative at an online or offline event. Representation of a project may be
59+
further defined and clarified by enforcement team members.
60+
61+
Enforcement
62+
-----------
63+
64+
Instances of abusive, harassing, or otherwise unacceptable behavior
65+
:doc:`may be reported </contributing/code_of_conduct/reporting_guidelines>`
66+
by contacting the :doc:`enforcement team members </contributing/code_of_conduct/enforcement_team>`.
67+
All complaints will be reviewed and investigated and will result in a response that
68+
is deemed necessary and appropriate to the circumstances. The enforcement team is
69+
obligated to maintain confidentiality with regard to the reporter of an incident.
70+
Further details of specific enforcement policies may be posted separately.
71+
72+
Enforcement team members who do not follow or enforce the Code of Conduct in good
73+
faith may face temporary or permanent repercussions as determined by the
74+
:doc:`core team </contributing/code/core_team>`.
75+
76+
Attribution
77+
-----------
78+
79+
This Code of Conduct is adapted from the `Contributor Covenant`_, version 1.4,
80+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
81+
82+
Related Documents
83+
-----------------
84+
85+
.. toctree::
86+
:maxdepth: 1
87+
88+
reporting_guidelines
89+
enforcement_team
90+
concrete_example_document
91+
92+
.. _Contributor Covenant: https://www.contributor-covenant.org
Lines changed: 2 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,10 @@
11
Code of Conduct
22
===============
33

4-
Our Pledge
5-
----------
6-
7-
In the interest of fostering an open and welcoming environment, we as
8-
contributors and maintainers pledge to making participation in our project and
9-
our community a harassment-free experience for everyone, regardless of age, body
10-
size, disability, ethnic origin, gender identity and expression, level of experience,
11-
education, socio-economic status, nationality, personal appearance,
12-
religion, or sexual identity and orientation.
13-
14-
Our Standards
15-
-------------
16-
17-
Examples of behavior that contributes to creating a positive environment
18-
include:
19-
20-
* Using welcoming and inclusive language
21-
* Being respectful of differing viewpoints and experiences
22-
* Gracefully accepting constructive criticism
23-
* Focusing on what is best for the community
24-
* Showing empathy towards other community members
25-
26-
Examples of unacceptable behavior by participants include:
27-
28-
* The use of sexualized language or imagery and unwelcome sexual attention or
29-
advances
30-
* Trolling, insulting/derogatory comments, and personal or political attacks
31-
* Public or private harassment
32-
* Publishing others' private information, such as a physical or electronic
33-
address, without explicit permission
34-
* Other conduct which could reasonably be considered inappropriate in a
35-
professional setting
36-
37-
Our Responsibilities
38-
--------------------
39-
40-
:doc:`Enforcement team members </contributing/code_of_conduct/enforcement_team>`
41-
are responsible for clarifying the standards of acceptable
42-
behavior and are expected to take appropriate and fair corrective action in
43-
response to any instances of unacceptable behavior.
44-
45-
Enforcement team members have the right and responsibility to remove, edit, or
46-
reject comments, commits, code, wiki edits, issues, and other contributions
47-
that are not aligned to this Code of Conduct, or to ban temporarily or
48-
permanently any contributor for other behaviors that they deem inappropriate,
49-
threatening, offensive, or harmful.
50-
51-
Scope
52-
-----
53-
54-
This Code of Conduct applies both within project spaces and in public spaces
55-
when an individual is representing the project or its community. Examples of
56-
representing a project or community include using an official project e-mail
57-
address, posting via an official social media account, or acting as an appointed
58-
representative at an online or offline event. Representation of a project may be
59-
further defined and clarified by enforcement team members.
60-
61-
Enforcement
62-
-----------
63-
64-
Instances of abusive, harassing, or otherwise unacceptable behavior
65-
:doc:`may be reported </contributing/code_of_conduct/reporting_guidelines>`
66-
by contacting the :doc:`enforcement team members </contributing/code_of_conduct/enforcement_team>`.
67-
All complaints will be reviewed and investigated and will result in a response that
68-
is deemed necessary and appropriate to the circumstances. The enforcement team is
69-
obligated to maintain confidentiality with regard to the reporter of an incident.
70-
Further details of specific enforcement policies may be posted separately.
71-
72-
Enforcement team members who do not follow or enforce the Code of Conduct in good
73-
faith may face temporary or permanent repercussions as determined by the
74-
:doc:`core team </contributing/code/core_team>`.
75-
76-
Attribution
77-
-----------
78-
79-
This Code of Conduct is adapted from the `Contributor Covenant`_, version 1.4,
80-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
81-
82-
Related Documents
83-
-----------------
84-
854
.. toctree::
86-
:maxdepth: 1
5+
:maxdepth: 2
876

7+
code_of_conduct
888
reporting_guidelines
899
enforcement_team
9010
concrete_example_document
91-
92-
.. _Contributor Covenant: https://www.contributor-covenant.org

contributing/map.rst.inc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
* **Code of Conduct**
2+
3+
* :doc:`/contributing/code_of_conduct/code_of_conduct`
4+
* :doc:`/contributing/code_of_conduct/reporting_guidelines`
5+
* :doc:`/contributing/code_of_conduct/enforcement_team`
6+
* :doc:`/contributing/code_of_conduct/concrete_example_document`
7+
18
* **Code**
29

310
* :doc:`Bugs </contributing/code/bugs>`

reference/twig_reference.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,8 @@ needed objects and values. It is an instance of
735735
The available attributes are:
736736

737737
* ``app.user``, a PHP object representing the current user;
738-
* ``app.request``, a :class:``Symfony\\Component\\HttpFoundation\\Request`` object;
739-
* ``app.session``, a :class:``Symfony\\Component\\HttpFoundation\\Session\\Session`` object;
738+
* ``app.request``, a :class:`Symfony\\Component\\HttpFoundation\\Request` object;
739+
* ``app.session``, a :class:`Symfony\\Component\\HttpFoundation\\Session\\Session` object;
740740
* ``app.environment``, a string with the name of the execution environment;
741741
* ``app.debug``, a boolean telling whether the debug mode is enabled in the app;
742742
* ``app.token``, a :class:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface`

service_container/factories.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Configuration of the service container then looks like this:
105105
106106
App\Email\NewsletterManager:
107107
# call a method on the specified factory service
108-
factory: 'App\Email\NewsletterManagerFactory::createNewsletterManager'
108+
factory: 'App\Email\NewsletterManagerFactory:createNewsletterManager'
109109
110110
.. code-block:: xml
111111
@@ -154,7 +154,7 @@ Configuration of the service container then looks like this:
154154
# config/services.yaml
155155
App\Email\NewsletterManager:
156156
# new syntax
157-
factory: 'App\Email\NewsletterManagerFactory::createNewsletterManager'
157+
factory: 'App\Email\NewsletterManagerFactory:createNewsletterManager'
158158
# old syntax
159159
factory: ['@App\Email\NewsletterManagerFactory', createNewsletterManager]
160160

0 commit comments

Comments
 (0)