Skip to content

Commit e5bf840

Browse files
committed
Merge remote-tracking branch 'upstream/2.7' into 2.7
2 parents 266d60c + ecde568 commit e5bf840

19 files changed

+73
-214
lines changed

.platform.app.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ hooks:
5757
export PIP_USER=
5858
pip install pip==9.0.1 wheel==0.29.0
5959
pip install -r _build/.requirements.txt
60+
find .virtualenv -type f -name "*.rst" -delete
6061
make -C _build html

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ sudo: false
66
cache:
77
directories: [$HOME/.cache/pip]
88

9-
install: pip install sphinx~=1.3.0 git+https://github.com/fabpot/sphinx-php.git
9+
install: pip install -r _build/.requirements.txt
1010

11-
script: sphinx-build -nW -c _build/ -b html -d _build/doctrees . _build/html
11+
script: make -C _build SPHINXOPTS=-nW html
1212

1313
branches:
1414
except:

_build/.requirements.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
alabaster==0.7.9
2-
Babel==2.3.4
1+
alabaster==0.7.10
2+
Babel==2.4.0
33
docutils==0.13.1
44
imagesize==0.7.1
5-
Jinja2==2.9.4
6-
MarkupSafe==0.23
5+
Jinja2==2.9.6
6+
MarkupSafe==1.0
77
Pygments==2.2.0
8-
pytz==2016.10
8+
pytz==2017.2
99
requests==2.12.5
1010
six==1.10.0
1111
snowballstemmer==1.2.1
12-
Sphinx==1.5.2
12+
Sphinx==1.3.6
1313
git+https://github.com/fabpot/sphinx-php.git@7312eccce9465640752e51373a480da700e02345#egg_name=sphinx-php
14-

_build/redirection_map

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
/cookbook/form/inherit_data_option /form/inherit_data_option
163163
/cookbook/form/unit_testing /form/unit_testing
164164
/cookbook/form/use_empty_data /form/use_empty_data
165-
/cookbook/frontend/bower /frontend/bower
165+
/cookbook/frontend/bower /frontend
166166
/cookbook/frontend/index /frontend
167167
/cookbook/install/unstable_versions /setup/unstable_versions
168168
/cookbook/install/bundles /setup/bundles

contributing/code/standards.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Naming Conventions
186186
* Use camelCase, not underscores, for variable, function and method
187187
names, arguments;
188188

189-
* Use underscores for option names and parameter names;
189+
* Use underscores for configuration options and parameters;
190190

191191
* Use namespaces for all classes;
192192

deployment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Don't forget that deploying your application also involves updating any dependen
197197
(typically via Composer), migrating your database, clearing your cache and
198198
other potential things like pushing assets to a CDN (see `Common Post-Deployment Tasks`_).
199199

200-
.. _`Capifony`: http://capifony.org/
200+
.. _`Capifony`: https://github.com/everzet/capifony
201201
.. _`Capistrano`: http://capistranorb.com/
202202
.. _`sf2debpkg`: https://github.com/liip/sf2debpkg
203203
.. _`Fabric`: http://www.fabfile.org/

email.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ an email is pretty straightforward::
103103

104104
public function indexAction($name)
105105
{
106-
$message = new \Swift_Message('Hello Email')
106+
$message = (new \Swift_Message('Hello Email'))
107107
->setFrom('[email protected]')
108108
->setTo('[email protected]')
109109
->setBody(
@@ -125,6 +125,7 @@ an email is pretty straightforward::
125125
)
126126
*/
127127
;
128+
128129
$this->get('mailer')->send($message);
129130

130131
return $this->render(...);

email/dev_environment.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Now, suppose you're sending an email to ``[email protected]``.
100100
101101
public function indexAction($name)
102102
{
103-
$message = new \Swift_Message('Hello Email')
103+
$message = (new \Swift_Message('Hello Email'))
104104
->setFrom('[email protected]')
105105
->setTo('[email protected]')
106106
->setBody(
@@ -110,6 +110,7 @@ Now, suppose you're sending an email to ``[email protected]``.
110110
)
111111
)
112112
;
113+
113114
$this->get('mailer')->send($message);
114115
115116
return $this->render(...);

email/testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Start with an easy controller action that sends an email::
1414

1515
public function sendEmailAction($name)
1616
{
17-
$message = new \Swift_Message('Hello Email')
17+
$message = (new \Swift_Message('Hello Email'))
1818
->setFrom('[email protected]')
1919
->setTo('[email protected]')
2020
->setBody('You should see me from the profiler!')

form/type_guesser.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ With this knowledge, you can easily implement the ``guessType()`` method of the
136136
$phpdoc = $reflectionProperty->getDocComment();
137137

138138
// parse the $phpdoc into an array like:
139-
// array('type' => 'string', 'since' => '1.0')
139+
// array('var' => 'string', 'since' => '1.0')
140140
$phpdocTags = ...;
141141

142142
return $phpdocTags;

0 commit comments

Comments
 (0)