Skip to content

Commit e5766fc

Browse files
authored
Cleanup.
1 parent 07e6715 commit e5766fc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

PSR2R/Tools/Tokenizer.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
class Tokenizer {
1717

18-
const STANDARD = 'PSR2R/ruleset.xml';
19-
2018
/**
2119
* @var string
2220
*/
@@ -52,14 +50,6 @@ public function __construct($argv) {
5250
* @return void
5351
*/
5452
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']);
6353
$res = [];
6454
$tokens = $this->_getTokens($this->path);
6555

0 commit comments

Comments
 (0)