public function testTrait() { $this->assertRecompilesCorrectly(function () { return [__TRAIT__, __TRAIT__]; }); $this->assertRecompilesCorrectly([$this, 'traitMagicConstant']); }