From be7ee70ad17100dfc2e906864275ffb5020384dc Mon Sep 17 00:00:00 2001 From: Philipp Rieber Date: Wed, 30 Oct 2013 08:15:16 +0100 Subject: [PATCH 1/2] [Components][Filesystem] Move version hint for dumpFile method --- components/filesystem.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/filesystem.rst b/components/filesystem.rst index fe8c93439d6..f7b11cacce8 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -229,12 +229,12 @@ isAbsolutePath // return false $fs->isAbsolutePath('../dir'); -.. versionadded:: 2.3 - ``dumpFile`` is new in Symfony 2.3 - dumpFile ~~~~~~~~ +.. versionadded:: 2.3 +``dumpFile`` is new in Symfony 2.3 + :method:`Symfony\\Component\\Filesystem\\Filesystem::dumpFile` allows you to dump contents to a file. It does this in an atomic manner: it writes a temporary file first and then moves it to the new file location when it's finished. From dda6dde68143d3ca970a7c1cbd63a402eefec370 Mon Sep 17 00:00:00 2001 From: Philipp Rieber Date: Wed, 30 Oct 2013 08:43:47 +0100 Subject: [PATCH 2/2] [Components][Filesystem] Fix versionadded box indentation --- components/filesystem.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/filesystem.rst b/components/filesystem.rst index f7b11cacce8..c6ec42de2fa 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -233,7 +233,7 @@ dumpFile ~~~~~~~~ .. versionadded:: 2.3 -``dumpFile`` is new in Symfony 2.3 + ``dumpFile`` is new in Symfony 2.3 :method:`Symfony\\Component\\Filesystem\\Filesystem::dumpFile` allows you to dump contents to a file. It does this in an atomic manner: it writes a temporary