summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-11 16:43:43 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-11 16:43:43 +0200
commit0d43822fd354f1e68ad1ac93e6fd4537ca194cb5 (patch)
tree90d180f3b9b71427aa78509d4552bf3fe4cff896
parentc5af8fcf865f973691a15e9d6d0092cc8b439774 (diff)
remove duplication checks
-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;