From f592d94af3cdb56f68dc5cbed4c4fbc1dd9c4f89 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 4 Jan 2022 17:59:46 +0100 Subject: [PATCH] iTopModuleXmlInstallationChecklistTest : fix phpdoc, remove process isolation annotation, remove inspection warnings --- .../iTopModuleXmlInstallationChecklistTest.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/postbuild_integration/iTopModuleXmlInstallationChecklistTest.php b/test/postbuild_integration/iTopModuleXmlInstallationChecklistTest.php index 307d16564..1a36cdfee 100644 --- a/test/postbuild_integration/iTopModuleXmlInstallationChecklistTest.php +++ b/test/postbuild_integration/iTopModuleXmlInstallationChecklistTest.php @@ -3,18 +3,13 @@ namespace Combodo\iTop\Test\UnitTest\ReleaseChecklist; use Combodo\iTop\Test\UnitTest\ItopTestCase; -use DOMDocument; -use iTopDesignFormat; /** - * Class iTopDesignFormatChecklistTest - * Ticket 3061 - Automatically check the installation.xml consistency - * @runTestsInSeparateProcesses * @preserveGlobalState disabled * @backupGlobals disabled * - * @covers iTopDesignFormat + * @since 3.0.0 N°3060 / N°3061 * * @package Combodo\iTop\Test\UnitTest\Setup */ @@ -85,6 +80,7 @@ class iTopModuleXmlInstallationChecklistTest extends ItopTestCase { if (is_dir($sPath)) { + /** @noinspection SlowArrayOperationsInLoopInspection */ $aModules = array_merge($aModules, $this->GetFilteredModulesFromDatamodels($sPath)); } else if (preg_match("/module\..*\.php/", basename($sPath))) @@ -124,6 +120,7 @@ class iTopModuleXmlInstallationChecklistTest extends ItopTestCase { if (is_dir($sPath)) { + /** @noinspection SlowArrayOperationsInLoopInspection */ $aModules = array_merge($aModules, $this->GetAllModules($sPath)); } else if (preg_match("/module\..*\.php/", basename($sPath)))