diff --git a/reference/configuration/kernel.rst b/reference/configuration/kernel.rst index 4ef889f6fb5..5852927e7ad 100644 --- a/reference/configuration/kernel.rst +++ b/reference/configuration/kernel.rst @@ -105,7 +105,7 @@ method to return the right project directory:: Cache Directory ~~~~~~~~~~~~~~~ -**type**: ``string`` **default**: ``$this->rootDir/cache/$this->environment`` +**type**: ``string`` **default**: ``$this->getProjectDir()/var/cache/$this->environment`` This returns the absolute path of the cache directory of your Symfony project. It's calculated automatically based on the current @@ -119,7 +119,7 @@ cache directory. Log Directory ~~~~~~~~~~~~~ -**type**: ``string`` **default**: ``$this->rootDir/log`` +**type**: ``string`` **default**: ``$this->getProjectDir()/var/log`` .. deprecated:: 4.2 diff --git a/reference/forms/types/country.rst b/reference/forms/types/country.rst index dbf2a87cc5b..da066decbb9 100644 --- a/reference/forms/types/country.rst +++ b/reference/forms/types/country.rst @@ -70,7 +70,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames()`` +**default**: ``Symfony\Component\Intl\Countries::getNames()`` The country type defaults the ``choices`` option to the whole list of countries. The locale is used to translate the countries names. diff --git a/reference/forms/types/currency.rst b/reference/forms/types/currency.rst index 83fdafa4e17..9921baa75d9 100644 --- a/reference/forms/types/currency.rst +++ b/reference/forms/types/currency.rst @@ -62,7 +62,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getCurrencyBundle()->getCurrencyNames()`` +**default**: ``Symfony\Component\Intl\Currencies::getNames()`` The choices option defaults to all currencies. diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index 7aee017fcce..9a751ecc4af 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -72,7 +72,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames()``. +**default**: ``Symfony\Component\Intl\Languages::getNames()``. The choices option defaults to all languages. The default locale is used to translate the languages names. diff --git a/reference/forms/types/locale.rst b/reference/forms/types/locale.rst index 6afaddd6250..2ff8e24ce51 100644 --- a/reference/forms/types/locale.rst +++ b/reference/forms/types/locale.rst @@ -73,7 +73,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getLocaleBundle()->getLocaleNames()`` +**default**: ``Symfony\Component\Intl\Locales::getNames()`` The choices option defaults to all locales. It uses the default locale to specify the language. diff --git a/setup.rst b/setup.rst index b6ccd34210b..f9585b1eb6a 100644 --- a/setup.rst +++ b/setup.rst @@ -237,7 +237,7 @@ stable version. If you want to use an LTS version, add the ``--version`` option: .. code-block:: terminal - # use the most recent 'lts' version + # use the most recent LTS version $ symfony new my_project_name --version=lts # use the 'next' Symfony version to be released (still in development)