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

sirbrillig / phpcs-variable-analysis / 13853172128

14 Mar 2025 08:59AM UTC coverage: 93.812%. Remained the same
13853172128

Pull #350

github

jrfnl
GH Actions: use the xmllint-validate action runner

Instead of doing all the installation steps for xmllint validation in the workflow, use the :sparkles: new dedicated `phpcsstandards/xmllint-validate` action runner instead.

Ref: https://github.com/marketplace/actions/xmllint-validate
Pull Request #350: GH Actions: use the xmllint-validate action runner

1880 of 2004 relevant lines covered (93.81%)

137.02 hits per line

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

100.0
/VariableAnalysis/Lib/EnumInfo.php
1
<?php
2

3
namespace VariableAnalysis\Lib;
4

5
/**
6
 * Holds details of an enum.
7
 */
8
class EnumInfo
9
{
10
        /**
11
         * The position of the `enum` token.
12
         *
13
         * @var int
14
         */
15
        public $enumIndex;
16

17
        /**
18
         * The position of the block opener (curly brace) for the enum.
19
         *
20
         * @var int
21
         */
22
        public $blockStart;
23

24
        /**
25
         * The position of the block closer (curly brace) for the enum.
26
         *
27
         * @var int
28
         */
29
        public $blockEnd;
30

31
        /**
32
         * @param int $enumIndex
33
         * @param int $blockStart
34
         * @param int $blockEnd
35
         */
36
        public function __construct(
4✔
37
                $enumIndex,
38
                $blockStart,
39
                $blockEnd
40
        ) {
41
                $this->enumIndex = $enumIndex;
4✔
42
                $this->blockStart = $blockStart;
4✔
43
                $this->blockEnd = $blockEnd;
4✔
44
        }
2✔
45
}
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