1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-07 22:56:32 +02:00

Remove trailing whitespace.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
Edward Z. Yang
2008-12-06 02:28:20 -05:00
parent 3a6b63dff1
commit 2c955af135
476 changed files with 5595 additions and 5547 deletions

View File

@@ -6,10 +6,10 @@
*/
class HTMLPurifier_ErrorsHarness extends HTMLPurifier_Harness
{
protected $config, $context;
protected $collector, $generator, $callCount;
public function setup() {
$this->config = HTMLPurifier_Config::create(array('Core.CollectErrors' => true));
$this->context = new HTMLPurifier_Context();
@@ -19,19 +19,19 @@ class HTMLPurifier_ErrorsHarness extends HTMLPurifier_Harness
$this->context->register('ErrorCollector', $this->collector);
$this->callCount = 0;
}
protected function expectNoErrorCollection() {
$this->collector->expectNever('send');
}
protected function expectErrorCollection() {
$args = func_get_args();
$this->collector->expectOnce('send', $args);
}
protected function expectContext($key, $value) {
$this->collector->expectContext($key, $value);
}
}