PSR-2 reformatting PHPDoc corrections
[htmlpurifier.git] / tests / HTMLPurifier / SimpleTest / TextReporter.php
blob583ed40796e73c5e78be4dd6f293aff3dfebae75
1 <?php
3 class HTMLPurifier_SimpleTest_TextReporter extends TextReporter
5 protected $verbose = false;
6 public function __construct($AC)
8 parent::__construct();
9 $this->verbose = $AC['verbose'];
11 public function paintPass($message)
13 parent::paintPass($message);
14 if ($this->verbose) {
15 print 'Pass ' . $this->getPassCount() . ") $message\n";
16 $breadcrumb = $this->getTestList();
17 array_shift($breadcrumb);
18 print "\tin " . implode("\n\tin ", array_reverse($breadcrumb));
19 print "\n";
24 // vim: et sw=4 sts=4