mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
don't consider calls to methods with assertions as Unused
This commit is contained in:
parent
9c9669ea44
commit
65c41e7543
@ -1091,7 +1091,7 @@ class UnusedCodeTest extends TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
$a = new A();
|
$a = new A();
|
||||||
$a->getVal(null);',
|
echo $a->getVal(null);',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user