mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
N°8796 - Add PHP code style validation in iTop and extensions - format whole code base
This commit is contained in:
@@ -75,8 +75,6 @@ class UpdateImpactedItemsTest extends ItopDataTestCase
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function testImpactShouldBePropagatedInOneWayOnly()
|
||||
{
|
||||
/**
|
||||
@@ -140,7 +138,7 @@ class UpdateImpactedItemsTest extends ItopDataTestCase
|
||||
ApplicationSolution_12 <-> ApplicationSolution_13
|
||||
EOF);
|
||||
$oTicket = $this->GivenTicketWithCIsOrPersons([
|
||||
'ApplicationSolution_0' => 'manual'
|
||||
'ApplicationSolution_0' => 'manual',
|
||||
]);
|
||||
|
||||
$oTicket->UpdateImpactedItems(); // impact analysis
|
||||
@@ -487,8 +485,7 @@ class UpdateImpactedItemsTest extends ItopDataTestCase
|
||||
list($sCI, $sPerson) = explode('<->', $sLine);
|
||||
$sPersonId = $this->GivenCIOrPersonInDB(trim($sPerson));
|
||||
$sCIId = $this->GivenCIOrPersonInDB(trim($sCI));
|
||||
if (str_starts_with(trim($sPerson),'ApplicationSolution'))
|
||||
{
|
||||
if (str_starts_with(trim($sPerson), 'ApplicationSolution')) {
|
||||
$this->GivenLnkApplicationSolutionToFunctionalCIInDB($sPersonId, $sCIId);
|
||||
} else {
|
||||
$this->GivenLnkContactToFunctionalCIInDB($sPersonId, $sCIId);
|
||||
@@ -575,4 +572,3 @@ class UpdateImpactedItemsTest extends ItopDataTestCase
|
||||
$this->ResetMetaModelQueyCacheGetObject();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user