Skip to content

Commit

Permalink
Fix the version in which AsDoctrineListener was added
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreesen authored Jun 26, 2024
1 parent 2d7a29a commit dcb42cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doctrine/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,9 @@ listener in the Symfony application by creating a new service for it and
;
};
.. versionadded:: 2.7.2
.. versionadded:: 2.8.0

Check failure on line 394 in doctrine/events.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

You are not allowed to use version "2.8.0". Only major version "6" is allowed.

Check failure on line 394 in doctrine/events.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

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

The `AsDoctrineListener`_ attribute was introduced in DoctrineBundle 2.7.2.
The `AsDoctrineListener`_ attribute was introduced in DoctrineBundle 2.8.0.

.. tip::

Expand Down Expand Up @@ -421,4 +421,4 @@ Instead, use any of the other alternatives shown above.
.. _`lifecycle events`: https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/events.html#lifecycle-events
.. _`official docs about Doctrine events`: https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/events.html
.. _`DoctrineMongoDBBundle documentation`: https://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html
.. _`AsDoctrineListener`: https://github.com/doctrine/DoctrineBundle/blob/2.10.x/Attribute/AsDoctrineListener.php
.. _`AsDoctrineListener`: https://github.com/doctrine/DoctrineBundle/blob/2.12.x/src/Attribute/AsDoctrineListener.php

0 comments on commit dcb42cb

Please sign in to comment.