Skip to content

Commit 49af85e

Browse files
committed
FIX coding style (due to updates to PHPCS)
1 parent 9ac76d1 commit 49af85e

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/CheckInjectableVersion.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use Attribute;
88

9-
#[Attribute(Attribute::TARGET_METHOD)]
9+
#[\Attribute(\Attribute::TARGET_METHOD)]
1010
class CheckInjectableVersion
1111
{
1212
}

src/Friend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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)]
1313
class Friend
1414
{
1515
/** @param class-string ...$friends */

src/InjectableVersion.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use Attribute;
88

9-
#[Attribute(Attribute::TARGET_CLASS)]
9+
#[\Attribute(\Attribute::TARGET_CLASS)]
1010
class InjectableVersion
1111
{
1212
}

src/Package.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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)]
1313
class Package
1414
{
1515
}

src/Sealed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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)]
1313
class Sealed
1414
{
1515
/** @param class-string ...$permitted */

src/TestTag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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)]
1313
class TestTag
1414
{
1515
}

0 commit comments

Comments
 (0)