summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-12-19 10:33:30 +0100
committerGitHub <noreply@github.com>2019-12-19 10:33:30 +0100
commitf87a71cf23d2b7f2d2dd6cdf5223f5e86a7e4fe8 (patch)
treeab7c6f2779b28296e376ade2ea67d481bd754fca
parent11c19a4541c408b75c967ef1ebb6dfdee7a4436c (diff)
parentcdd69c0f97b200cc5411dcdbc66ade7317301387 (diff)
downloadnextcloud-server-f87a71cf23d2b7f2d2dd6cdf5223f5e86a7e4fe8.tar.gz
nextcloud-server-f87a71cf23d2b7f2d2dd6cdf5223f5e86a7e4fe8.zip
Merge pull request #18470 from nextcloud/techdebt/app-code-checker-php7-only
Only parse php7 code in app code checker
-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);
}
/**