extract dependencies from user attributes
[hiphop-php.git] / hphp / hack / test / integration / data / dependencies / expected / __with_constr_prop_with_user_attr.php.exp
blob43eedfd9afffefcccf86004dd117e1acefaeeebb
1 <?hh
3 class WithConstrPropWithUserAttr {
4 public function __construct(<<\MyUserAttr('blah')>> private int $i) {
5 throw new \Exception();
9 function with_constr_prop_with_user_attr(): void {
10 $_ = new WithConstrPropWithUserAttr(2);
13 final class MyUserAttr
14 implements
15 \HH\ClassAttribute,
16 \HH\MethodAttribute,
17 \HH\TypeAliasAttribute,
18 \HH\EnumAttribute,
19 \HH\FunctionAttribute,
20 \HH\InstancePropertyAttribute,
21 \HH\StaticPropertyAttribute,
22 \HH\ParameterAttribute,
23 \HH\TypeParameterAttribute,
24 \HH\TypeConstantAttribute {
25 public function __construct(string $first, string ...$remainder)[] {
26 throw new \Exception();