Skip to content

Commit 066d8b5

Browse files
committed
test: Fix CoversFunction attribute
1 parent 78aec93 commit 066d8b5

11 files changed

+14
-14
lines changed

tests/AsBoolTest.php

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

1919
#[CoversClass(TypeGuard::class)]
2020
#[CoversClass(NotConvertable::class)]
21-
#[CoversFunction('\Plook\TypeGuard\asBool')]
21+
#[CoversFunction('Plook\TypeGuard\asBool')]
2222
final class AsBoolTest extends TestCase
2323
{
2424
public function testDoesNotTouchBools(): void

tests/AsDateTimeImmutableTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
#[CoversClass(TypeGuard::class)]
2121
#[CoversClass(NotConvertable::class)]
22-
#[CoversFunction('\Plook\TypeGuard\asDateTimeImmutable')]
23-
#[CoversFunction('\Plook\TypeGuard\asString')]
22+
#[CoversFunction('Plook\TypeGuard\asDateTimeImmutable')]
23+
#[CoversFunction('Plook\TypeGuard\asString')]
2424
final class AsDateTimeImmutableTest extends TestCase
2525
{
2626
private readonly DateTimeZone $originalTimeZone;

tests/AsDateTimeStringTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
#[CoversClass(TypeGuard::class)]
1919
#[CoversClass(NotConvertable::class)]
20-
#[CoversFunction('\Plook\TypeGuard\asDateTimeString')]
21-
#[CoversFunction('\Plook\TypeGuard\asDateTimeImmutable')]
22-
#[CoversFunction('\Plook\TypeGuard\asString')]
20+
#[CoversFunction('Plook\TypeGuard\asDateTimeString')]
21+
#[CoversFunction('Plook\TypeGuard\asDateTimeImmutable')]
22+
#[CoversFunction('Plook\TypeGuard\asString')]
2323
final class AsDateTimeStringTest extends TestCase
2424
{
2525
private readonly string $originalDateTimeFormat;

tests/AsFloatTest.php

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

1818
#[CoversClass(TypeGuard::class)]
1919
#[CoversClass(NotConvertable::class)]
20-
#[CoversFunction('\Plook\TypeGuard\asFloat')]
20+
#[CoversFunction('Plook\TypeGuard\asFloat')]
2121
final class AsFloatTest extends TestCase
2222
{
2323
public function testDoesNotTouchFloats(): void

tests/AsIntTest.php

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

1818
#[CoversClass(TypeGuard::class)]
1919
#[CoversClass(NotConvertable::class)]
20-
#[CoversFunction('\Plook\TypeGuard\asInt')]
20+
#[CoversFunction('Plook\TypeGuard\asInt')]
2121
final class AsIntTest extends TestCase
2222
{
2323
public function testDoesNotTouchInts(): void

tests/AsStringTest.php

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

1818
#[CoversClass(TypeGuard::class)]
1919
#[CoversClass(NotConvertable::class)]
20-
#[CoversFunction('\Plook\TypeGuard\asString')]
20+
#[CoversFunction('Plook\TypeGuard\asString')]
2121
final class AsStringTest extends TestCase
2222
{
2323
public function testDoesNotTouchStrings(): void

tests/BlankAsNullTest.php

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

1616
#[CoversClass(TypeGuard::class)]
1717
#[CoversClass(NotConvertable::class)]
18-
#[CoversFunction('\Plook\TypeGuard\blankAsNull')]
18+
#[CoversFunction('Plook\TypeGuard\blankAsNull')]
1919
final class BlankAsNullTest extends TestCase
2020
{
2121
public function testConvertsBlankToNull(): void

tests/FalseAsNullTest.php

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

1616
#[CoversClass(TypeGuard::class)]
1717
#[CoversClass(NotConvertable::class)]
18-
#[CoversFunction('\Plook\TypeGuard\falseAsNull')]
18+
#[CoversFunction('Plook\TypeGuard\falseAsNull')]
1919
final class FalseAsNullTest extends TestCase
2020
{
2121
public function testConvertsFalseToNull(): void

tests/FalsyAsNullTest.php

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

1616
#[CoversClass(TypeGuard::class)]
1717
#[CoversClass(NotConvertable::class)]
18-
#[CoversFunction('\Plook\TypeGuard\falsyAsNull')]
18+
#[CoversFunction('Plook\TypeGuard\falsyAsNull')]
1919
final class FalsyAsNullTest extends TestCase
2020
{
2121
public function testConvertsBlankToNull(): void

tests/NotNullTest.php

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

1818
#[CoversClass(TypeGuard::class)]
1919
#[CoversClass(InvalidValue::class)]
20-
#[CoversFunction('\Plook\TypeGuard\notNull')]
20+
#[CoversFunction('Plook\TypeGuard\notNull')]
2121
final class NotNullTest extends TestCase
2222
{
2323
public function testDoesNotTouchInts(): void

0 commit comments

Comments
 (0)