Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 8
CRAP
0.00% covered (danger)
0.00%
0 / 10
NullTokenHandler
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 8
72
0.00% covered (danger)
0.00%
0 / 10
 startDocument
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 endDocument
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 error
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 characters
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 startTag
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 3
 endTag
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 doctype
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 comment
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
<?php
namespace RemexHtml\Tokenizer;
/**
 * A TokenHandler which does nothing
 */
class NullTokenHandler implements TokenHandler {
    /**
     * @inheritDoc
     */
    public function startDocument( Tokenizer $t, $fns, $fn ) {
    }
    /**
     * @inheritDoc
     */
    public function endDocument( $pos ) {
    }
    /**
     * @inheritDoc
     */
    public function error( $text, $pos ) {
    }
    /**
     * @inheritDoc
     */
    public function characters( $text, $start, $length, $sourceStart, $sourceLength ) {
    }
    /**
     * @inheritDoc
     */
    public function startTag( $name, Attributes $attrs, $selfClose,
       $sourceStart, $sourceLength
    ) {
    }
    /**
     * @inheritDoc
     */
    public function endTag( $name, $sourceStart, $sourceLength ) {
    }
    /**
     * @inheritDoc
     */
    public function doctype( $name, $public, $system, $quirks, $sourceStart, $sourceLength ) {
    }
    /**
     * @inheritDoc
     */
    public function comment( $text, $sourceStart, $sourceLength ) {
    }
}