More log to find bug
This commit is contained in:
parent
345aa33efd
commit
9314859ead
@ -77,8 +77,9 @@ before_script:
|
|||||||
#script: phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml --coverage-text test/phpunit/AllTests.php
|
#script: phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml --coverage-text test/phpunit/AllTests.php
|
||||||
#script: phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml --coverage-text test/phpunit/BuildDocTest.php
|
#script: phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml --coverage-text test/phpunit/BuildDocTest.php
|
||||||
#script: phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml test/phpunit/WebservicesOtherTest.php
|
#script: phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml test/phpunit/WebservicesOtherTest.php
|
||||||
|
#script: phpcs -s --report-checkstyle --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/documents/,/includes/,/test/report/ .
|
||||||
script:
|
script:
|
||||||
- phpcs -s --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/documents/,/includes/,/test/report/ .
|
- phpcs -s --report-checkstyle --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/documents/,/includes/,/test/report/ .
|
||||||
- phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml test/phpunit/AllTests.php
|
- phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml test/phpunit/AllTests.php
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
|
|||||||
@ -1,20 +1,20 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (c) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (c) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (c) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (c) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 3 of the License, or
|
* the Free Software Foundation; either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/core/class/dolgraph.class.php
|
* \file htdocs/core/class/dolgraph.class.php
|
||||||
@ -437,6 +437,7 @@ class DolGraph
|
|||||||
function SetBgColor($bg_color = array(255,255,255))
|
function SetBgColor($bg_color = array(255,255,255))
|
||||||
{
|
{
|
||||||
global $theme_bgcolor,$theme_bgcoloronglet;
|
global $theme_bgcolor,$theme_bgcoloronglet;
|
||||||
|
|
||||||
if (! is_array($bg_color))
|
if (! is_array($bg_color))
|
||||||
{
|
{
|
||||||
if ($bg_color == 'onglet')
|
if ($bg_color == 'onglet')
|
||||||
@ -464,6 +465,7 @@ class DolGraph
|
|||||||
function SetBgColorGrid($bg_colorgrid = array(255,255,255))
|
function SetBgColorGrid($bg_colorgrid = array(255,255,255))
|
||||||
{
|
{
|
||||||
global $theme_bgcolor,$theme_bgcoloronglet;
|
global $theme_bgcolor,$theme_bgcoloronglet;
|
||||||
|
|
||||||
if (! is_array($bg_colorgrid))
|
if (! is_array($bg_colorgrid))
|
||||||
{
|
{
|
||||||
if ($bg_colorgrid == 'onglet')
|
if ($bg_colorgrid == 'onglet')
|
||||||
@ -1033,6 +1035,7 @@ class DolGraph
|
|||||||
return $this->_stringtoshow;
|
return $this->_stringtoshow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getDefaultGraphSizeForStats
|
* getDefaultGraphSizeForStats
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user