mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix remove a lot of warnings on Eclipse
This commit is contained in:
parent
ec09e7222d
commit
55bef402c4
|
|
@ -2,6 +2,9 @@
|
|||
<!ELEMENT ruleset (description,arg*,exclude-pattern*,rule+)>
|
||||
<!ATTLIST ruleset name CDATA "">
|
||||
<!ELEMENT description (#PCDATA)>
|
||||
<!ELEMENT arg (#PCDATA)>
|
||||
<!ATTLIST arg name CDATA "">
|
||||
<!ATTLIST arg value CDATA "">
|
||||
<!ELEMENT exclude-pattern (#PCDATA)>
|
||||
<!ATTLIST exclude-pattern type CDATA "">
|
||||
<!ELEMENT rule (properties*,severity*,exclude*)>
|
||||
|
|
@ -11,3 +14,5 @@
|
|||
<!ATTLIST property name CDATA "">
|
||||
<!ATTLIST property value CDATA "">
|
||||
<!ELEMENT severity (#PCDATA)>
|
||||
<!ELEMENT exclude (#PCDATA)>
|
||||
<!ATTLIST exclude name CDATA "">
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
* \file htdocs/api/admin/explorer.php
|
||||
*/
|
||||
|
||||
use Luracast\Restler\Routes;
|
||||
|
||||
require_once '../../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/api/class/api.class.php';
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ class DolEditor
|
|||
{
|
||||
$content = dol_htmlentitiesbr($content); // If content is not HTML, we convert to HTML.
|
||||
}
|
||||
if ($this->tool == 'fckeditor')
|
||||
/*if ($this->tool == 'fckeditor')
|
||||
{
|
||||
require_once DOL_DOCUMENT_ROOT.'/includes/fckeditor/fckeditor.php';
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ class DolEditor
|
|||
$this->editor->Config['CustomConfigurationsPath'] = DOL_URL_ROOT.'/theme/'.$conf->theme.'/fckeditor/fckconfig.js';
|
||||
$this->editor->Config['SkinPath'] = DOL_URL_ROOT.'/theme/'.$conf->theme.'/fckeditor/';
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
// Define some properties
|
||||
if (in_array($this->tool, array('textarea', 'ckeditor', 'ace')))
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ class Menubase
|
|||
/**
|
||||
* @var string Key for menu translation
|
||||
* @deprecated
|
||||
* @see title
|
||||
* @see $title
|
||||
*/
|
||||
public $titre;
|
||||
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ class doc_generic_contract_odt extends ModelePDFContract
|
|||
/**
|
||||
* Function to build a document on disk using the generic odt module.
|
||||
*
|
||||
* @param Contract $object Object source to build document
|
||||
* @param Contrat $object Object source to build document
|
||||
* @param Translate $outputlangs Lang output object
|
||||
* @param string $srctemplatepath Full path of source filename for generator using a template file
|
||||
* @param int $hidedetails Do not show line details
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ class mod_task_simple extends ModeleNumRefTask
|
|||
/**
|
||||
* @var string
|
||||
* @deprecated
|
||||
* @see name
|
||||
* @see $name
|
||||
*/
|
||||
public $nom='Simple';
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class mod_task_universal extends ModeleNumRefTask
|
|||
/**
|
||||
* @var string
|
||||
* @deprecated
|
||||
* @see name
|
||||
* @see $name
|
||||
*/
|
||||
public $nom = 'Universal';
|
||||
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ class doc_generic_stock_odt extends ModelePDFStock
|
|||
/**
|
||||
* Function to build a document on disk using the generic odt module.
|
||||
*
|
||||
* @param Stock $object Object source to build document
|
||||
* @param Entrepot $object Object source to build document
|
||||
* @param Translate $outputlangs Lang output object
|
||||
* @param string $srctemplatepath Full path of source filename for generator using a template file
|
||||
* @param int $hidedetails Do not show line details
|
||||
|
|
@ -250,7 +250,7 @@ class doc_generic_stock_odt extends ModelePDFStock
|
|||
if (!is_object($object))
|
||||
{
|
||||
$id = $object;
|
||||
$object = new Stock($this->db);
|
||||
$object = new Entrepot($this->db);
|
||||
$result = $object->fetch($id);
|
||||
if ($result < 0)
|
||||
{
|
||||
|
|
@ -258,7 +258,8 @@ class doc_generic_stock_odt extends ModelePDFStock
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
$stockFournisseur = new StockFournisseur($this->db);
|
||||
|
||||
$stockFournisseur = new ProductFournisseur($this->db);
|
||||
$supplierprices = $stockFournisseur->list_stock_fournisseur_price($object->id);
|
||||
$object->supplierprices = $supplierprices;
|
||||
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ class pdf_standard extends ModelePDFStock
|
|||
/**
|
||||
* Function to build a document on disk using the generic odt module.
|
||||
*
|
||||
* @param Stock $object Object source to build document
|
||||
* @param Entrepot $object Object source to build document
|
||||
* @param Translate $outputlangs Lang output object
|
||||
* @param string $srctemplatepath Full path of source filename for generator using a template file
|
||||
* @param int $hidedetails Do not show line details
|
||||
|
|
|
|||
|
|
@ -252,8 +252,8 @@ class SupplierOrders extends DolibarrApi
|
|||
/**
|
||||
* Delete supplier order
|
||||
*
|
||||
* @param int $id Supplier order ID
|
||||
* @return type
|
||||
* @param int $id Supplier order ID
|
||||
* @return array Array of result
|
||||
*/
|
||||
public function delete($id)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user