@@ -31,37 +31,37 @@ class Cache
31
31
Namespaces = 'namespaces ' ,
32
32
All = 'all ' ;
33
33
34
- /** @deprecated use Cache::Priority */
34
+ #[\Deprecated( ' use Cache::Priority ' )]
35
35
public const PRIORITY = self ::Priority;
36
36
37
- /** @deprecated use Cache::Expire */
37
+ #[\Deprecated( ' use Cache::Expire ' )]
38
38
public const EXPIRATION = self ::Expire;
39
39
40
- /** @deprecated use Cache::Expire */
40
+ #[\Deprecated( ' use Cache::Expire ' )]
41
41
public const EXPIRE = self ::Expire;
42
42
43
- /** @deprecated use Cache::Sliding */
43
+ #[\Deprecated( ' use Cache::Sliding ' )]
44
44
public const SLIDING = self ::Sliding;
45
45
46
- /** @deprecated use Cache::Tags */
46
+ #[\Deprecated( ' use Cache::Tags ' )]
47
47
public const TAGS = self ::Tags;
48
48
49
- /** @deprecated use Cache::Files */
49
+ #[\Deprecated( ' use Cache::Files ' )]
50
50
public const FILES = self ::Files;
51
51
52
- /** @deprecated use Cache::Items */
52
+ #[\Deprecated( ' use Cache::Items ' )]
53
53
public const ITEMS = self ::Items;
54
54
55
- /** @deprecated use Cache::Constants */
55
+ #[\Deprecated( ' use Cache::Constants ' )]
56
56
public const CONSTS = self ::Constants;
57
57
58
- /** @deprecated use Cache::Callbacks */
58
+ #[\Deprecated( ' use Cache::Callbacks ' )]
59
59
public const CALLBACKS = self ::Callbacks;
60
60
61
- /** @deprecated use Cache::Namespaces */
61
+ #[\Deprecated( ' use Cache::Namespaces ' )]
62
62
public const NAMESPACES = self ::Namespaces;
63
63
64
- /** @deprecated use Cache::All */
64
+ #[\Deprecated( ' use Cache::All ' )]
65
65
public const ALL = self ::All;
66
66
67
67
/** @internal */
@@ -379,9 +379,7 @@ public function capture(mixed $key): ?OutputHelper
379
379
}
380
380
381
381
382
- /**
383
- * @deprecated use capture()
384
- */
382
+ #[\Deprecated('use capture() ' )]
385
383
public function start ($ key ): ?OutputHelper
386
384
{
387
385
trigger_error (__METHOD__ . '() was renamed to capture() ' , E_USER_DEPRECATED );
0 commit comments