Skip to content

Commit

Permalink
Merge branch '2.0' into 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Dec 19, 2012
2 parents 67bdae4 + 98d118b commit 2c2d4ff
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion contributing/code/bugs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If your problem definitely looks like a bug, report it using the official bug
* Describe the steps needed to reproduce the bug with short code examples
(providing a unit test that illustrates the bug is best);

* Give as much details as possible about your environment (OS, PHP version,
* Give as much detail as possible about your environment (OS, PHP version,
Symfony version, enabled extensions, ...);

* *(optional)* Attach a :doc:`patch <patches>`.
Expand Down
2 changes: 1 addition & 1 deletion contributing/code/patches.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Get the Symfony2 source code:

* Fork the `Symfony2 repository`_ (click on the "Fork" button);

* After the "hardcore forking action" has completed, clone your fork locally
* After the "forking action" has completed, clone your fork locally
(this will create a `symfony` directory):

.. code-block:: bash
Expand Down
4 changes: 2 additions & 2 deletions contributing/code/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ This section indexes security vulnerabilities that were fixed in Symfony
releases, starting from Symfony 1.0.0:

* November 29, 2012: `Security release: Symfony 2.0.19 and 2.1.4 <http://symfony.com/blog/security-release-symfony-2-0-19-and-2-1-4>`_
* November 25, 2012: `Security release: symfony 1.4.20 released <http://symfony.com/blog/security-release-symfony-1-4-20-released>`_
* November 25, 2012: `Security release: symfony 1.4.20 released <http://symfony.com/blog/security-release-symfony-1-4-20-released>`_ (`CVE-2012-5574 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5574>`_)
* August 28, 2012: `Security Release: Symfony 2.0.17 released <http://symfony.com/blog/security-release-symfony-2-0-17-released>`_
* May 30, 2012: `Security Release: symfony 1.4.18 released <http://symfony.com/blog/security-release-symfony-1-4-18-released>`_
* May 30, 2012: `Security Release: symfony 1.4.18 released <http://symfony.com/blog/security-release-symfony-1-4-18-released>`_ (`CVE-2012-2667 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2667>`_)
* February 24, 2012: `Security Release: Symfony 2.0.11 released <http://symfony.com/blog/security-release-symfony-2-0-11-released>`_
* November 16, 2011: `Security Release: Symfony 2.0.6 <http://symfony.com/blog/security-release-symfony-2-0-6>`_
* March 21, 2011: `symfony 1.3.10 and 1.4.10: security releases <http://symfony.com/blog/symfony-1-3-10-and-1-4-10-security-releases>`_
Expand Down
8 changes: 6 additions & 2 deletions contributing/code/standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ documents.
Since a picture - or some code - is worth a thousand words, here's a short
example containing most features described below:

.. code-block:: php+html
.. code-block:: html+php

<?php

Expand Down Expand Up @@ -108,12 +108,16 @@ Naming Conventions

* Use namespaces for all classes;

* Abstract classes are often prefixed with ``Abstract``;
* Prefix abstract classes with ``Abstract``. Please note some early Symfony2 classes
do not follow this convention and have not been renamed for backward compatibility
reasons. However all new abstract classes must follow this naming convention;

* Suffix interfaces with ``Interface``;

* Suffix traits with ``Trait``;

* Suffix exceptions with ``Exception``;

* Use alphanumeric characters and underscores for file names;

* Don't forget to look at the more verbose :doc:`conventions` document for
Expand Down
4 changes: 0 additions & 4 deletions contributing/documentation/format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@ The current list of supported formats are the following:
+-----------------+-------------+
| html+jinja | Twig |
+-----------------+-------------+
| jinja+html | Twig |
+-----------------+-------------+
| php+html | PHP |
+-----------------+-------------+
| html+php | PHP |
+-----------------+-------------+
| ini | INI |
Expand Down
6 changes: 3 additions & 3 deletions cookbook/configuration/pdo_session_storage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,22 +136,22 @@ parameter.ini by referencing the database-related parameters defined there:
pdo:
class: PDO
arguments:
- "mysql:dbname=%database_name%"
- "mysql:host=%database_host%;port=%database_port%;dbname=%database_name%"
- %database_user%
- %database_password%
.. code-block:: xml
<service id="pdo" class="PDO">
<argument>mysql:dbname=%database_name%</argument>
<argument>mysql:host=%database_host%;port=%database_port%;dbname=%database_name%</argument>
<argument>%database_user%</argument>
<argument>%database_password%</argument>
</service>
.. code-block:: php
$pdoDefinition = new Definition('PDO', array(
'mysql:dbname=%database_name%',
'mysql:host=%database_host%;port=%database_port%;dbname=%database_name%',
'%database_user%',
'%database_password%',
));
Expand Down
2 changes: 1 addition & 1 deletion cookbook/doctrine/file_uploads.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ The following controller shows you how to handle the entire process::

When writing the template, don't forget to set the ``enctype`` attribute:

.. code-block:: html+php
.. code-block:: html+jinja

<h1>Upload File</h1>

Expand Down
Binary file modified images/book/doctrine_image_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/book/doctrine_image_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/request-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions reference/configuration/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
single: Doctrine; ORM configuration reference
single: Configuration reference; Doctrine ORM

Configuration Reference
=======================
Doctrine Configuration Reference
================================

.. configuration-block::

Expand Down
2 changes: 1 addition & 1 deletion reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ trust_proxy_headers
**type**: ``Boolean``

Configures if HTTP headers (like ``HTTP_X_FORWARDED_FOR``, ``X_FORWARDED_PROTO``, and
``X_FORWARDED_HOST``) are trusted as indication for an SSL connection. By default, it is
``X_FORWARDED_HOST``) are trusted as an indication for an SSL connection. By default, it is
set to ``false`` and only SSL_HTTPS connections are indicated as secure.

You should enable this setting if your application is behind a reverse proxy.
Expand Down
4 changes: 2 additions & 2 deletions reference/configuration/monolog.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. index::
pair: Monolog; Configuration reference

Configuration Reference
=======================
Monolog Configuration Reference
===============================

.. configuration-block::

Expand Down
2 changes: 1 addition & 1 deletion reference/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ the command line via:

.. code-block:: bash
php app/check.php
$ php app/check.php
Below is the list of required and optional requirements.

Expand Down

0 comments on commit 2c2d4ff

Please sign in to comment.