• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MyIntervals / PHP-CSS-Parser / 13117244728

03 Feb 2025 03:43PM UTC coverage: 45.68%. Remained the same
13117244728

Pull #342

github

web-flow
Merge 49ee98ddf into 1fad44a1b
Pull Request #342: Fixes #341

0 of 1 new or added line in 1 file covered. (0.0%)

809 of 1771 relevant lines covered (45.68%)

12.41 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Parsing/Anchor.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Sabberworm\CSS\Parsing;
6

7
/**
8
 * @internal since 8.7.0
9
 */
10
class Anchor
11
{
12
    /**
13
     * @var int
14
     */
15
    private $iPosition;
16

17
    /**
18
     * @var ParserState
19
     */
20
    private $parserState;
21

22
    /**
23
     * @param int $iPosition
24
     */
25
    public function __construct($iPosition, ParserState $parserState)
×
26
    {
27
        $this->iPosition = $iPosition;
×
28
        $this->parserState = $parserState;
×
29
    }
×
30

31
    public function backtrack(): void
×
32
    {
33
        $this->parserState->setPosition($this->iPosition);
×
34
    }
×
35
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc