Fix travis

This commit is contained in:
Alexandre SPANGARO 2019-07-28 07:33:57 +02:00
parent 83e2f71e07
commit 3e69421ec3
6 changed files with 11 additions and 11 deletions

View File

@ -151,7 +151,7 @@ class box_graph_invoices_permonth extends ModeleBoxes
{
if ($startmonth != 0)
{
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
}
else
{
@ -196,7 +196,7 @@ class box_graph_invoices_permonth extends ModeleBoxes
{
if ($startmonth != 0)
{
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
}
else
{

View File

@ -148,7 +148,7 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
{
if ($startmonth != 0)
{
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
}
else
{
@ -193,7 +193,7 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
{
if ($startmonth != 0)
{
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
}
else
{

View File

@ -149,7 +149,7 @@ class box_graph_orders_permonth extends ModeleBoxes
{
if ($startmonth != 0)
{
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
}
else
{
@ -192,7 +192,7 @@ class box_graph_orders_permonth extends ModeleBoxes
{
if ($startmonth != 0)
{
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
}
else
{

View File

@ -148,7 +148,7 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes
{
if ($startmonth != 0)
{
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
}
else
{
@ -191,7 +191,7 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes
{
if ($startmonth != 0)
{
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
}
else
{

View File

@ -149,7 +149,7 @@ class box_graph_propales_permonth extends ModeleBoxes
{
if ($startmonth != 0)
{
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
}
else
{

View File

@ -106,7 +106,7 @@ abstract class Stats
$year=$startyear;
while($year <= $endyear)
{
$data[$i][]=$datay[$year - (1 - (int)(($i+$startmonth)/12)) + ($startmonth == 0 ? 1 : 0)][($i+$startmonth)%12][1];
$data[$i][]=$datay[$year - (1 - (int)(($i+$startmonth)/12)) + ($startmonth == 0 ? 1 : 0 )][($i+$startmonth)%12][1];
$year++;
}
}
@ -206,7 +206,7 @@ abstract class Stats
$year=$startyear;
while($year <= $endyear)
{
$data[$i][]=$datay[$year - (1 - (int)(($i+$startmonth)/12)) + ($startmonth == 0 ? 1 : 0)][($i+$startmonth)%12][1]; // set yval for x=i
$data[$i][]=$datay[$year - (1 - (int)(($i+$startmonth)/12)) + ($startmonth == 0 ? 1 : 0 )][($i+$startmonth)%12][1]; // set yval for x=i
$year++;
}
}