Skip to content

Commit 3454883

Browse files
committed
Merge branch '2.7'
* 2.7: Use the new build env on Travis required PHPUnit version in the docs should be updated to 4.2 (or later) since the atLeast() method which is used in some of the tests Reverts a commit to 2.3 for 2.4 features. This re-adds them to the 2.5 branch Fixing bad merge Replace form_enctype(form) with form_start(form). Remove ExpressionLanguage reference for 2.3 version
2 parents f0ac8bb + 38163f0 commit 3454883

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ language: python
33
python:
44
- "2.7"
55

6+
sudo: false
7+
68
install:
79
- "pip install -q -r requirements.txt --use-mirrors"
810

best_practices/forms.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ view layer:
139139

140140
.. code-block:: html+jinja
141141

142-
<form method="POST" {{ form_enctype(form) }}>
142+
{{ form_start(form) }}
143143
{{ form_widget(form) }}
144144

145145
<input type="submit" value="Create"
146146
class="btn btn-default pull-right" />
147-
</form>
147+
{{ form_end(form) }}
148148

149149
Rendering the Form
150150
------------------

best_practices/security.rst

+2
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@ If your company uses a user login method not supported by Symfony, you can
350350
develop :doc:`your own user provider </cookbook/security/custom_provider>` and
351351
:doc:`your own authentication provider </cookbook/security/custom_authentication_provider>`.
352352

353+
.. _`Security Cookbook Section`: http://symfony.com/doc/current/cookbook/security/index.html
354+
.. _`security.yml`: http://symfony.com/doc/current/reference/configuration/security.html
353355
.. _`ParamConverter`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
354356
.. _`@Security annotation`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html
355357
.. _`security voter`: http://symfony.com/doc/current/cookbook/security/voters_data_permission.html

contributing/code/tests.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Symfony test suite to check that you have not broken anything.
99
PHPUnit
1010
-------
1111

12-
To run the Symfony test suite, `install PHPUnit`_ 3.7 (or later) first.
12+
To run the Symfony test suite, `install PHPUnit`_ 4.2 (or later) first.
1313

1414
Dependencies (optional)
1515
-----------------------

0 commit comments

Comments
 (0)