diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-12-18 15:39:14 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-12-18 15:39:14 +0100 |
commit | cdd69c0f97b200cc5411dcdbc66ade7317301387 (patch) | |
tree | e6c7f8aad7f50235bdbc05cfc02ef254633cf48f /lib/private | |
parent | c44fd46c8c08c0085fc7bdc13141e10c8c33802a (diff) | |
download | nextcloud-server-cdd69c0f97b200cc5411dcdbc66ade7317301387.tar.gz nextcloud-server-cdd69c0f97b200cc5411dcdbc66ade7317301387.zip |
Only parse php7 code in app code checker
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/App/CodeChecker/CodeChecker.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/CodeChecker/CodeChecker.php b/lib/private/App/CodeChecker/CodeChecker.php index fc35ecf39af..53fee7482ef 100644 --- a/lib/private/App/CodeChecker/CodeChecker.php +++ b/lib/private/App/CodeChecker/CodeChecker.php @@ -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); } /** |