--- /tmp/dsg/dolibarr/htdocs/core/modules/reception/github_mod_reception_beryl.php
+++ /tmp/dsg/dolibarr/htdocs/core/modules/reception/client_mod_reception_beryl.php
@@ -28,10 +28,10 @@
  */

 class mod_reception_beryl extends ModelNumRefReception

 {

-	public $version = 'dolibarr';

-	public $prefix = 'RCP';

-	public $error = '';

-	public $nom = 'Beryl';

+    public $version = 'dolibarr';

+    public $prefix = 'RCP';

+    public $error = '';

+    public $nom = 'Beryl';

 

 

 	/**

@@ -39,11 +39,11 @@
 	 *

 	 *	@return     string      text description

 	 */

-	public function info()

-	{

-		global $langs;

-	  	return $langs->trans("SimpleNumRefModelDesc", $this->prefix);

-	}

+    public function info()

+    {

+    	global $langs;

+      	return $langs->trans("SimpleNumRefModelDesc", $this->prefix);

+    }

 

 

 	/**

@@ -113,7 +113,9 @@
 			$obj = $db->fetch_object($resql);

 			if ($obj) $max = intval($obj->max);

 			else $max = 0;

-		} else {

+		}

+		else

+		{

 			dol_syslog("mod_reception_beryl::getNextValue", LOG_DEBUG);

 			return -1;

 		}

--- /tmp/dsg/dolibarr/htdocs/core/modules/reception/github_mod_reception_moonstone.php
+++ /tmp/dsg/dolibarr/htdocs/core/modules/reception/client_mod_reception_moonstone.php
@@ -30,18 +30,18 @@
  */

 class mod_reception_moonstone extends ModelNumRefReception

 {

-	public $version = 'dolibarr';

-	public $error = '';

-	public $nom = 'Moonstone';

+    public $version = 'dolibarr';

+    public $error = '';

+    public $nom = 'Moonstone';

 

-	/**

-	 *  Return default description of numbering model

-	 *

-	 *  @return     string      text description

-	 */

-	public function info()

-	{

-		global $conf, $langs, $db;

+    /**

+     *  Return default description of numbering model

+     *

+     *  @return     string      text description

+     */

+    public function info()

+    {

+    	global $conf, $langs, $db;

 

 		$langs->load("bills");

 

@@ -68,22 +68,22 @@
 		$texte .= '</form>';

 

 		return $texte;

-	}

+    }

 

 	/**

 	 *	Return numbering example

 	 *

 	 *	@return     string      Example

 	 */

-	public function getExample()

-	{

-	 	global $conf, $langs, $mysoc;

+    public function getExample()

+    {

+     	global $conf, $langs, $mysoc;

 

-		$old_code_client = $mysoc->code_client;

-		$old_code_type = $mysoc->typent_code;

-		$mysoc->code_client = 'CCCCCCCCCC';

-		$mysoc->typent_code = 'TTTTTTTTTT';

-	 	$numExample = $this->getNextValue($mysoc, '');

+    	$old_code_client = $mysoc->code_client;

+    	$old_code_type = $mysoc->typent_code;

+    	$mysoc->code_client = 'CCCCCCCCCC';

+    	$mysoc->typent_code = 'TTTTTTTTTT';

+     	$numExample = $this->getNextValue($mysoc, '');

 		$mysoc->code_client = $old_code_client;

 		$mysoc->typent_code = $old_code_type;

 

@@ -92,7 +92,7 @@
 			$numExample = $langs->trans('NotConfigured');

 		}

 		return $numExample;

-	}

+    }

 

 	/**

 	 *	Return next value

@@ -101,8 +101,8 @@
 	 *	@param	Object		$reception	Reception object

 	 *	@return string      			Value if OK, 0 if KO

 	 */

-	public function getNextValue($objsoc, $reception)

-	{

+    public function getNextValue($objsoc, $reception)

+    {

 		global $db, $conf;

 

 		require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';

@@ -120,7 +120,7 @@
 		$numFinal = get_next_value($db, $mask, 'reception', 'ref', '', $objsoc, $date);

 

 		return  $numFinal;

-	}

+    }

 

 	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps

 	/**

--- /tmp/dsg/dolibarr/htdocs/core/modules/reception/github_modules_reception.php
+++ /tmp/dsg/dolibarr/htdocs/core/modules/reception/client_modules_reception.php
@@ -29,16 +29,16 @@
  */

 abstract class ModelePdfReception extends CommonDocGenerator

 {

-	public $error = '';

+    public $error = '';

 

 

-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps

-	/**

+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps

+    /**

 	 *  Return list of active generation modules

 	 *

-	 *  @param	DoliDB	$db     			Database handler

-	 *  @param  integer	$maxfilenamelength  Max length of value to show

-	 *  @return	array						List of templates

+     *  @param	DoliDB	$db     			Database handler

+     *  @param  integer	$maxfilenamelength  Max length of value to show

+     *  @return	array						List of templates

 	 */

 	public static function liste_modeles($db, $maxfilenamelength = 0)

 	{

@@ -61,7 +61,7 @@
  */

 abstract class ModelNumRefReception

 {

-	public $error = '';

+    public $error = '';

 

 	/** Return if a model can be used or not

 	 *