8000 Merge branch '4.3' into 4.4 · symfony/symfony-docs@81970b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 81970b4

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: [minor] remove usage of Kernel::$rootDir from docs Changed names of Intl classes in form types docs uppercase
2 parents ab3a7eb + a9aa86a commit 81970b4

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

reference/configuration/kernel.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ method to return the right project directory::
105105
Cache Directory
106106
~~~~~~~~~~~~~~~
107107

108-
**type**: ``string`` **default**: ``$this->rootDir/cache/$this->environment``
108+
**type**: ``string`` **default**: ``$this->getProjectDir()/var/cache/$this->environment``
109109

110110
This returns the absolute path of the cache directory of your Symfony project.
111111
It's calculated automatically based on the current
@@ -119,7 +119,7 @@ cache directory.
119119
Log Directory
120120
~~~~~~~~~~~~~
121121

122-
**type**: ``string`` **default**: ``$this->rootDir/log``
122+
**type**: ``string`` **default**: ``$this->getProjectDir()/var/log``
123123

124124
.. deprecated:: 4.2
125125

reference/forms/types/country.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Overridden Options
8484
choices
8585
~~~~~~~
8686

87-
**default**: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames()``
87+
**default**: ``Symfony\Component\Intl\Countries::getNames()``
8888

8989
The country type defaults the ``choices`` option to the whole list of countries.
9090
The locale is used to translate the countries names.

reference/forms/types/currency.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Overridden Options
6262
choices
6363
~~~~~~~
6464

65-
**default**: ``Symfony\Component\Intl\Intl::getCurrencyBundle()->getCurrencyNames()``
65+
**default**: ``Symfony\Component\Intl\Currencies::getNames()``
6666

6767
The choices option defaults to all currencies.
6868

reference/forms/types/language.rst

-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Overridden Options
8686
choices
8787
~~~~~~~
8888

89-
**default**: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames()``.
89+
**default**: ``Symfony\Component\Intl\Languages::getNames()``.
9090

9191
The choices option defaults to all languages.
9292
The default locale is used to translate the languages names.

reference/forms/types/locale.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Overridden Options
7373
choices
7474
~~~~~~~
7575

76-
**default**: ``Symfony\Component\Intl\Intl::getLocaleBundle()->getLocaleNames()``
76+
**default**: ``Symfony\Component\Intl\Locales::getNames()``
7777

7878
The choices option defaults to all locales. It uses the default locale to
7979
specify the language.

setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
237237

238238
.. code-block:: terminal
239239
240-
# use the most recent 'lts' version
240+
# use the most recent LTS version
241241
$ symfony new my_project_name --version=lts
242242
243243
# use the 'next' Symfony version to be released (still in development)

0 commit comments

Comments
 (0)
0