You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #12610 [3.4] Fixed many spelling issues found in the docs (wouterj)
This PR was merged into the 3.4 branch.
Discussion
----------
[3.4] Fixed many spelling issues found in the docs
I was planning to do this for a long time: Run the [Sphinx spelling checker](https://pypi.org/project/sphinxcontrib.spelling/) on the Symfony documentation.
This PR fixes quite a lot of spelling issues found in the files starting with `b` and `c` for the 3.4 branch. I think it's good to have these fixed, so I'm happy to merge this myself and fix any merge conflicts that might occur while doing the up-merge once.
Meanwhile, I'm also preparing a "word list" of words that the spelling checker doesn't recognize. The spelling checker uses Enhant, which is [also available for PHP](https://www.php.net/manual/en/book.enchant.php). So we might be able to add this to DOCtor when all issues are fixed.
cc @symfony/team-symfony-docs
Commits
-------
bb5fb7b Fixed many spelling issues
``true`` if the given path is absolute, ``false`` otherwise::
@@ -281,16 +281,18 @@ isAbsolutePath
281
281
// returns false
282
282
$filesystem->isAbsolutePath('../dir');
283
283
284
-
tempnam
285
-
~~~~~~~
284
+
``tempnam``
285
+
~~~~~~~~~~~
286
286
287
-
:method:`Symfony\\Component\\Filesystem\\Filesystem::tempnam` creates a temporary file with a unique filename, and returns its path, or throw an exception on failure::
287
+
:method:`Symfony\\Component\\Filesystem\\Filesystem::tempnam` creates a
288
+
temporary file with a unique filename, and returns its path, or throw an
289
+
exception on failure::
288
290
289
291
// returns a path like : /tmp/prefix_wyjgtF
290
292
$filesystem->tempnam('/tmp', 'prefix_');
291
293
292
-
dumpFile
293
-
~~~~~~~~
294
+
``dumpFile``
295
+
~~~~~~~~~~~~
294
296
295
297
:method:`Symfony\\Component\\Filesystem\\Filesystem::dumpFile` saves the given
296
298
contents into a file. It does this in an atomic manner: it writes a temporary
@@ -302,8 +304,8 @@ complete new file (but never a partially-written file)::
302
304
303
305
The ``file.txt`` file contains ``Hello World`` now.
0 commit comments