Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
0e78e631
Commit
0e78e631
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/3.5' into 3.6
Conflicts: .travis.yml
parents
36e6f9a9
869bde5f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+5
-7
5 additions, 7 deletions
.travis.yml
htdocs/projet/class/task.class.php
+12
-10
12 additions, 10 deletions
htdocs/projet/class/task.class.php
with
17 additions
and
17 deletions
.travis.yml
+
5
−
7
View file @
0e78e631
...
@@ -91,15 +91,13 @@ script:
...
@@ -91,15 +91,13 @@ script:
-
php upgrade2.php 3.4.0 3.5.0 > upgrade2.log
-
php upgrade2.php 3.4.0 3.5.0 > upgrade2.log
-
php upgrade.php 3.5.0 3.6.0 >> upgrade.log
-
php upgrade.php 3.5.0 3.6.0 >> upgrade.log
-
php upgrade2.php 3.5.0 3.6.0 >> upgrade2.log
-
php upgrade2.php 3.5.0 3.6.0 >> upgrade2.log
-
cd ../..
# - cat upgrade.log
# - cat upgrade.log
# - cat upgrade2.log
# - cat upgrade2.log
# - phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml --coverage-text test/phpunit/AllTests.php
-
cd ../..
# - phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml --coverage-text test/phpunit/BuildDocTest.php
-
date
# - phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml test/phpunit/WebservicesOtherTest.php
# - phpcs -p --warning-severity=0 -s --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/dev/vagrant/,/documents/,/includes/,/test/report/ htdocs/core/class/dolgraph.class.php 2>&1
# - phpcs -p --warning-severity=0 -s --report-checkstyle --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/documents/,/includes/,/test/report/ htdocs/core/class/dolgraph.class.php 2>&1
-
phpcs -p --warning-severity=0 -s --report-checkstyle --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/dev/vagrant/,/documents/,/includes/,/test/report/ . 2>&1
-
phpcs -p --warning-severity=0 -s --report-checkstyle --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/documents/,/includes/,/test/report/ . 2>&1
-
date
# - phpcs -p --warning-severity=0 -s --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/documents/,/includes/,/test/report/ . 2>&1
-
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
:
...
...
This diff is collapsed.
Click to expand it.
htdocs/projet/class/task.class.php
+
12
−
10
View file @
0e78e631
...
@@ -1238,9 +1238,10 @@ class Task extends CommonObject
...
@@ -1238,9 +1238,10 @@ class Task extends CommonObject
/**
/**
* \brief Return status label of object
* Return status label of object
* \param mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto
*
* \return string Label
* @param string $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto
* @return string Label
*/
*/
function
getLibStatut
(
$mode
=
0
)
function
getLibStatut
(
$mode
=
0
)
{
{
...
@@ -1248,10 +1249,11 @@ class Task extends CommonObject
...
@@ -1248,10 +1249,11 @@ class Task extends CommonObject
}
}
/**
/**
* \brief Renvoi status label for a status
* Return status label for an object
* \param statut id statut
*
* \param mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto
* @param int $statut Id statut
* \return string Label
* @param string $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto
* @return string Label
*/
*/
function
LibStatut
(
$statut
,
$mode
=
0
)
function
LibStatut
(
$statut
,
$mode
=
0
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment