File tree Expand file tree Collapse file tree 4 files changed +0
-32
lines changed Expand file tree Collapse file tree 4 files changed +0
-32
lines changed Original file line number Diff line number Diff line change 1717use phpDocumentor \Reflection \Type ;
1818use phpDocumentor \Reflection \Types \Boolean ;
1919
20- use function class_alias ;
21-
2220/**
2321 * Value Object representing the PseudoType 'False', which is a Boolean type.
2422 *
@@ -36,5 +34,3 @@ public function __toString(): string
3634 return 'false ' ;
3735 }
3836}
39-
40- class_alias (False_::class, 'phpDocumentor\Reflection\Types\False_ ' , false );
Original file line number Diff line number Diff line change 1717use phpDocumentor \Reflection \Type ;
1818use phpDocumentor \Reflection \Types \Boolean ;
1919
20- use function class_alias ;
21-
2220/**
2321 * Value Object representing the PseudoType 'False', which is a Boolean type.
2422 *
@@ -36,5 +34,3 @@ public function __toString(): string
3634 return 'true ' ;
3735 }
3836}
39-
40- class_alias (True_::class, 'phpDocumentor\Reflection\Types\True_ ' , false );
Original file line number Diff line number Diff line change @@ -40,16 +40,4 @@ public function testFalseStringifyCorrectly(): void
4040
4141 $ this ->assertSame ('false ' , (string ) $ false );
4242 }
43-
44- /**
45- * @covers \phpDocumentor\Reflection\PseudoTypes\False_
46- */
47- public function testCanBeInstantiatedUsingDeprecatedFqsen (): void
48- {
49- $ false = new \phpDocumentor \Reflection \Types \False_ ();
50-
51- $ this ->assertSame ('false ' , (string ) $ false );
52- $ this ->assertInstanceOf (False_::class, $ false );
53- $ this ->assertInstanceOf (\phpDocumentor \Reflection \Types \False_::class, $ false );
54- }
5543}
Original file line number Diff line number Diff line change @@ -40,16 +40,4 @@ public function testTrueStringifyCorrectly(): void
4040
4141 $ this ->assertSame ('true ' , (string ) $ true );
4242 }
43-
44- /**
45- * @covers \phpDocumentor\Reflection\PseudoTypes\True_
46- */
47- public function testCanBeInstantiatedUsingDeprecatedFqsen (): void
48- {
49- $ true = new \phpDocumentor \Reflection \Types \True_ ();
50-
51- $ this ->assertSame ('true ' , (string ) $ true );
52- $ this ->assertInstanceOf (True_::class, $ true );
53- $ this ->assertInstanceOf (\phpDocumentor \Reflection \Types \True_::class, $ true );
54- }
5543}
You can’t perform that action at this time.
0 commit comments