示例#1
0
 private function warnXdebug()
 {
     if (ini_get('xdebug.profiler_enabled')) {
         $this->stdio->warn("xdebug and its profiler is enabled. Formatting will be a lot slower.");
     } elseif (extension_loaded('xdebug')) {
         $this->stdio->warn("xdebug is enabled. Formatting would be faster with xdebug disabled.");
     }
     $this->stdio->outln();
 }
示例#2
0
 private function showOutput()
 {
     foreach ($this->files as $file) {
         if ($file->hasOutput()) {
             $this->stdio->outln('<<ul>>' . $file->getPath() . '<<reset>>:');
             $this->stdio->outln($file->getOutput());
         }
     }
 }