File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
docs/source/miscellaneous Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,8 @@ The generated ``class_Atmosphere_methods`` must be used when registering the ``A
223
223
224
224
Additional meta information can be attached to functions, with the following PHPDoc tags:
225
225
226
- - ``@deprecated ``: Triggers the usual deprecation notice when the function/method is called.
226
+ - ``@deprecated ``: Triggers the usual deprecation notice when the function/method is called. As of
227
+ PHP 8.4.0 the `#[Deprecated] ` attribute should be used instead.
227
228
228
229
- ``@alias ``: If a function/method is an alias of another function/method, then the aliased
229
230
function/method name has to be provided as value. E.g. the function ``sizeof() `` has the ``@alias
@@ -452,7 +453,8 @@ with ``@cvalue M_PI`` to the C-level constant ``M_PI`` (define by PHP's internal
452
453
453
454
Constants can take the following extra meta information passed via PHPDoc tags:
454
455
455
- - ``@deprecated ``: Triggers a deprecation notice when the constant is used.
456
+ - ``@deprecated ``: Triggers a deprecation notice when the constant is used. As of PHP 8.5.0 the
457
+ `#[Deprecated] ` attribute should be used instead.
456
458
457
459
- ``@genstubs-expose-comment-block ``: By adding this tag at the beginning of a PHPDoc block, the
458
460
content of the PHPDoc block will be exposed for `ReflectionClass::getDocComment() `. This feature
You can’t perform that action at this time.
0 commit comments