• 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/ScopeInfo.php
1
<?php
2

3
namespace VariableAnalysis\Lib;
4

5
/**
6
 * Holds details of a scope.
7
 */
8
class ScopeInfo
9
{
10
        /**
11
         * The token index of the start of this scope.
12
         *
13
         * @var int
14
         */
15
        public $scopeStartIndex;
16

17
        /**
18
         * The token index of the end of this scope, if important.
19
         *
20
         * @var int|null
21
         */
22
        public $scopeEndIndex;
23

24
        /**
25
         * The variables defined in this scope.
26
         *
27
         * @var VariableInfo[]
28
         */
29
        public $variables = [];
30

31
        /**
32
         * @param int      $scopeStartIndex
33
         * @param int|null $scopeEndIndex
34
         */
35
        public function __construct($scopeStartIndex, $scopeEndIndex = null)
352✔
36
        {
37
                $this->scopeStartIndex = $scopeStartIndex;
352✔
38
                $this->scopeEndIndex = $scopeEndIndex;
352✔
39
        }
176✔
40
}
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