Merge pull request #18470 from nextcloud/techdebt/app-code-checker-php7-only
Only parse php7 code in app code checker
This commit is contained in:
commit
f87a71cf23
|
@ -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 New Issue