コード例 #1
0
 /** @codeCoverageIgnore */
 private function getConfig()
 {
     $Default = array('source' => $this->Source->getDirectory(), 'destination' => $this->Destination->getDirectory(), 'extensions' => array('php'), 'charset' => 'auto', 'main' => $this->Project, 'title' => $this->Title, 'templateConfig' => __DIR__ . '/../../../Vendor/Template/config.neon', 'groups' => 'auto', 'allowedHtml' => array('b', 'i', 'a', 'ul', 'ol', 'li', 'p', 'br', 'var', 'samp', 'kbd', 'tt'), 'autocomplete' => array('classes', 'constants', 'functions'), 'accessLevels' => array('public', 'protected', 'private'), 'internal' => true, 'php' => true, 'tree' => true, 'deprecated' => true, 'todo' => true, 'sourceCode' => true, 'download' => false, 'report' => $this->Destination->getDirectory() . DIRECTORY_SEPARATOR . '_improve.xml', 'wipeout' => false, 'quiet' => false, 'progressbar' => false, 'colors' => false, 'updateCheck' => false, 'debug' => false);
     if (null === $this->Exclude) {
         return $Default;
     } else {
         return array_merge($Default, array('exclude' => $this->Exclude->getGlobList()));
     }
 }
コード例 #2
0
 public function testExcludeParameter()
 {
     $Parameter = new ExcludeParameter(array('/Test1/*', '/Test2/*'));
     $this->assertEquals('/Test1/*,/Test2/*', $Parameter->getGlobList());
 }