improved code styles #158 (#172)

* use php-cs-fixer instead of phpcodesniffer
* updated scrutinizer config
* adjusted code yules to all files
* updated CONTRIBUTING guidelines
This commit is contained in:
Kevin Papst
2018-06-22 21:09:10 +02:00
committed by GitHub
parent 773d27bb0e
commit cd7cbeae88
142 changed files with 775 additions and 467 deletions

View File

@@ -48,6 +48,7 @@ class ProjectStatistic
public function setRecordAmount($recordAmount)
{
$this->recordAmount = (int) $recordAmount;
return $this;
}
@@ -68,6 +69,7 @@ class ProjectStatistic
public function setRecordDuration($recordDuration)
{
$this->recordDuration = (int) $recordDuration;
return $this;
}
@@ -88,6 +90,7 @@ class ProjectStatistic
public function setCount($count)
{
$this->count = (int) $count;
return $this;
}
@@ -106,6 +109,7 @@ class ProjectStatistic
public function setActivityAmount($activityAmount)
{
$this->activityAmount = (int) $activityAmount;
return $this;
}
}