Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-12-18 17:39:14 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-12-18 17:39:14 +0300
commitcdd69c0f97b200cc5411dcdbc66ade7317301387 (patch)
treee6c7f8aad7f50235bdbc05cfc02ef254633cf48f /lib
parentc44fd46c8c08c0085fc7bdc13141e10c8c33802a (diff)
Only parse php7 code in app code checker
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/App/CodeChecker/CodeChecker.php2
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);
}
/**