Skip to content

Commit c858f1b

Browse files
authored
Merge pull request #17 from sirbrillig/update/match-style-2
Clean up style errors in sniff
2 parents a443efc + 28b31fc commit c858f1b

File tree

4 files changed

+1383
-1398
lines changed

4 files changed

+1383
-1398
lines changed

VariableAnalysis/ScopeInfo.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace VariableAnalysis;
4+
5+
/**
6+
* Holds details of a scope.
7+
*/
8+
class ScopeInfo {
9+
public $owner;
10+
public $opener;
11+
public $closer;
12+
public $variables = array();
13+
14+
public function __construct($currScope) {
15+
$this->owner = $currScope;
16+
// TODO: extract opener/closer
17+
}
18+
}

0 commit comments

Comments
 (0)