diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-12-19 10:33:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-19 10:33:30 +0100 |
commit | f87a71cf23d2b7f2d2dd6cdf5223f5e86a7e4fe8 (patch) | |
tree | ab7c6f2779b28296e376ade2ea67d481bd754fca /lib | |
parent | 11c19a4541c408b75c967ef1ebb6dfdee7a4436c (diff) | |
parent | cdd69c0f97b200cc5411dcdbc66ade7317301387 (diff) | |
download | nextcloud-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
Diffstat (limited to 'lib')
-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); } /** |