Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfabiocarneiro <fahecs@gmail.com>2015-05-27 12:56:17 +0300
committerfabiocarneiro <fahecs@gmail.com>2015-05-27 12:56:17 +0300
commita2a63d34ebb460174e1a3e8d8022fe3e3ab4b469 (patch)
treefbfc480352bc711bc03f12849824507e56b5034a /core/ReportRenderer
parentb2f5b5489ceca056217fc6663ec6c2c6b052cd42 (diff)
fix core folder with php-cs-fixer for psr-2
Diffstat (limited to 'core/ReportRenderer')
-rw-r--r--core/ReportRenderer/Html.php1
-rw-r--r--core/ReportRenderer/Pdf.php3
2 files changed, 1 insertions, 3 deletions
diff --git a/core/ReportRenderer/Html.php b/core/ReportRenderer/Html.php
index 6c0e950c3e..3ff0fd0d40 100644
--- a/core/ReportRenderer/Html.php
+++ b/core/ReportRenderer/Html.php
@@ -172,7 +172,6 @@ class Html extends ReportRenderer
foreach ($processedReports as $processedReport) {
if ($processedReport['displayGraph']) {
-
$additionalFiles[] = $this->getAttachment($report, $processedReport, $prettyDate);
}
}
diff --git a/core/ReportRenderer/Pdf.php b/core/ReportRenderer/Pdf.php
index 4f0ee97bdc..8c1dbcf2b5 100644
--- a/core/ReportRenderer/Pdf.php
+++ b/core/ReportRenderer/Pdf.php
@@ -196,7 +196,6 @@ class Pdf extends ReportRenderer
// segment
if ($segment != null) {
-
$this->TCPDF->Ln();
$this->TCPDF->Ln();
$this->TCPDF->SetFont($this->reportFont, '', $this->reportHeaderFontSize - 2);
@@ -472,7 +471,7 @@ class Pdf extends ReportRenderer
&& $columnsCount <= 3
) {
$totalWidth = $this->reportWidthPortrait * 2 / 3;
- } else if ($this->orientation == self::LANDSCAPE) {
+ } elseif ($this->orientation == self::LANDSCAPE) {
$totalWidth = $this->reportWidthLandscape;
} else {
$totalWidth = $this->reportWidthPortrait;