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

sirbrillig / phpcs-variable-analysis / 15122323241

19 May 2025 08:15PM UTC coverage: 93.79%. Remained the same
15122323241

push

github

web-flow
Ruleset: update schema URL (#353)

PHPCS now offers permalinks for the schema.

Refs:
* PHPCSStandards/PHP_CodeSniffer 1094
* https://github.com/PHPCSStandards/schema.phpcodesniffer.com

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>

1903 of 2029 relevant lines covered (93.79%)

138.99 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