';
$sql = "SELECT c.label, count(*) as nb";
$sql .= " FROM ".MAIN_DB_PREFIX."categorie_product as cs";
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."categorie as c ON cs.fk_categorie = c.rowid";
@@ -413,7 +413,7 @@ llxFooter();
$db->close();
-/*
+/**
* Print html activity for product type
*
* @param int $product_type Type of product
@@ -422,7 +422,6 @@ $db->close();
function activitytrim($product_type)
{
global $conf, $langs, $db;
- global $bc;
// We display the last 3 years
$yearofbegindate = date('Y', dol_time_plus_duree(time(), -3, "y"));
diff --git a/htdocs/public/stripe/confirm_payment.php b/htdocs/public/stripe/confirm_payment.php
index 25cb358ccea..9a45a2cbeec 100644
--- a/htdocs/public/stripe/confirm_payment.php
+++ b/htdocs/public/stripe/confirm_payment.php
@@ -129,8 +129,8 @@ try {
));
}
-/*
- * generate payment response
+/**
+ * Generate payment response
*
* @param \Stripe\PaymentIntent $intent PaymentIntent
* @return void
diff --git a/htdocs/resource/class/dolresource.class.php b/htdocs/resource/class/dolresource.class.php
index 4cda97b39d1..1b4223e1fff 100644
--- a/htdocs/resource/class/dolresource.class.php
+++ b/htdocs/resource/class/dolresource.class.php
@@ -871,10 +871,12 @@ class Dolresource extends CommonObject
return $resources;
}
- /*
+ /**
* Return an int number of resources linked to the element
*
- * @return int
+ * @param string $element Element type
+ * @param int $element_id Element id
+ * @return int Nb of resources loaded
*/
public function fetchElementResources($element, $element_id)
{
diff --git a/htdocs/ticket/class/utils_diff.class.php b/htdocs/ticket/class/utils_diff.class.php
index 03dff5506b4..84075d395ab 100644
--- a/htdocs/ticket/class/utils_diff.class.php
+++ b/htdocs/ticket/class/utils_diff.class.php
@@ -20,24 +20,21 @@ class Diff
const DELETED = 1;
const INSERTED = 2;
- /* Returns the diff for two strings. The return value is an array, each of
+ /**
+ * Returns the diff for two strings. The return value is an array, each of
* whose values is an array containing two values: a line (or character, if
* $compareCharacters is true), and one of the constants DIFF::UNMODIFIED (the
* line or character is in both strings), DIFF::DELETED (the line or character
* is only in the first string), and DIFF::INSERTED (the line or character is
* only in the second string). The parameters are:
*
- * $string1 - the first string
- * $string2 - the second string
- * $compareCharacters - true to compare characters, and false to compare
- * lines; this optional parameter defaults to false
+ * @param string $string1 First string
+ * @param string $string2 Second string
+ * @param string $compareCharacters true to compare characters, and false to compare lines; this optional parameter defaults to false
+ * @return array Array of diff
*/
- public static function compare(
- $string1,
- $string2,
- $compareCharacters = false
- ) {
-
+ public static function compare($string1, $string2, $compareCharacters = false)
+ {
// initialise the sequences and comparison start and end positions
$start = 0;
if ($compareCharacters) {
@@ -90,12 +87,13 @@ class Diff
return $diff;
}
- /* Returns the diff for two files. The parameters are:
+ /**
+ * Returns the diff for two files. The parameters are:
*
- * $file1 - the path to the first file
- * $file2 - the path to the second file
- * $compareCharacters - true to compare characters, and false to compare
- * lines; this optional parameter defaults to false
+ * @param string $file1 Path to the first file
+ * @param string $file2 Path to the second file
+ * @param boolean $compareCharacters true to compare characters, and false to compare lines; this optional parameter defaults to false
+ * @return array Array of diff
*/
public static function compareFiles(
$file1,
@@ -111,23 +109,18 @@ class Diff
);
}
- /* Returns the table of longest common subsequence lengths for the specified
- * sequences. The parameters are:
+ /**
+ * Returns the table of longest common subsequence lengths for the specified sequences. The parameters are:
*
- * $sequence1 - the first sequence
- * $sequence2 - the second sequence
- * $start - the starting index
- * $end1 - the ending index for the first sequence
- * $end2 - the ending index for the second sequence
+ * @param string $sequence1 the first sequence
+ * @param string $sequence2 the second sequence
+ * @param string $start the starting index
+ * @param string $end1 the ending index for the first sequence
+ * @param string $end2 the ending index for the second sequence
+ * @return array array of diff
*/
- private static function computeTable(
- $sequence1,
- $sequence2,
- $start,
- $end1,
- $end2
- ) {
-
+ private static function computeTable($sequence1, $sequence2, $start, $end1, $end2)
+ {
// determine the lengths to be compared
$length1 = $end1 - $start + 1;
$length2 = $end2 - $start + 1;
@@ -156,21 +149,18 @@ class Diff
return $table;
}
- /* Returns the partial diff for the specificed sequences, in reverse order.
- * The parameters are:
+ /**
+ * Returns the partial diff for the specificed sequences, in reverse order.
+ * The parameters are:
*
- * $table - the table returned by the computeTable function
- * $sequence1 - the first sequence
- * $sequence2 - the second sequence
- * $start - the starting index
+ * @param string $table the table returned by the computeTable function
+ * @param string $sequence1 the first sequence
+ * @param string $sequence2 the second sequence
+ * @param string $start the starting index
+ * @return array array of diff
*/
- private static function generatePartialDiff(
- $table,
- $sequence1,
- $sequence2,
- $start
- ) {
-
+ private static function generatePartialDiff($table, $sequence1, $sequence2, $start)
+ {
// initialise the diff
$diff = array();
@@ -205,17 +195,17 @@ class Diff
return $diff;
}
- /* Returns a diff as a string, where unmodified lines are prefixed by ' ',
+ /**
+ * Returns a diff as a string, where unmodified lines are prefixed by ' ',
* deletions are prefixed by '- ', and insertions are prefixed by '+ '. The
* parameters are:
*
- * $diff - the diff array
- * $separator - the separator between lines; this optional parameter defaults
- * to "\n"
+ * @param array $diff the diff array
+ * @param string $separator the separator between lines; this optional parameter defaults to "\n"
+ * @return string String
*/
public static function toString($diff, $separator = "\n")
{
-
// initialise the string
$string = '';
@@ -242,17 +232,17 @@ class Diff
return $string;
}
- /* Returns a diff as an HTML string, where unmodified lines are contained
+ /**
+ * Returns a diff as an HTML string, where unmodified lines are contained
* within 'span' elements, deletions are contained within 'del' elements, and
* insertions are contained within 'ins' elements. The parameters are:
*
- * $diff - the diff array
- * $separator - the separator between lines; this optional parameter defaults
- * to ' '
+ * @param string $diff the diff array
+ * @param string $separator the separator between lines; this optional parameter defaults to ' '
+ * @return string HTML string
*/
public static function toHTML($diff, $separator = ' ')
{
-
// initialise the HTML
$html = '';
@@ -283,17 +273,16 @@ class Diff
return $html;
}
- /* Returns a diff as an HTML table. The parameters are:
+ /**
+ * Returns a diff as an HTML table. The parameters are:
*
- * $diff - the diff array
- * $indentation - indentation to add to every line of the generated HTML; this
- * optional parameter defaults to ''
- * $separator - the separator between lines; this optional parameter
- * defaults to ' '
+ * @param string $diff the diff array
+ * @param string $indentation indentation to add to every line of the generated HTML; this optional parameter defaults to ''
+ * @param string $separator the separator between lines; this optional parameter defaults to ' '
+ * @return string HTML string
*/
public static function toTable($diff, $indentation = '', $separator = ' ')
{
-
// initialise the HTML
$html = $indentation."\n";
@@ -373,14 +362,16 @@ class Diff
return $html.$indentation." \n";
}
- /* Returns the content of the cell, for use in the toTable function. The
+ /**
+ * Returns the content of the cell, for use in the toTable function. The
* parameters are:
*
- * $diff - the diff array
- * $indentation - indentation to add to every line of the generated HTML
- * $separator - the separator between lines
- * $index - the current index, passes by reference
- * $type - the type of line
+ * @param string $diff the diff array
+ * @param string $indentation indentation to add to every line of the generated HTML
+ * @param string $separator the separator between lines
+ * @param string $index the current index, passes by reference
+ * @param string $type the type of line
+ * @return string HTML string
*/
private static function getCellContent($diff, $indentation, $separator, &$index, $type)
{
diff --git a/htdocs/webservices/server_other.php b/htdocs/webservices/server_other.php
index 3944ef5befa..4ae702ade15 100644
--- a/htdocs/webservices/server_other.php
+++ b/htdocs/webservices/server_other.php
@@ -137,7 +137,12 @@ $server->register(
-// Full methods code
+/**
+ * Full methods code
+ *
+ * @param string $authentication Authentication string
+ * @return array Array of data
+ */
function getVersions($authentication)
{
global $db, $conf, $langs;
diff --git a/htdocs/zapier/class/hook.class.php b/htdocs/zapier/class/hook.class.php
index 32268b039b4..b985c77434e 100644
--- a/htdocs/zapier/class/hook.class.php
+++ b/htdocs/zapier/class/hook.class.php
@@ -715,7 +715,6 @@ class Hook extends CommonObject
*
* @return int 0 if OK, <>0 if KO (this function is used also by cron so only 0 is OK)
*/
- //public function doScheduledJob($param1, $param2, ...)
public function doScheduledJob()
{
global $conf, $langs;
diff --git a/test/phpunit/AccountingAccountTest.php b/test/phpunit/AccountingAccountTest.php
index ea1651c5902..b4367e96f49 100644
--- a/test/phpunit/AccountingAccountTest.php
+++ b/test/phpunit/AccountingAccountTest.php
@@ -73,7 +73,11 @@ class AccountingAccountTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class AccountingAccountTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ActionCommTest.php b/test/phpunit/ActionCommTest.php
index 34d67341afb..0dd4946f69c 100644
--- a/test/phpunit/ActionCommTest.php
+++ b/test/phpunit/ActionCommTest.php
@@ -73,7 +73,11 @@ class ActionCommTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class ActionCommTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/AdherentTest.php b/test/phpunit/AdherentTest.php
index 89e78b32bd9..f19e88c36a6 100644
--- a/test/phpunit/AdherentTest.php
+++ b/test/phpunit/AdherentTest.php
@@ -75,7 +75,11 @@ class AdherentTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -91,7 +95,11 @@ class AdherentTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/AdminLibTest.php b/test/phpunit/AdminLibTest.php
index 7f3c9030725..e3c38c1df86 100644
--- a/test/phpunit/AdminLibTest.php
+++ b/test/phpunit/AdminLibTest.php
@@ -73,7 +73,11 @@ class AdminLibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -82,7 +86,11 @@ class AdminLibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/BOMTest.php b/test/phpunit/BOMTest.php
index 41cbdd9f247..39268bdeaea 100644
--- a/test/phpunit/BOMTest.php
+++ b/test/phpunit/BOMTest.php
@@ -74,7 +74,11 @@ class BOMTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class BOMTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/BankAccountTest.php b/test/phpunit/BankAccountTest.php
index 416a17f0c0f..1007db02dad 100644
--- a/test/phpunit/BankAccountTest.php
+++ b/test/phpunit/BankAccountTest.php
@@ -75,7 +75,11 @@ class BankAccountTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class BankAccountTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/BuildDocTest.php b/test/phpunit/BuildDocTest.php
index 61d7b7f1199..de4da3790b5 100644
--- a/test/phpunit/BuildDocTest.php
+++ b/test/phpunit/BuildDocTest.php
@@ -103,7 +103,11 @@ class BuildDocTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -121,7 +125,11 @@ class BuildDocTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CMailFileTest.php b/test/phpunit/CMailFileTest.php
index 8029959c22b..d407b67d991 100755
--- a/test/phpunit/CMailFileTest.php
+++ b/test/phpunit/CMailFileTest.php
@@ -73,7 +73,11 @@ class CMailFileTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -82,7 +86,11 @@ class CMailFileTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CategorieTest.php b/test/phpunit/CategorieTest.php
index 3c81a7aee21..a62d362a972 100644
--- a/test/phpunit/CategorieTest.php
+++ b/test/phpunit/CategorieTest.php
@@ -74,7 +74,11 @@ class CategorieTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class CategorieTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ChargeSocialesTest.php b/test/phpunit/ChargeSocialesTest.php
index b1a3fd87b30..33349449795 100644
--- a/test/phpunit/ChargeSocialesTest.php
+++ b/test/phpunit/ChargeSocialesTest.php
@@ -74,7 +74,11 @@ class ChargeSocialesTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class ChargeSocialesTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CodingPhpTest.php b/test/phpunit/CodingPhpTest.php
index 733071c0f58..5c3c6d7d54e 100644
--- a/test/phpunit/CodingPhpTest.php
+++ b/test/phpunit/CodingPhpTest.php
@@ -86,7 +86,11 @@ class CodingPhpTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -95,7 +99,11 @@ class CodingPhpTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CodingSqlTest.php b/test/phpunit/CodingSqlTest.php
index b62b9befcc7..f56d00b5bcd 100644
--- a/test/phpunit/CodingSqlTest.php
+++ b/test/phpunit/CodingSqlTest.php
@@ -86,7 +86,11 @@ class CodingSqlTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -95,7 +99,11 @@ class CodingSqlTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CommandeFournisseurTest.php b/test/phpunit/CommandeFournisseurTest.php
index 7ccbf5d0b76..bebd65634bf 100644
--- a/test/phpunit/CommandeFournisseurTest.php
+++ b/test/phpunit/CommandeFournisseurTest.php
@@ -75,7 +75,11 @@ class CommandeFournisseurTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class CommandeFournisseurTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CommandeTest.php b/test/phpunit/CommandeTest.php
index ad2920282b2..990ef41f0b7 100644
--- a/test/phpunit/CommandeTest.php
+++ b/test/phpunit/CommandeTest.php
@@ -73,7 +73,11 @@ class CommandeTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class CommandeTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CommonInvoiceTest.php b/test/phpunit/CommonInvoiceTest.php
index 9f4b5998455..5e9c45825ec 100644
--- a/test/phpunit/CommonInvoiceTest.php
+++ b/test/phpunit/CommonInvoiceTest.php
@@ -73,7 +73,11 @@ class CommonInvoiceTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -82,7 +86,11 @@ class CommonInvoiceTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CommonObjectTest.php b/test/phpunit/CommonObjectTest.php
index e32952c167d..6c68423e8a9 100644
--- a/test/phpunit/CommonObjectTest.php
+++ b/test/phpunit/CommonObjectTest.php
@@ -74,7 +74,11 @@ class CommonObjectTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class CommonObjectTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CompanyBankAccountTest.php b/test/phpunit/CompanyBankAccountTest.php
index 7410e1f15f9..1979f89fabb 100644
--- a/test/phpunit/CompanyBankAccountTest.php
+++ b/test/phpunit/CompanyBankAccountTest.php
@@ -74,7 +74,11 @@ class CompanyBankAccountTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class CompanyBankAccountTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CompanyLibTest.php b/test/phpunit/CompanyLibTest.php
index c45f6ebd208..ab9eb414634 100644
--- a/test/phpunit/CompanyLibTest.php
+++ b/test/phpunit/CompanyLibTest.php
@@ -73,7 +73,11 @@ class CompanyLibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -82,7 +86,11 @@ class CompanyLibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ContactTest.php b/test/phpunit/ContactTest.php
index 8fdaea0cbe7..0c5687e67c9 100755
--- a/test/phpunit/ContactTest.php
+++ b/test/phpunit/ContactTest.php
@@ -82,7 +82,11 @@ class ContactTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -92,7 +96,11 @@ class ContactTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ContratTest.php b/test/phpunit/ContratTest.php
index 7c302105aa2..d364d6c9dff 100644
--- a/test/phpunit/ContratTest.php
+++ b/test/phpunit/ContratTest.php
@@ -74,7 +74,11 @@ class ContratTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class ContratTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/CoreTest.php b/test/phpunit/CoreTest.php
index c34bbffba95..87c43798a0f 100644
--- a/test/phpunit/CoreTest.php
+++ b/test/phpunit/CoreTest.php
@@ -76,7 +76,11 @@ class CoreTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -85,7 +89,11 @@ class CoreTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/DateLibTest.php b/test/phpunit/DateLibTest.php
index dd32e02cee6..062bdb6dd11 100644
--- a/test/phpunit/DateLibTest.php
+++ b/test/phpunit/DateLibTest.php
@@ -74,7 +74,11 @@ class DateLibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class DateLibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/DateLibTzFranceTest.php b/test/phpunit/DateLibTzFranceTest.php
index 895599becde..7e96e39030e 100644
--- a/test/phpunit/DateLibTzFranceTest.php
+++ b/test/phpunit/DateLibTzFranceTest.php
@@ -74,7 +74,11 @@ class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -88,7 +92,11 @@ class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/DiscountTest.php b/test/phpunit/DiscountTest.php
index 202c41958d0..9eba2460655 100644
--- a/test/phpunit/DiscountTest.php
+++ b/test/phpunit/DiscountTest.php
@@ -74,7 +74,11 @@ class DiscountTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class DiscountTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/EntrepotTest.php b/test/phpunit/EntrepotTest.php
index 2ab2fc2aff3..27fd3dabbf3 100644
--- a/test/phpunit/EntrepotTest.php
+++ b/test/phpunit/EntrepotTest.php
@@ -74,7 +74,11 @@ class EntrepotTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -86,7 +90,11 @@ class EntrepotTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ExpenseReportTest.php b/test/phpunit/ExpenseReportTest.php
index 67467ac6c81..3f6402262c3 100644
--- a/test/phpunit/ExpenseReportTest.php
+++ b/test/phpunit/ExpenseReportTest.php
@@ -74,7 +74,11 @@ class ExpenseReportTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class ExpenseReportTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ExportTest.php b/test/phpunit/ExportTest.php
index 3abec2ee0e1..590accccbed 100644
--- a/test/phpunit/ExportTest.php
+++ b/test/phpunit/ExportTest.php
@@ -78,7 +78,11 @@ class ExportTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -87,7 +91,11 @@ class ExportTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/FactureFournisseurTest.php b/test/phpunit/FactureFournisseurTest.php
index b277ba5c1b3..d9cd44a40d2 100644
--- a/test/phpunit/FactureFournisseurTest.php
+++ b/test/phpunit/FactureFournisseurTest.php
@@ -75,7 +75,11 @@ class FactureFournisseurTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class FactureFournisseurTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/FactureRecTest.php b/test/phpunit/FactureRecTest.php
index 71caddeb491..f89ab4b1f13 100644
--- a/test/phpunit/FactureRecTest.php
+++ b/test/phpunit/FactureRecTest.php
@@ -75,7 +75,11 @@ class FactureRecTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class FactureRecTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/FactureTest.php b/test/phpunit/FactureTest.php
index 4e361895fcc..47f3a639b29 100644
--- a/test/phpunit/FactureTest.php
+++ b/test/phpunit/FactureTest.php
@@ -74,7 +74,11 @@ class FactureTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -87,7 +91,11 @@ class FactureTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/FactureTestRounding.php b/test/phpunit/FactureTestRounding.php
index 59ecc240461..f0165a88d0b 100644
--- a/test/phpunit/FactureTestRounding.php
+++ b/test/phpunit/FactureTestRounding.php
@@ -74,7 +74,11 @@ class FactureTestRounding extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class FactureTestRounding extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/FichinterTest.php b/test/phpunit/FichinterTest.php
index ba9408441a1..f78e9250471 100644
--- a/test/phpunit/FichinterTest.php
+++ b/test/phpunit/FichinterTest.php
@@ -74,7 +74,11 @@ class FichinterTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class FichinterTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/FilesLibTest.php b/test/phpunit/FilesLibTest.php
index fb3ce8f5814..9d476953381 100644
--- a/test/phpunit/FilesLibTest.php
+++ b/test/phpunit/FilesLibTest.php
@@ -75,7 +75,11 @@ class FilesLibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class FilesLibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/FormAdminTest.php b/test/phpunit/FormAdminTest.php
index e6b92b698d9..a434841930c 100644
--- a/test/phpunit/FormAdminTest.php
+++ b/test/phpunit/FormAdminTest.php
@@ -74,7 +74,11 @@ class FormAdminTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class FormAdminTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/FormTest.php b/test/phpunit/FormTest.php
index 59cfeb3fa3d..bec23048e9f 100644
--- a/test/phpunit/FormTest.php
+++ b/test/phpunit/FormTest.php
@@ -74,7 +74,11 @@ class FormTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class FormTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/Functions2LibTest.php b/test/phpunit/Functions2LibTest.php
index 4304251d7f1..21fa1f29257 100644
--- a/test/phpunit/Functions2LibTest.php
+++ b/test/phpunit/Functions2LibTest.php
@@ -77,7 +77,11 @@ class Functions2LibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -86,7 +90,11 @@ class Functions2LibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/FunctionsLibTest.php b/test/phpunit/FunctionsLibTest.php
index dff6b3a7d06..e3dabff6df9 100644
--- a/test/phpunit/FunctionsLibTest.php
+++ b/test/phpunit/FunctionsLibTest.php
@@ -77,7 +77,11 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -88,7 +92,11 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/GetUrlLibTest.php b/test/phpunit/GetUrlLibTest.php
index ba074459f44..268122c8d48 100644
--- a/test/phpunit/GetUrlLibTest.php
+++ b/test/phpunit/GetUrlLibTest.php
@@ -75,7 +75,11 @@ class GetUrlLibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class GetUrlLibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/HolidayTest.php b/test/phpunit/HolidayTest.php
index cd5a9f28138..e7e3e8749cd 100644
--- a/test/phpunit/HolidayTest.php
+++ b/test/phpunit/HolidayTest.php
@@ -76,7 +76,11 @@ class HolidayTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -86,7 +90,11 @@ class HolidayTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ImagesLibTest.php b/test/phpunit/ImagesLibTest.php
index 71474ba1847..3bfb676f3be 100644
--- a/test/phpunit/ImagesLibTest.php
+++ b/test/phpunit/ImagesLibTest.php
@@ -75,7 +75,11 @@ class ImagesLibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class ImagesLibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ImportTest.php b/test/phpunit/ImportTest.php
index 9e6b973500a..ce689fda4a4 100644
--- a/test/phpunit/ImportTest.php
+++ b/test/phpunit/ImportTest.php
@@ -76,7 +76,11 @@ class ImportTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -85,7 +89,11 @@ class ImportTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/JsonLibTest.php b/test/phpunit/JsonLibTest.php
index 0b5d3dd53e6..7d2678b0ec7 100644
--- a/test/phpunit/JsonLibTest.php
+++ b/test/phpunit/JsonLibTest.php
@@ -76,7 +76,11 @@ class JsonLibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -85,7 +89,11 @@ class JsonLibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/LangTest.php b/test/phpunit/LangTest.php
index 3ff2917a9f2..f4a14373ebe 100644
--- a/test/phpunit/LangTest.php
+++ b/test/phpunit/LangTest.php
@@ -86,7 +86,11 @@ class LangTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -95,7 +99,11 @@ class LangTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/LesscTest.php b/test/phpunit/LesscTest.php
index ca64853b381..a4ce302c540 100644
--- a/test/phpunit/LesscTest.php
+++ b/test/phpunit/LesscTest.php
@@ -86,7 +86,11 @@ class LesscTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -95,7 +99,11 @@ class LesscTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/LoanTest.php b/test/phpunit/LoanTest.php
index 71a61c80ae0..253e779ac03 100644
--- a/test/phpunit/LoanTest.php
+++ b/test/phpunit/LoanTest.php
@@ -74,7 +74,11 @@ class LoanTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class LoanTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/MarginsLibTest.php b/test/phpunit/MarginsLibTest.php
index fc25d929b38..e451262546d 100644
--- a/test/phpunit/MarginsLibTest.php
+++ b/test/phpunit/MarginsLibTest.php
@@ -74,7 +74,11 @@ class MarginsLibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class MarginsLibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ModulesTest.php b/test/phpunit/ModulesTest.php
index 5a43de21167..f8feaa8f829 100755
--- a/test/phpunit/ModulesTest.php
+++ b/test/phpunit/ModulesTest.php
@@ -73,7 +73,11 @@ class ModulesTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -82,7 +86,11 @@ class ModulesTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/MouvementStockTest.php b/test/phpunit/MouvementStockTest.php
index 85137234a3b..23b6b2b0111 100644
--- a/test/phpunit/MouvementStockTest.php
+++ b/test/phpunit/MouvementStockTest.php
@@ -76,7 +76,11 @@ class MouvementStockTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -85,7 +89,11 @@ class MouvementStockTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/NumberingModulesTest.php b/test/phpunit/NumberingModulesTest.php
index 099d6d2052c..089a2c2f4cf 100644
--- a/test/phpunit/NumberingModulesTest.php
+++ b/test/phpunit/NumberingModulesTest.php
@@ -73,7 +73,11 @@ class NumberingModulesTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class NumberingModulesTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/PaypalTest.php b/test/phpunit/PaypalTest.php
index 96bfbefdf17..47d8341f501 100644
--- a/test/phpunit/PaypalTest.php
+++ b/test/phpunit/PaypalTest.php
@@ -75,7 +75,11 @@ class PaypalTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -87,7 +91,11 @@ class PaypalTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/PdfDocTest.php b/test/phpunit/PdfDocTest.php
index 9c9c0bb666f..276deada0c6 100644
--- a/test/phpunit/PdfDocTest.php
+++ b/test/phpunit/PdfDocTest.php
@@ -77,7 +77,11 @@ class PdfDocTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -86,7 +90,11 @@ class PdfDocTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/PgsqlTest.php b/test/phpunit/PgsqlTest.php
index 4b2a5f98746..5a09e7fc55a 100644
--- a/test/phpunit/PgsqlTest.php
+++ b/test/phpunit/PgsqlTest.php
@@ -76,7 +76,11 @@ class PgsqlTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -86,7 +90,11 @@ class PgsqlTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/PricesTest.php b/test/phpunit/PricesTest.php
index d7f9e310088..0c47ec4f275 100755
--- a/test/phpunit/PricesTest.php
+++ b/test/phpunit/PricesTest.php
@@ -81,7 +81,11 @@ class PricesTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -90,7 +94,11 @@ class PricesTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ProductTest.php b/test/phpunit/ProductTest.php
index 8a848416318..650d8a93e37 100644
--- a/test/phpunit/ProductTest.php
+++ b/test/phpunit/ProductTest.php
@@ -74,7 +74,11 @@ class ProductTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -85,7 +89,12 @@ class ProductTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // teardownafterclass
+
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ProjectTest.php b/test/phpunit/ProjectTest.php
index 84a6411082f..8a7e0540b9a 100644
--- a/test/phpunit/ProjectTest.php
+++ b/test/phpunit/ProjectTest.php
@@ -75,7 +75,11 @@ class ProjectTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -84,7 +88,11 @@ class ProjectTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/PropalTest.php b/test/phpunit/PropalTest.php
index 709c5bbcfb7..068fb53b052 100644
--- a/test/phpunit/PropalTest.php
+++ b/test/phpunit/PropalTest.php
@@ -74,7 +74,11 @@ class PropalTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class PropalTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/RestAPIDocumentTest.php b/test/phpunit/RestAPIDocumentTest.php
index 9ce14a4ac92..65b8c206c9d 100644
--- a/test/phpunit/RestAPIDocumentTest.php
+++ b/test/phpunit/RestAPIDocumentTest.php
@@ -76,7 +76,11 @@ class RestAPIDocumentTest extends PHPUnit\Framework\TestCase
echo "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -85,7 +89,11 @@ class RestAPIDocumentTest extends PHPUnit\Framework\TestCase
echo __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/RestAPIUserTest.php b/test/phpunit/RestAPIUserTest.php
index ea3970e5a4b..9d49d10af73 100644
--- a/test/phpunit/RestAPIUserTest.php
+++ b/test/phpunit/RestAPIUserTest.php
@@ -80,7 +80,11 @@ class RestAPIUserTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -89,7 +93,11 @@ class RestAPIUserTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/ScriptsTest.php b/test/phpunit/ScriptsTest.php
index e490054edfa..16884214418 100644
--- a/test/phpunit/ScriptsTest.php
+++ b/test/phpunit/ScriptsTest.php
@@ -86,7 +86,11 @@ class ScriptsTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -95,7 +99,11 @@ class ScriptsTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/SecurityTest.php b/test/phpunit/SecurityTest.php
index 4130426d806..5a248006498 100644
--- a/test/phpunit/SecurityTest.php
+++ b/test/phpunit/SecurityTest.php
@@ -86,7 +86,11 @@ class SecurityTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -95,7 +99,11 @@ class SecurityTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/SocieteTest.php b/test/phpunit/SocieteTest.php
index 070a8999bb2..4ed0771d668 100755
--- a/test/phpunit/SocieteTest.php
+++ b/test/phpunit/SocieteTest.php
@@ -74,7 +74,11 @@ class SocieteTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -88,7 +92,11 @@ class SocieteTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/SupplierProposalTest.php b/test/phpunit/SupplierProposalTest.php
index 42d7e5842a6..27414ecab0a 100644
--- a/test/phpunit/SupplierProposalTest.php
+++ b/test/phpunit/SupplierProposalTest.php
@@ -77,7 +77,11 @@ class SupplierProposalTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -88,7 +92,11 @@ class SupplierProposalTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/TicketTest.php b/test/phpunit/TicketTest.php
index fa7ea8df98f..c13bdcfb959 100644
--- a/test/phpunit/TicketTest.php
+++ b/test/phpunit/TicketTest.php
@@ -74,7 +74,11 @@ class TicketTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class TicketTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/UserGroupTest.php b/test/phpunit/UserGroupTest.php
index fe08af2bce7..7e3cdd24b3a 100644
--- a/test/phpunit/UserGroupTest.php
+++ b/test/phpunit/UserGroupTest.php
@@ -73,7 +73,11 @@ class UserGroupTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -82,7 +86,11 @@ class UserGroupTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/UserTest.php b/test/phpunit/UserTest.php
index 3c89bd52d06..10b0bd7b0b7 100644
--- a/test/phpunit/UserTest.php
+++ b/test/phpunit/UserTest.php
@@ -73,7 +73,11 @@ class UserTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -85,7 +89,11 @@ class UserTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/UtilsTest.php b/test/phpunit/UtilsTest.php
index a1b9eafa45e..dd5ba68ca8f 100644
--- a/test/phpunit/UtilsTest.php
+++ b/test/phpunit/UtilsTest.php
@@ -73,7 +73,11 @@ class UtilsTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -83,7 +87,11 @@ class UtilsTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/WebservicesOrdersTest.php b/test/phpunit/WebservicesOrdersTest.php
index 8afd50a0394..33d842f6d39 100644
--- a/test/phpunit/WebservicesOrdersTest.php
+++ b/test/phpunit/WebservicesOrdersTest.php
@@ -77,7 +77,11 @@ class WebservicesOrdersTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -86,7 +90,11 @@ class WebservicesOrdersTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/WebservicesOtherTest.php b/test/phpunit/WebservicesOtherTest.php
index 7304e2bf367..34686cbec92 100644
--- a/test/phpunit/WebservicesOtherTest.php
+++ b/test/phpunit/WebservicesOtherTest.php
@@ -77,7 +77,11 @@ class WebservicesOtherTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -86,7 +90,11 @@ class WebservicesOtherTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/WebservicesProductsTest.php b/test/phpunit/WebservicesProductsTest.php
index 3d74deb721c..70a8c12a498 100644
--- a/test/phpunit/WebservicesProductsTest.php
+++ b/test/phpunit/WebservicesProductsTest.php
@@ -84,7 +84,11 @@ class WebservicesProductsTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -92,7 +96,12 @@ class WebservicesProductsTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/WebservicesThirdpartyTest.php b/test/phpunit/WebservicesThirdpartyTest.php
index 9aefd6c5ce6..1106164b4ee 100644
--- a/test/phpunit/WebservicesThirdpartyTest.php
+++ b/test/phpunit/WebservicesThirdpartyTest.php
@@ -94,7 +94,11 @@ class WebservicesThirdpartyTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -103,7 +107,11 @@ class WebservicesThirdpartyTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/WebservicesUserTest.php b/test/phpunit/WebservicesUserTest.php
index de51431b046..bb68f413741 100644
--- a/test/phpunit/WebservicesUserTest.php
+++ b/test/phpunit/WebservicesUserTest.php
@@ -77,7 +77,11 @@ class WebservicesUserTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -86,7 +90,11 @@ class WebservicesUserTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
diff --git a/test/phpunit/XCalLibTest.php b/test/phpunit/XCalLibTest.php
index 26d5e25c54b..9fb1975a1fd 100644
--- a/test/phpunit/XCalLibTest.php
+++ b/test/phpunit/XCalLibTest.php
@@ -73,7 +73,11 @@ class XCalLibTest extends PHPUnit\Framework\TestCase
print "\n";
}
- // Static methods
+ /**
+ * setUpBeforeClass
+ *
+ * @return void
+ */
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@@ -82,7 +86,11 @@ class XCalLibTest extends PHPUnit\Framework\TestCase
print __METHOD__."\n";
}
- // tear down after class
+ /**
+ * tearDownAfterClass
+ *
+ * @return void
+ */
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;
|