Fix phpcs

This commit is contained in:
Laurent Destailleur 2019-08-01 16:29:18 +02:00
parent 6512435f9f
commit 5a719769bc
2 changed files with 1 additions and 2 deletions

View File

@ -622,7 +622,7 @@ class ImportXlsx extends ModeleImports
if (! empty($objimport->array_import_regex[0][$val]) && ($newval != ''))
{
// If test is "Must exist in a field@table or field@table:..."
if (preg_match('/^(.+)@([^:]+)(:.+)?$/',$objimport->array_import_regex[0][$val],$reg))
if (preg_match('/^(.+)@([^:]+)(:.+)?$/', $objimport->array_import_regex[0][$val], $reg))
{
$field=$reg[1];
$table=$reg[2];

View File

@ -365,5 +365,4 @@ class HolidayTest extends PHPUnit\Framework\TestCase
$localobjecta->updateBalance();
}
}