Skip to content

Commit ed80100

Browse files
committed
minor #4977 Unnecessary comma (edsonmedina)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #4977). Discussion ---------- Unnecessary comma Commits ------- 8a2f0ba Wrong comma 81e8c13 Merge branch '2.7' ef39a01 Remove diff 8d56ad7 Merge branch '2.7' 6fd286b Added January changelog ad97700 Merge branch '2.7' c0f9f67 Merge branch '2.7' 87eb36c Merge branch '2.7' 714f630 Merge branch '2.7' 99e2996 Merge branch '2.7' c33b371 Merge branch '2.7' 6c498d4 feature #4805 added documentation for the new absolute_url() and relative_path() Twig functions (fabpot) e4d22f0 added documentation for the new absolute_url() and relative_path() Twig functions 907ee0d Merge branch '2.7' a17bdd7 Merge branch '2.7' ca3b4c8 feature #4753 bump Symfony requirements to PHP 5.5 (xabbuh) 9919bca Revert "Fixed markup" c859790 Fixed markup 032a6b4 Merge branch '2.7' 92b10b1 bug #4758 [Components][Yaml] don't describe removed usage of Yaml::parse() (xabbuh) 42d2b15 Merge branch '2.7' 6f9832d Merge branch '2.7' d33b78b don't describe removed usage of Yaml::parse() bcab77b bump Symfony requirements to PHP 5.5 6ef6a04 Merge branch '2.7' fcfea43 Merge branch '2.7' 353995e Merge branch '2.7' 27296ad Merge branch '2.7' 56db7af Merge branch '2.7' 9e5fc6c Merge branch '2.7' cb6f846 Merge branch '2.7' 8131844 Merge branch '2.7' 2fcebc1 Merge branch '2.7' 07aa543 Merge branch '2.7' 4056218 Merge branch '2.7' 0906e0c Merge branch '2.7' e539bd1 Merge branch '2.7' 2d1c336 Merge branch '2.7' d30dc9e Merge remote-tracking branch 'origin/master' 3454883 Merge branch '2.7' f0ac8bb Merge branch '2.7' d921dcd Merge branch '2.7' 486baf8 Merge branch '2.7' 8099ac1 Merge branch '2.7' 6b73990 Merge branch '2.7' 0fb81cc Merge branch '2.7' d969e8b Merge branch '2.7' f24b645 Merge branch '2.7' d6ce29f Merge branch '2.7' 51224e9 Merge branch '2.7' 0c92fab Merge branch '2.7' 0d5cb0d Merge branch '2.7' 3329bd2 feature #4424 [#4243] Tweaks to the new var-dumper component (weaverryan, nicolas-grekas) 9caea6f feature #4336 [Form] Add entity manager instance support for em option (egeloen) 1a29f24 typos in the var-dumper component 09a6fd7 [Form] Add entity manager instance support for em option 265604b [#4243] Tweaks to the new var-dumper component
2 parents 70902f5 + 8a2f0ba commit ed80100

File tree

18 files changed

+28
-91
lines changed

18 files changed

+28
-91
lines changed

Diff for: best_practices/business-logic.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The blog application needs a utility that can transform a post title (e.g.
5656
"Hello World") into a slug (e.g. "hello-world"). The slug will be used as
5757
part of the post URL.
5858

59-
Let's, create a new ``Slugger`` class inside ``src/AppBundle/Utils/`` and
59+
Let's create a new ``Slugger`` class inside ``src/AppBundle/Utils/`` and
6060
add the following ``slugify()`` method:
6161

6262
.. code-block:: php

Diff for: book/controller.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Controllers are also called *actions*.
116116

117117
This controller is pretty straightforward:
118118

119-
* *line 4*: Symfony takes advantage of PHP 5.3 namespace functionality to
119+
* *line 4*: Symfony takes advantage of PHP's namespace functionality to
120120
namespace the entire controller class. The ``use`` keyword imports the
121121
``Response`` class, which the controller must return.
122122

Diff for: book/installation.rst

+2-16
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ Using the Symfony Installer is the only recommended way to create new Symfony
1616
applications. This installer is a PHP application that has to be installed
1717
only once and then it can create any number of Symfony applications.
1818

19-
.. note::
20-
21-
The installer requires PHP 5.4 or higher. If you still use the legacy
22-
PHP 5.3 version, you cannot use the Symfony Installer. Read the
23-
:ref:`book-creating-applications-without-the-installer` section to learn how
24-
to proceed.
25-
2619
Depending on your operating system, the installer must be installed in different
2720
ways.
2821

@@ -107,9 +100,8 @@ to use for your projects.
107100
Creating Symfony Applications without the Installer
108101
---------------------------------------------------
109102

110-
If you still use PHP 5.3, or if you can't execute the installer for any reason,
111-
you can create Symfony applications using the alternative installation method
112-
based on `Composer`_.
103+
If you can't execute the installer for any reason, you can create Symfony
104+
applications using the alternative installation method based on `Composer`_.
113105

114106
Composer is the dependency manager used by modern PHP applications and it can
115107
also be used to create new applications based on the Symfony framework. If you
@@ -168,12 +160,6 @@ possible solutions depending on your operating system. All of them are
168160
explained in the :ref:`Setting up Permissions <book-installation-permissions>`
169161
section.
170162

171-
.. note::
172-
173-
PHP's internal web server is available in PHP 5.4 or higher versions. If you
174-
still use the legacy PHP 5.3 version, you'll have to configure a *virtual host*
175-
in your web server.
176-
177163
The ``server:run`` command is only suitable while developing the application. In
178164
order to run Symfony applications on production servers, you'll have to configure
179165
your `Apache`_ or `Nginx`_ web server as explained in

Diff for: book/security.rst

-2
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,6 @@ else, you'll want to encode their passwords. The best algorithm to use is
499499
// ...
500500
));
501501
502-
.. include:: /cookbook/security/_ircmaxwell_password-compat.rst.inc
503-
504502
Of course, your user's passwords now need to be encoded with this exact algorithm.
505503
For hardcoded users, you can use an `online tool`_, which will give you something
506504
like this:

Diff for: book/translation.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ checks translation resources for several locales:
408408

409409
.. note::
410410

411-
When Symfony doesn't find a translation in the given locale, it will
412-
add the missing translation to the log file. For details,
411+
When Symfony doesn't find a translation in the given locale, it will
412+
add the missing translation to the log file. For details,
413413
see :ref:`reference-framework-translator-logging`.
414414

415415
.. _book-translation-user-locale:
@@ -675,8 +675,8 @@ Translating Database Content
675675
----------------------------
676676

677677
The translation of database content should be handled by Doctrine through
678-
the `Translatable Extension`_ or the `Translatable Behavior`_ (PHP 5.4+).
679-
For more information, see the documentation for these libraries.
678+
the `Translatable Extension`_ or the `Translatable Behavior`_. For more information,
679+
see the documentation for these libraries.
680680

681681
Debugging Translations
682682
----------------------

Diff for: changelog.rst

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ New Documentation
2525
- `4226fc2 <https://github.com/symfony/symfony-docs/commit/4226fc27a06aeb975af1b1aae1e6207a07bbbb6f>`_ #4883 Global dump (nicolas-grekas)
2626
- `a57db5b <https://github.com/symfony/symfony-docs/commit/a57db5b1d240d5b6df1b5a8b077b280c17233420>`_ #4879 Documented true regex (WouterJ)
2727
- `3bb7b61 <https://github.com/symfony/symfony-docs/commit/3bb7b61dde079611180a2bc4e12e70eac8caef51>`_ #4645 Remove note that's no longer the case (thewilkybarkid)
28+
- `6c498d4 <https://github.com/symfony/symfony-docs/commit/6c498d4b0868b6dd940517d327c4f4a6893362fb>`_ #4805 added documentation for the new absolute_url() and relative_path() Twig functions (fabpot)
2829
- `3293286 <https://github.com/symfony/symfony-docs/commit/3293286ac82c6adb0cc4938fce33fef17f5f7108>`_ #4801 [Cookbook][cache][varnish] be more precise about version differences (dbu)
2930
- `572bf3b <https://github.com/symfony/symfony-docs/commit/572bf3b5da737731472f0760ee6105c72d76feb0>`_ #4800 [Cookbook][Security] Hint about createToken can return null (xelaris)
3031
- `74d2e30 <https://github.com/symfony/symfony-docs/commit/74d2e3063c23dadfcecd9c5d3715127da68da128>`_ #4786 Replaced setDefaultOptions by the new configureOptions method (peterrehm)
@@ -34,6 +35,7 @@ New Documentation
3435
- `3643ec2 <https://github.com/symfony/symfony-docs/commit/3643ec224921b3a0ce6163f807e4b208aa718d58>`_ #4723 [Cookbook][Security] document the new AuthenticationUtils (xabbuh)
3536
- `9742b92 <https://github.com/symfony/symfony-docs/commit/9742b9291e4b0f4ad4f1e8eff61261cc9598213f>`_ #4761 [Cookbook][Security] don't output message from AuthenticationException (xabbuh)
3637
- `a23e7d2 <https://github.com/symfony/symfony-docs/commit/a23e7d2ec1b28afe2c3452d1bf5488d7558a478a>`_ #4643 How to override vendor directory location (gajdaw)
38+
- `ca3b4c8 <https://github.com/symfony/symfony-docs/commit/ca3b4c8f34a30f8a396b5bf95fb801bf679fe20b>`_ #4753 bump Symfony requirements to PHP 5.5 (xabbuh)
3739
- `99aca45 <https://github.com/symfony/symfony-docs/commit/99aca4532681c1fbc5d85b2935145b3d4fe9934c>`_ #4749 [2.3][Book][Security] Add isPasswordValid doc as in 2.6 (xelaris)
3840
- `d9935a3 <https://github.com/symfony/symfony-docs/commit/d9935a3f918791a65488a0cd5ca721482c76f09e>`_ #4141 Notes about caching pages with a CSRF Form (ricardclau)
3941
- `207f2f0 <https://github.com/symfony/symfony-docs/commit/207f2f065e10a29172095c6b6f88a2d8fa071223>`_ #4711 [Reference] Add default_locale config description (xelaris)
@@ -59,6 +61,7 @@ Fixed Documentation
5961
- `5940d52 <https://github.com/symfony/symfony-docs/commit/5940d5252b82db7bc247c8723e7761c5cfc9c84b>`_ #4735 [BestPractices] remove @Security annotation for Symfony 2.3 (xabbuh)
6062
- `ce37b96 <https://github.com/symfony/symfony-docs/commit/ce37b96ba0565d0624a16c44c1447c248447158b>`_ #4771 [QuickTour] use the debug:router command name (xabbuh)
6163
- `ffe3425 <https://github.com/symfony/symfony-docs/commit/ffe3425f6a0ef97be45f29608c6be02db24e98f9>`_ #4765 [Book][Forms] avoid the request service where possible (xabbuh)
64+
- `92b10b1 <https://github.com/symfony/symfony-docs/commit/92b10b166cb7b0fb687f77804150d6c47aa9576f>`_ #4758 [Components][Yaml] don't describe removed usage of ``Yaml::parse()`` (xabbuh)
6265
- `36f2e1f <https://github.com/symfony/symfony-docs/commit/36f2e1f74b2d166b333cb07029b1fe6e929c2370>`_ #4757 [Components][ClassLoader] don't show deprecated usage of ``Yaml::parse()`` (xabbuh)
6366
- `d8e8d75 <https://github.com/symfony/symfony-docs/commit/d8e8d75961ea0a77c74634a56b6d3237d00ca8a4>`_ #4756 [Components][Config] don't show deprecated usage of ``Yaml::parse()`` (xabbuh)
6467
- `b143754 <https://github.com/symfony/symfony-docs/commit/b143754b22d1086ad58712147075bf1909836a55>`_ #4744 [Book][Security] Update code example to fit description (xelaris)

Diff for: components/http_foundation/session_configuration.rst

-17
Original file line numberDiff line numberDiff line change
@@ -218,23 +218,6 @@ particular cookie by reading the ``getLifetime()`` method::
218218
The expiry time of the cookie can be determined by adding the created
219219
timestamp and the lifetime.
220220

221-
PHP 5.4 Compatibility
222-
~~~~~~~~~~~~~~~~~~~~~
223-
224-
Since PHP 5.4.0, :phpclass:`SessionHandler` and :phpclass:`SessionHandlerInterface`
225-
are available. Symfony provides forward compatibility for the :phpclass:`SessionHandlerInterface`
226-
so it can be used under PHP 5.3. This greatly improves interoperability with other
227-
libraries.
228-
229-
:phpclass:`SessionHandler` is a special PHP internal class which exposes native save
230-
handlers to PHP user-space.
231-
232-
In order to provide a solution for those using PHP 5.4, Symfony has a special
233-
class called :class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeSessionHandler`
234-
which under PHP 5.4, extends from ``\SessionHandler`` and under PHP 5.3 is just a
235-
empty base class. This provides some interesting opportunities to leverage
236-
PHP 5.4 functionality if it is available.
237-
238221
Save Handler Proxy
239222
~~~~~~~~~~~~~~~~~~
240223

Diff for: components/yaml/introduction.rst

-6
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,6 @@ string or a file containing YAML. Internally, it calls the
138138
:method:`Symfony\\Component\\Yaml\\Parser::parse` method, but enhances the
139139
error if something goes wrong by adding the filename to the message.
140140

141-
.. caution::
142-
143-
Because it is currently possible to pass a filename to this method, you
144-
must validate the input first. Passing a filename is deprecated in
145-
Symfony 2.2, and will be removed in Symfony 3.0.
146-
147141
.. _components-yaml-dump:
148142

149143
Writing YAML Files

Diff for: contributing/code/patches.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Before working on Symfony, setup a friendly environment with the following
1414
software:
1515

1616
* Git;
17-
* PHP version 5.3.3 or above;
17+
* PHP version 5.5.9 or above;
1818
* `PHPUnit`_ 4.2 or above.
1919

2020
Configure Git

Diff for: cookbook/bundles/best_practices.rst

+4-5
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ Bundle Name
2929
-----------
3030

3131
A bundle is also a PHP namespace. The namespace must follow the technical
32-
interoperability `standards`_ for PHP 5.3 namespaces and class names: it
33-
starts with a vendor segment, followed by zero or more category segments, and
34-
it ends with the namespace short name, which must end with a ``Bundle``
35-
suffix.
32+
interoperability `standards`_ for PHP namespaces and class names: it starts
33+
with a vendor segment, followed by zero or more category segments, and it
34+
ends with the namespace short name, which must end with a ``Bundle`` suffix.
3635

3736
A namespace becomes a bundle as soon as you add a bundle class to it. The
3837
bundle class name must follow these simple rules:
@@ -347,7 +346,7 @@ there are 3 modes, which the user can configure in their project:
347346
* 2.4: the original 2.4 and earlier validation API;
348347
* 2.5: the new 2.5 and later validation API;
349348
* 2.5-BC: the new 2.5 API with a backwards-compatible layer so that the
350-
2.4 API still works. This is only available in PHP 5.3.9+.
349+
2.4 API still works.
351350

352351
As a bundle author, you'll want to support *both* API's, since some users
353352
may still be using the 2.4 API. Specifically, if your bundle adds a violation

Diff for: cookbook/deployment/azure-website.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,8 @@ and how to properly configure PHP for a production environment.
9696
Configuring the latest PHP Runtime
9797
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9898

99-
Even though Symfony only requires PHP 5.3.3 to run, it's always recommended
100-
to use the most recent PHP version whenever possible. PHP 5.3 is no longer
101-
supported by the PHP core team, but you can update it easily in Azure.
99+
Even though Symfony only requires PHP 5.5.9 to run, it's always recommended
100+
to use the most recent PHP version whenever possible.
102101

103102
To update your PHP version on Azure, go to the **Configure** tab of the control
104103
panel and select the version you want.

Diff for: cookbook/logging/monolog.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
How to Use Monolog to Write Logs
55
================================
66

7-
Monolog_ is a logging library for PHP 5.3 used by Symfony. It is
8-
inspired by the Python LogBook library.
7+
Monolog_ is a logging library for PHP used by Symfony. It is inspired by the
8+
Python LogBook library.
99

1010
Usage
1111
-----

Diff for: cookbook/security/_ircmaxwell_password-compat.rst.inc

-13
This file was deleted.

Diff for: cookbook/security/entity_provider.rst

-2
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,6 @@ the database to be encoded using this encoder. For details on how to create
355355
a new User object with a properly encoded password, see the
356356
:ref:`book-security-encoding-user-password` section of the security chapter.
357357

358-
.. include:: /cookbook/security/_ircmaxwell_password-compat.rst.inc
359-
360358
The ``providers`` section defines an ``administrators`` user provider. A
361359
user provider is a "source" of where users are loaded during authentication.
362360
In this case, the ``entity`` keyword means that Symfony will use the Doctrine

Diff for: cookbook/web_server/built_in.rst

+4-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ How to Use PHP's built-in Web Server
88
The ability to run the server as a background process was introduced
99
in Symfony 2.6.
1010

11-
Since PHP 5.4 the CLI SAPI comes with a `built-in web server`_. It can be used
12-
to run your PHP applications locally during development, for testing or for
13-
application demonstrations. This way, you don't have to bother configuring
14-
a full-featured web server such as
15-
:doc:`Apache or Nginx </cookbook/configuration/web_server_configuration>`.
11+
The CLI SAPI comes with a `built-in web server`_. It can be used to run your
12+
PHP applications locally during development, for testing or for application
13+
demonstrations. This way, you don't have to bother configuring a full-featured
14+
web server such as :doc:`Apache or Nginx </cookbook/configuration/web_server_configuration>`.
1615

1716
.. caution::
1817

Diff for: quick_tour/the_big_picture.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ by showing you a simple project in action.
88
If you've used a web framework before, you should feel right at home with
99
Symfony. If not, welcome to a whole new way of developing web applications.
1010

11-
The only technical requisite to follow this tutorial is to have **PHP 5.4 or higher
11+
The only technical requisite to follow this tutorial is to have **PHP 5.5.9 or higher
1212
installed on your computer**. If you use a packaged PHP solution such as WAMP,
13-
XAMP or MAMP, check out that they are using PHP 5.4 or a more recent version.
13+
XAMP or MAMP, check out that they are using PHP 5.5.9 or a more recent version.
1414
You can also execute the following command in your terminal or command console
1515
to display the installed PHP version:
1616

Diff for: reference/configuration/framework.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,7 @@ API. The ``api`` option is used to switch between the different implementations:
641641
``2.5-bc`` or ``auto``
642642
If you omit a value or set the ``api`` option to ``2.5-bc`` or ``auto``,
643643
Symfony will use an API implementation that is compatible with both the
644-
legacy implementation and the ``2.5`` implementation. You have to use
645-
PHP 5.3.9 or higher to be able to use this implementation.
644+
legacy implementation and the ``2.5`` implementation.
646645

647646
To capture these logs in the ``prod`` environment, configure a
648647
:doc:`channel handler </cookbook/logging/channels_handlers>` in ``config_prod.yml`` for

Diff for: reference/requirements.rst

+1-9
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,11 @@ Below is the list of required and optional requirements.
2121
Required
2222
--------
2323

24-
* PHP needs to be a minimum version of PHP 5.3.3
24+
* PHP needs to be a minimum version of PHP 5.5.9
2525
* JSON needs to be enabled
2626
* ctype needs to be enabled
2727
* Your ``php.ini`` needs to have the ``date.timezone`` setting
2828

29-
.. caution::
30-
31-
Be aware that Symfony has some known limitations when using a PHP version
32-
less than 5.3.8 or equal to 5.3.16. For more information see the
33-
`Requirements section of the README`_.
34-
3529
Optional
3630
--------
3731

@@ -56,5 +50,3 @@ Doctrine
5650
If you want to use Doctrine, you will need to have PDO installed. Additionally,
5751
you need to have the PDO driver installed for the database server you want
5852
to use.
59-
60-
.. _`Requirements section of the README`: https://github.com/symfony/symfony#requirements

0 commit comments

Comments
 (0)