N°8796 - Add PHP code style validation in iTop and extensions - format whole code base

This commit is contained in:
odain
2025-11-07 15:39:53 +01:00
parent 12f23113f5
commit 890a2568c8
2110 changed files with 53099 additions and 63885 deletions

View File

@@ -1,4 +1,5 @@
<?php
// Copyright (c) 2024 Combodo SAS
//
// This file is part of iTop.
@@ -30,17 +31,16 @@ use Combodo\iTop\Test\UnitTest\ItopDataTestCase;
use DBObject;
use MetaModel;
/**
* @group specificOrgInSampleData
*/
class XMLDataLoaderTest extends ItopDataTestCase
{
const CREATE_TEST_ORG = false;
public const CREATE_TEST_ORG = false;
public function testDataLoader()
{
$sXML =
$sXML =
<<<XML
<?xml version="1.0" encoding="UTF-8"?>
<Set>
@@ -112,4 +112,4 @@ XML;
$this->assertEquals('Zanzibar', $oPerson->Get('location_id_friendlyname'));
$this->assertEquals('ZuperTest', $oPerson->Get('org_id_friendlyname'));
}
}
}