summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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);
}
/**