Skip to content

Commit 3dc80fb

Browse files
committed
Add missing versionadded directives
1 parent ca16ef8 commit 3dc80fb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/phpunit_bridge.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,10 @@ reason, this component also provides mocks for these PHP functions:
738738
* :phpfunction:`trait_exists`
739739
* :phpfunction:`enum_exists`
740740

741+
.. versionadded:: 6.3
742+
743+
The ``enum_exists`` function was introduced in Symfony 6.3.
744+
741745
Use Case
742746
~~~~~~~~
743747

@@ -809,6 +813,10 @@ PHP 8.1 and later, calling ``class_exists`` on a enum will return ``true``.
809813
That's why calling ``ClassExistsMock::withMockedEnums()`` will also register the enum
810814
as a mocked class.
811815

816+
.. versionadded:: 6.3
817+
818+
The ``enum_exists`` function was introduced in Symfony 6.3.
819+
812820
Troubleshooting
813821
---------------
814822

0 commit comments

Comments
 (0)