@@ -31,37 +31,37 @@ class Cache
3131 Namespaces = 'namespaces ' ,
3232 All = 'all ' ;
3333
34- /** @deprecated use Cache::Priority */
34+ #[\Deprecated( ' use Cache::Priority ' )]
3535 public const PRIORITY = self ::Priority;
3636
37- /** @deprecated use Cache::Expire */
37+ #[\Deprecated( ' use Cache::Expire ' )]
3838 public const EXPIRATION = self ::Expire;
3939
40- /** @deprecated use Cache::Expire */
40+ #[\Deprecated( ' use Cache::Expire ' )]
4141 public const EXPIRE = self ::Expire;
4242
43- /** @deprecated use Cache::Sliding */
43+ #[\Deprecated( ' use Cache::Sliding ' )]
4444 public const SLIDING = self ::Sliding;
4545
46- /** @deprecated use Cache::Tags */
46+ #[\Deprecated( ' use Cache::Tags ' )]
4747 public const TAGS = self ::Tags;
4848
49- /** @deprecated use Cache::Files */
49+ #[\Deprecated( ' use Cache::Files ' )]
5050 public const FILES = self ::Files;
5151
52- /** @deprecated use Cache::Items */
52+ #[\Deprecated( ' use Cache::Items ' )]
5353 public const ITEMS = self ::Items;
5454
55- /** @deprecated use Cache::Constants */
55+ #[\Deprecated( ' use Cache::Constants ' )]
5656 public const CONSTS = self ::Constants;
5757
58- /** @deprecated use Cache::Callbacks */
58+ #[\Deprecated( ' use Cache::Callbacks ' )]
5959 public const CALLBACKS = self ::Callbacks;
6060
61- /** @deprecated use Cache::Namespaces */
61+ #[\Deprecated( ' use Cache::Namespaces ' )]
6262 public const NAMESPACES = self ::Namespaces;
6363
64- /** @deprecated use Cache::All */
64+ #[\Deprecated( ' use Cache::All ' )]
6565 public const ALL = self ::All;
6666
6767 /** @internal */
@@ -379,9 +379,7 @@ public function capture(mixed $key): ?OutputHelper
379379 }
380380
381381
382- /**
383- * @deprecated use capture()
384- */
382+ #[\Deprecated('use capture() ' )]
385383 public function start ($ key ): ?OutputHelper
386384 {
387385 trigger_error (__METHOD__ . '() was renamed to capture() ' , E_USER_DEPRECATED );
0 commit comments