Skip to content

Commit

Permalink
Merge branch '7.0' into 7.1
Browse files Browse the repository at this point in the history
* 7.0:
  Mention that you need a config/ dir for MicroKernelTrait
  • Loading branch information
javiereguiluz committed Jun 18, 2024
2 parents 8c98527 + 7f138ad commit cf8f710
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions configuration/micro_kernel_trait.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,16 @@ Next, create an ``index.php`` file that defines the kernel class and runs it:
$response->send();
$kernel->terminate($request, $response);
.. versionadded:: 6.1

Check failure on line 123 in configuration/micro_kernel_trait.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

You are not allowed to use version "6.1". Only major version "7" is allowed.

Check failure on line 123 in configuration/micro_kernel_trait.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

Please only provide ".. versionadded::" if the version is greater/equal "7.0"

The PHP attributes notation has been introduced in Symfony 6.1.

.. note::

In addition to the ``index.php`` file, you'll need to create a directory called
``config/`` in your project (even if it's empty because you define the configuration
options inside the ``configureContainer()`` method).

That's it! To test it, start the :doc:`Symfony Local Web Server
</setup/symfony_server>`:

Expand Down

0 comments on commit cf8f710

Please sign in to comment.