Skip to content

Commit 7e61e81

Browse files
committed
improved tests
1 parent a983479 commit 7e61e81

File tree

6 files changed

+13
-0
lines changed

6 files changed

+13
-0
lines changed

tests/PhpGenerator/ClassType.from.84.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ $res[] = InterfaceType::from(Abc\InterfaceHookSignatures::class);
1818
$res[] = ClassType::from(Abc\AsymmetricVisibilitySignatures::class);
1919
$res[] = ClassType::from(Abc\CombinedSignatures::class);
2020
$res[] = ClassType::from(Abc\ConstructorAllSignatures::class);
21+
$res[] = ClassType::from(Abc\PropertyHookSignaturesChild::class);
2122

2223
sameFile(__DIR__ . '/expected/ClassType.from.84.expect', implode("\n", $res));

tests/PhpGenerator/expected/ClassType.from.84.expect

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,7 @@ class ConstructorAllSignatures
161161
) {
162162
}
163163
}
164+
165+
class PropertyHookSignaturesChild extends PropertyHookSignatures
166+
{
167+
}

tests/PhpGenerator/expected/Extractor.classes.84.expect

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,7 @@ class ConstructorAllSignatures
160160
) {
161161
}
162162
}
163+
164+
class PropertyHookSignaturesChild extends PropertyHookSignatures
165+
{
166+
}

tests/PhpGenerator/fixtures/classes.84.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,7 @@ public function __construct(
168168
},
169169
) {}
170170
}
171+
172+
class PropertyHookSignaturesChild extends PropertyHookSignatures
173+
{
174+
}

0 commit comments

Comments
 (0)