Closed thekid closed 6 years ago
#[@test] public function succeeds() { } #[@test, @expect(IllegalArgumentException::class)] public function throws() { }
<<test>> public function succeeds() { } <<test, expect('lang.IllegalArgumentException')>> public function throws() { }
Could be realized by migrating to xp-forge/mirrors which already supports Hack attributes; but that would also bump the minimum PHP version to 5.6
Supported via XP Compiler transparently.
PHP
Hack