Only parse php7 code in app code checker
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
c44fd46c8c
commit
cdd69c0f97
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class CodeChecker extends BasicEmitter {
|
|||
public function __construct(ICheck $checkList, $checkMigrationSchema) {
|
||||
$this->checkList = $checkList;
|
||||
$this->checkMigrationSchema = $checkMigrationSchema;
|
||||
$this->parser = (new ParserFactory)->create(ParserFactory::PREFER_PHP7);
|
||||
$this->parser = (new ParserFactory)->create(ParserFactory::ONLY_PHP7);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue