We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07e6715 commit e5766fcCopy full SHA for e5766fc
PSR2R/Tools/Tokenizer.php
@@ -15,8 +15,6 @@
15
16
class Tokenizer {
17
18
- const STANDARD = 'PSR2R/ruleset.xml';
19
-
20
/**
21
* @var string
22
*/
@@ -52,14 +50,6 @@ public function __construct($argv) {
52
50
* @return void
53
51
54
public function tokenize() {
55
- $_SERVER['argv'] = [];
56
- $_SERVER['argv'][] = '--encoding=utf8';
57
58
- $standard = $this->root . static::STANDARD;
59
- $_SERVER['argv'][] = '--standard=' . $standard;
60
61
- $_SERVER['argv'][] = $this->path;
62
- $_SERVER['argc'] = count($_SERVER['argv']);
63
$res = [];
64
$tokens = $this->_getTokens($this->path);
65
0 commit comments