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+)>
|
<!ELEMENT ruleset (description,arg*,exclude-pattern*,rule+)>
|
||||||
<!ATTLIST ruleset name CDATA "">
|
<!ATTLIST ruleset name CDATA "">
|
||||||
<!ELEMENT description (#PCDATA)>
|
<!ELEMENT description (#PCDATA)>
|
||||||
|
<!ELEMENT arg (#PCDATA)>
|
||||||
|
<!ATTLIST arg name CDATA "">
|
||||||
|
<!ATTLIST arg value CDATA "">
|
||||||
<!ELEMENT exclude-pattern (#PCDATA)>
|
<!ELEMENT exclude-pattern (#PCDATA)>
|
||||||
<!ATTLIST exclude-pattern type CDATA "">
|
<!ATTLIST exclude-pattern type CDATA "">
|
||||||
<!ELEMENT rule (properties*,severity*,exclude*)>
|
<!ELEMENT rule (properties*,severity*,exclude*)>
|
||||||
@ -11,3 +14,5 @@
|
|||||||
<!ATTLIST property name CDATA "">
|
<!ATTLIST property name CDATA "">
|
||||||
<!ATTLIST property value CDATA "">
|
<!ATTLIST property value CDATA "">
|
||||||
<!ELEMENT severity (#PCDATA)>
|
<!ELEMENT severity (#PCDATA)>
|
||||||
|
<!ELEMENT exclude (#PCDATA)>
|
||||||
|
<!ATTLIST exclude name CDATA "">
|
||||||
|
|||||||
@ -25,6 +25,8 @@
|
|||||||
* \file htdocs/api/admin/explorer.php
|
* \file htdocs/api/admin/explorer.php
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
use Luracast\Restler\Routes;
|
||||||
|
|
||||||
require_once '../../main.inc.php';
|
require_once '../../main.inc.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/api/class/api.class.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.
|
$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';
|
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['CustomConfigurationsPath'] = DOL_URL_ROOT.'/theme/'.$conf->theme.'/fckeditor/fckconfig.js';
|
||||||
$this->editor->Config['SkinPath'] = DOL_URL_ROOT.'/theme/'.$conf->theme.'/fckeditor/';
|
$this->editor->Config['SkinPath'] = DOL_URL_ROOT.'/theme/'.$conf->theme.'/fckeditor/';
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// Define some properties
|
// Define some properties
|
||||||
if (in_array($this->tool, array('textarea', 'ckeditor', 'ace')))
|
if (in_array($this->tool, array('textarea', 'ckeditor', 'ace')))
|
||||||
|
|||||||
@ -102,7 +102,7 @@ class Menubase
|
|||||||
/**
|
/**
|
||||||
* @var string Key for menu translation
|
* @var string Key for menu translation
|
||||||
* @deprecated
|
* @deprecated
|
||||||
* @see title
|
* @see $title
|
||||||
*/
|
*/
|
||||||
public $titre;
|
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.
|
* 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 Translate $outputlangs Lang output object
|
||||||
* @param string $srctemplatepath Full path of source filename for generator using a template file
|
* @param string $srctemplatepath Full path of source filename for generator using a template file
|
||||||
* @param int $hidedetails Do not show line details
|
* @param int $hidedetails Do not show line details
|
||||||
|
|||||||
@ -47,7 +47,7 @@ class mod_task_simple extends ModeleNumRefTask
|
|||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
* @deprecated
|
* @deprecated
|
||||||
* @see name
|
* @see $name
|
||||||
*/
|
*/
|
||||||
public $nom='Simple';
|
public $nom='Simple';
|
||||||
|
|
||||||
|
|||||||
@ -44,7 +44,7 @@ class mod_task_universal extends ModeleNumRefTask
|
|||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
* @deprecated
|
* @deprecated
|
||||||
* @see name
|
* @see $name
|
||||||
*/
|
*/
|
||||||
public $nom = 'Universal';
|
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.
|
* 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 Translate $outputlangs Lang output object
|
||||||
* @param string $srctemplatepath Full path of source filename for generator using a template file
|
* @param string $srctemplatepath Full path of source filename for generator using a template file
|
||||||
* @param int $hidedetails Do not show line details
|
* @param int $hidedetails Do not show line details
|
||||||
@ -250,7 +250,7 @@ class doc_generic_stock_odt extends ModelePDFStock
|
|||||||
if (!is_object($object))
|
if (!is_object($object))
|
||||||
{
|
{
|
||||||
$id = $object;
|
$id = $object;
|
||||||
$object = new Stock($this->db);
|
$object = new Entrepot($this->db);
|
||||||
$result = $object->fetch($id);
|
$result = $object->fetch($id);
|
||||||
if ($result < 0)
|
if ($result < 0)
|
||||||
{
|
{
|
||||||
@ -258,7 +258,8 @@ class doc_generic_stock_odt extends ModelePDFStock
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$stockFournisseur = new StockFournisseur($this->db);
|
|
||||||
|
$stockFournisseur = new ProductFournisseur($this->db);
|
||||||
$supplierprices = $stockFournisseur->list_stock_fournisseur_price($object->id);
|
$supplierprices = $stockFournisseur->list_stock_fournisseur_price($object->id);
|
||||||
$object->supplierprices = $supplierprices;
|
$object->supplierprices = $supplierprices;
|
||||||
|
|
||||||
|
|||||||
@ -181,7 +181,7 @@ class pdf_standard extends ModelePDFStock
|
|||||||
/**
|
/**
|
||||||
* Function to build a document on disk using the generic odt module.
|
* 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 Translate $outputlangs Lang output object
|
||||||
* @param string $srctemplatepath Full path of source filename for generator using a template file
|
* @param string $srctemplatepath Full path of source filename for generator using a template file
|
||||||
* @param int $hidedetails Do not show line details
|
* @param int $hidedetails Do not show line details
|
||||||
|
|||||||
@ -252,8 +252,8 @@ class SupplierOrders extends DolibarrApi
|
|||||||
/**
|
/**
|
||||||
* Delete supplier order
|
* Delete supplier order
|
||||||
*
|
*
|
||||||
* @param int $id Supplier order ID
|
* @param int $id Supplier order ID
|
||||||
* @return type
|
* @return array Array of result
|
||||||
*/
|
*/
|
||||||
public function delete($id)
|
public function delete($id)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user