summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.scrutinizer.yml5
-rw-r--r--controller/entityapiserializer.php1
2 files changed, 6 insertions, 0 deletions
diff --git a/.scrutinizer.yml b/.scrutinizer.yml
index 8bbc75cb3..e1a621e2c 100644
--- a/.scrutinizer.yml
+++ b/.scrutinizer.yml
@@ -16,3 +16,8 @@ imports:
tools:
external_code_coverage:
timeout: 600
+
+checks:
+ php:
+ # not helpful because there is no setting to tweek the threshold
+ duplication: false \ No newline at end of file
diff --git a/controller/entityapiserializer.php b/controller/entityapiserializer.php
index 955b8db98..073ad5c39 100644
--- a/controller/entityapiserializer.php
+++ b/controller/entityapiserializer.php
@@ -16,6 +16,7 @@ use \OCA\News\Db\IAPI;
class EntityApiSerializer {
+ private $level;
public function __construct($level) {
$this->level = $level;