2
0
forked from Wavyzz/dolibarr

PSR2 FunctionClosingBrace

This commit is contained in:
Frédéric FRANCE
2018-08-29 21:25:22 +02:00
parent 489e766cbf
commit b03f4004ea
159 changed files with 32 additions and 269 deletions

View File

@@ -110,7 +110,8 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase
print __METHOD__."\n";
}
/**
/**
* End phpunit tests
*
* @return void
@@ -121,7 +122,6 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase
}
/**
* testIsValidMXRecord
*
@@ -390,7 +390,6 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase
$input='This is a text with html comments <!-- comment -->'; // we suppose this is not enough to be html content
$after=dol_textishtml($input);
$this->assertFalse($after);
}
@@ -837,7 +836,6 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase
$object->country_code='CA';
$phone=dol_print_phone('1234567890', $object->country_code, 0, 0, 0, ' ');
$this->assertEquals('<span style="margin-right: 10px;">(123) 456-7890</span>', $phone, 'Phone for CA 1');
}
@@ -1008,7 +1006,6 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase
// Test RULE 5 (FR-US)
$vat=get_default_tva($companyfr,$companyus,0);
$this->assertEquals(0,$vat,'RULE 5 ECOMMERCE_200238EC');
}
/**