瀏覽代碼

Fix tests

Eduardo Mozart de Oliveira 1 年之前
父節點
當前提交
8c0f80c336
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      inc/provider.class.php

+ 8 - 0
inc/provider.class.php

@@ -660,6 +660,7 @@ class PluginSinglesignonProvider extends CommonDBTM {
     *
     *
     * @return string
     * @return string
     * */
     * */
+   // phpcs:disable
    /* static function getHistoryEntry($data) {
    /* static function getHistoryEntry($data) {
 
 
       switch ($data['linked_action'] - Log::HISTORY_PLUGIN) {
       switch ($data['linked_action'] - Log::HISTORY_PLUGIN) {
@@ -669,6 +670,7 @@ class PluginSinglesignonProvider extends CommonDBTM {
 
 
       return '';
       return '';
    } */
    } */
+   // phpcs:enable
 
 
    //////////////////////////////
    //////////////////////////////
    ////// SPECIFIC MODIF MASSIVE FUNCTIONS ///////
    ////// SPECIFIC MODIF MASSIVE FUNCTIONS ///////
@@ -678,6 +680,7 @@ class PluginSinglesignonProvider extends CommonDBTM {
     *
     *
     * @see CommonDBTM::getSpecificMassiveActions()
     * @see CommonDBTM::getSpecificMassiveActions()
     * */
     * */
+   // phpcs:disable
    /* function getSpecificMassiveActions($checkitem = null) {
    /* function getSpecificMassiveActions($checkitem = null) {
 
 
       $actions = parent::getSpecificMassiveActions($checkitem);
       $actions = parent::getSpecificMassiveActions($checkitem);
@@ -687,12 +690,14 @@ class PluginSinglesignonProvider extends CommonDBTM {
 
 
       return $actions;
       return $actions;
    } */
    } */
+   // phpcs:enable
 
 
    /**
    /**
     * @since version 0.85
     * @since version 0.85
     *
     *
     * @see CommonDBTM::showMassiveActionsSubForm()
     * @see CommonDBTM::showMassiveActionsSubForm()
     * */
     * */
+   // phpcs:disable
    /* static function showMassiveActionsSubForm(MassiveAction $ma) {
    /* static function showMassiveActionsSubForm(MassiveAction $ma) {
 
 
       switch ($ma->getAction()) {
       switch ($ma->getAction()) {
@@ -705,12 +710,14 @@ class PluginSinglesignonProvider extends CommonDBTM {
       }
       }
       return parent::showMassiveActionsSubForm($ma);
       return parent::showMassiveActionsSubForm($ma);
    } */
    } */
+   // phpcs:enable
 
 
    /**
    /**
     * @since version 0.85
     * @since version 0.85
     *
     *
     * @see CommonDBTM::processMassiveActionsForOneItemtype()
     * @see CommonDBTM::processMassiveActionsForOneItemtype()
     * */
     * */
+   // phpcs:disable
    /* static function processMassiveActionsForOneItemtype(MassiveAction $ma, CommonDBTM $item, array $ids) {
    /* static function processMassiveActionsForOneItemtype(MassiveAction $ma, CommonDBTM $item, array $ids) {
       global $DB;
       global $DB;
 
 
@@ -756,6 +763,7 @@ class PluginSinglesignonProvider extends CommonDBTM {
       }
       }
       parent::processMassiveActionsForOneItemtype($ma, $item, $ids);
       parent::processMassiveActionsForOneItemtype($ma, $item, $ids);
    } */
    } */
+   // phpcs:enable
 
 
    static function getIcon() {
    static function getIcon() {
       return "fas fa-user-lock";
       return "fas fa-user-lock";