File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77use Attribute ;
88
9- #[Attribute(Attribute::TARGET_METHOD )]
9+ #[\ Attribute(\ Attribute::TARGET_METHOD )]
1010class CheckInjectableVersion
1111{
1212}
Original file line number Diff line number Diff line change 99/**
1010 * Limits calling methods to those listed as the method's or class's friends.
1111 */
12- #[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD )]
12+ #[\ Attribute(\ Attribute::TARGET_CLASS | \ Attribute::TARGET_METHOD )]
1313class Friend
1414{
1515 /** @param class-string ...$friends */
Original file line number Diff line number Diff line change 66
77use Attribute ;
88
9- #[Attribute(Attribute::TARGET_CLASS )]
9+ #[\ Attribute(\ Attribute::TARGET_CLASS )]
1010class InjectableVersion
1111{
1212}
Original file line number Diff line number Diff line change 99/**
1010 * Limit calls to classes or methods with the Package attribute to calls from classes in the name namespace.
1111 */
12- #[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD )]
12+ #[\ Attribute(\ Attribute::TARGET_CLASS | \ Attribute::TARGET_METHOD )]
1313class Package
1414{
1515}
Original file line number Diff line number Diff line change 99/**
1010 * Limits the classes that can extend/implement to those listed in $permitted.
1111 */
12- #[Attribute(Attribute::TARGET_CLASS )]
12+ #[\ Attribute(\ Attribute::TARGET_CLASS )]
1313class Sealed
1414{
1515 /** @param class-string ...$permitted */
Original file line number Diff line number Diff line change 99/**
1010 * Add the TestTag attribute to a method that should only be called by test code.
1111 */
12- #[Attribute(Attribute::TARGET_METHOD )]
12+ #[\ Attribute(\ Attribute::TARGET_METHOD )]
1313class TestTag
1414{
1515}
You can’t perform that action at this time.
0 commit comments