Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions components/filesystem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -478,12 +478,12 @@ Finding Directories/Root Directories
PHP offers the function :phpfunction:`dirname` to obtain the directory path of a
file path. This method has a few quirks::

- `dirname()` does not accept backslashes on UNIX
- `dirname("C:/Programs")` returns "C:", not "C:/"
- `dirname("C:/")` returns ".", not "C:/"
- `dirname("C:")` returns ".", not "C:/"
- `dirname("Programs")` returns ".", not ""
- `dirname()` does not canonicalize the result
- ``dirname()`` does not accept backslashes on UNIX
- ``dirname("C:/Programs")`` returns "C:", not "C:/"
- ``dirname("C:/")`` returns ".", not "C:/"
- ``dirname("C:")`` returns ".", not "C:/"
- ``dirname("Programs")`` returns ".", not ""
- ``dirname()`` does not canonicalize the result

:method:`Symfony\\Component\\Filesystem\\Path::getDirectory` fixes these
shortcomings::
Expand Down
2 changes: 1 addition & 1 deletion components/runtime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ application outside of the global state in 6 steps:
returns a :class:`Symfony\\Component\\Runtime\\RunnerInterface`: an instance
that knows how to "run" the application object.
#. The ``RunnerInterface::run(object $application)`` is called and it returns the
exit status code as `int`.
exit status code as ``int``.
#. The PHP engine is terminated with this status code.

When creating a new runtime, there are two things to consider: First, what arguments
Expand Down
2 changes: 1 addition & 1 deletion components/workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ a ``Definition`` and a way to write the states to the objects (i.e. an
instance of a :class:`Symfony\\Component\\Workflow\\MarkingStore\\MarkingStoreInterface`).

Consider the following example for a blog post. A post can have one of a number
of predefined statuses (`draft`, `reviewed`, `rejected`, `published`). In a workflow,
of predefined statuses (``draft``, ``reviewed``, ``rejected``, ``published``). In a workflow,
these statuses are called **places**. You can define the workflow like this::

use Symfony\Component\Workflow\DefinitionBuilder;
Expand Down
2 changes: 1 addition & 1 deletion mercure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ Testing

During unit testing it's usually not needed to send updates to Mercure.

You can instead make use of the `MockHub` class::
You can instead make use of the ``MockHub`` class::

// tests/FunctionalTest.php
namespace App\Tests\Unit\Controller;
Expand Down
2 changes: 1 addition & 1 deletion setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ the server by pressing ``Ctrl+C`` from your terminal.
Symfony Docker Integration
~~~~~~~~~~~~~~~~~~~~~~~~~~

If you'd like to use Docker with Symfony, see :doc:`setup/docker`
If you'd like to use Docker with Symfony, see :doc:`/setup/docker`.

.. _symfony-flex:

Expand Down