Returns an array with accepted analyzer types. These types can be
concrete analyzer classes or one of the descriptive analyzer interfaces.
public getAcceptedAnalyzers ( ) : array(string) | ||
Результат | array(string) |
/** * Tests that the logger returns the expected set of analyzers. * * @return void */ public function testReturnsExceptedAnalyzers() { $logger = new Pyramid(); $actual = $logger->getAcceptedAnalyzers(); $exptected = array('pdepend.analyzer.coupling', 'pdepend.analyzer.cyclomatic_complexity', 'pdepend.analyzer.inheritance', 'pdepend.analyzer.node_count', 'pdepend.analyzer.node_loc'); $this->assertEquals($exptected, $actual); }