Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
AFPParserState
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace MediaWiki\Extension\AbuseFilter\Parser;
4
5class AFPParserState {
6    /** @var AFPToken */
7    public $token;
8    /** @var int */
9    public $pos;
10
11    /**
12     * @param AFPToken $token
13     * @param int $pos
14     */
15    public function __construct( AFPToken $token, $pos ) {
16        $this->token = $token;
17        $this->pos = $pos;
18    }
19}