Skip to content

Commit 6a9a26a

Browse files
committed
Merge branch '2.8'
2 parents d6c5d5b + d16bd3e commit 6a9a26a

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

contributing/code/security.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ Security Advisories
103103
This section indexes security vulnerabilities that were fixed in Symfony
104104
releases, starting from Symfony 1.0.0:
105105

106+
* May 26, 2015: `CVE-2015-4050: ESI unauthorized access <http://symfony.com/blog/cve-2015-4050-esi-unauthorized-access>`_ (Symfony 2.3.29, 2.5.12 and 2.6.8)
106107
* April 1, 2015: `CVE-2015-2309: Unsafe methods in the Request class <http://symfony.com/blog/cve-2015-2309-unsafe-methods-in-the-request-class>`_ (Symfony 2.3.27, 2.5.11 and 2.6.6)
107108
* April 1, 2015: `CVE-2015-2308: Esi Code Injection <http://symfony.com/blog/cve-2015-2308-esi-code-injection>`_ (Symfony 2.3.27, 2.5.11 and 2.6.6)
108109
* September 3, 2014: `CVE-2014-6072: CSRF vulnerability in the Web Profiler <http://symfony.com/blog/cve-2014-6072-csrf-vulnerability-in-the-web-profiler>`_ (Symfony 2.3.19, 2.4.9 and 2.5.4)

contributing/documentation/format.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ submitting your documentation, follow these steps:
210210

211211
* Install Sphinx_;
212212
* Install the Sphinx extensions using git submodules: ``$ git submodule update --init``;
213-
* Run ``make html`` and view the generated HTML in the ``build/`` directory.
213+
* Run ``make html`` and view the generated HTML in the ``_build/html`` directory.
214214

215215
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
216216
.. _Sphinx: http://sphinx-doc.org/

cookbook/console/command_in_controller.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,14 @@ Run this command from inside your controller via::
4545
'command' => 'swiftmailer:spool:send',
4646
'--message-limit' => $messages,
4747
));
48-
// our use NullOutput() if you don't need the outpu
48+
// You can use NullOutput() if you don't need the output
4949
$output = new BufferedOutput();
5050
$application->run($input, $output);
5151

52-
// return the output
52+
// return the output, don't use if you used NullOutput()
5353
$content = $output->fetch();
54-
54+
55+
// return new Response(""), if you used NullOutput()
5556
return new Response($content);
5657
}
5758
}

cookbook/deployment/platformsh.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ your Git repository which contains the following files:
7979
# .platform/routes.yaml
8080
"http://{default}/":
8181
type: upstream
82-
upstream: "php:php"
82+
# the first part should be your project name
83+
upstream: "myphpproject:php"
8384
8485
.. code-block:: yaml
8586
@@ -95,13 +96,13 @@ Configure Database Access
9596
~~~~~~~~~~~~~~~~~~~~~~~~~
9697

9798
Platform.sh overrides your database specific configuration via importing the
98-
following file::
99+
following file (it's your role to add this file to your code base)::
99100

100101
// app/config/parameters_platform.php
101102
<?php
102103
$relationships = getenv("PLATFORM_RELATIONSHIPS");
103-
if (!$relationships) {
104-
return;
104+
if (!$relationships) {
105+
return;
105106
}
106107

107108
$relationships = json_decode(base64_decode($relationships), true);

quick_tour/the_big_picture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ you'll see the following code:
254254
{% extends 'base.html.twig' %}
255255

256256
{% block body %}
257-
<h1>Welcome to Symfony!</h1>
257+
Homepage.
258258
{% endblock %}
259259

260260
This template is created with `Twig`_, a new template engine created for

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy