*/ public function testSomething() { $o = new Foo\CoveredClass; $o->publicMethod(); } } Code Coverage Report: %s Summary: Classes: 0.00% (0/1) Methods: 50.00% (1/2) Lines: 87.50% (7/8) CoveredClassWithAnonymousFunctionInStaticMethod Methods: 50.00% ( 1/ 2) Lines: 80.00% ( 4/ 5)