PHPDoc & warnings suppression

This commit is contained in:
Molkobain
2020-11-03 15:23:54 +01:00
parent 87a2d30c78
commit 8954d02796

View File

@@ -748,17 +748,15 @@ class iTopDesignFormat
*/
protected function From17To16($oFactory)
{
$oXPath = new DOMXPath($this->oDocument);
// -- 1283 : remove "in_new_window" option for WebPageMenuNode
// N°1283 - remove "in_new_window" option for WebPageMenuNode
$sPath = "/itop_design/menus/menu[@xsi:type='WebPageMenuNode']/in_new_window";
$this->RemoveNodeFromXPath($sPath);
// -- 2314 : remove "themes" nodes
// 2314 - remove "themes" nodes
$sPath = "/itop_design/branding/themes";
$this->RemoveNodeFromXPath($sPath);
// -- 2746 - remove attributes Enum Set
// 2746 - remove attributes Enum Set
$sPath = "/itop_design/classes/class/class/fields/field[@xsi:type='AttributeEnumSet']";
$this->RemoveNodeFromXPath($sPath);
}
@@ -770,7 +768,7 @@ class iTopDesignFormat
*/
protected function From17To18($oFactory)
{
// -- 3233 - Remove "display template" feature from MetaModel
// 3233 - Remove "display template" feature from MetaModel
$sPath = "/itop_design//class/properties/display_template";
$this->RemoveNodeFromXPath($sPath);
}
@@ -782,15 +780,15 @@ class iTopDesignFormat
*/
protected function From18To17($oFactory)
{
// -- 3182 - Remove style node from MenuGroup
// 3182 - Remove style node from MenuGroup
$sPath = "/itop_design/menus/menu[@xsi:type='MenuGroup']/style";
$this->RemoveNodeFromXPath($sPath);
// -- 3185 - Remove main_logo_compact node from branding
// 3185 - Remove main_logo_compact node from branding
$sPath = "/itop_design/branding/main_logo_compact";
$this->RemoveNodeFromXPath($sPath);
// -- 2982 - Speed up SCSS themes compilation during setup
// 2982 - Speed up SCSS themes compilation during setup
$sPath = "/itop_design/branding/themes/theme/precompiled_stylesheet";
$this->RemoveNodeFromXPath($sPath);
}