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 Copyright (C) 2010-2024 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
@@ -24,7 +25,6 @@ class ormDocumentTest extends ItopDataTestCase
$this->RequireOnceItopFile('core/ormdocument.class.inc.php');
}
/**
* @param array $aDocAData
* @param array $aDocBData
@@ -52,13 +52,13 @@ class ormDocumentTest extends ItopDataTestCase
$sFirstDummyTextFileContentBase64,
"text/plain",
"a.txt",
0
0,
],
[
$sSecondDummyTextFileContentBase64,
"image/png",
"b.png",
1
1,
],
false,
],
@@ -67,13 +67,13 @@ class ormDocumentTest extends ItopDataTestCase
$sFirstDummyTextFileContentBase64,
"text/plain",
"a.txt",
0
0,
],
[
$sSecondDummyTextFileContentBase64,
"text/plain",
"a.txt",
0
0,
],
false,
],
@@ -82,13 +82,13 @@ class ormDocumentTest extends ItopDataTestCase
$sFirstDummyTextFileContentBase64,
"text/plain",
"a.txt",
0
0,
],
[
$sFirstDummyTextFileContentBase64,
"image/png",
"a.txt",
0
0,
],
false,
],
@@ -97,13 +97,13 @@ class ormDocumentTest extends ItopDataTestCase
$sFirstDummyTextFileContentBase64,
"text/plain",
"a.txt",
0
0,
],
[
$sFirstDummyTextFileContentBase64,
"text/plain",
"b.txt",
0
0,
],
false,
],
@@ -112,13 +112,13 @@ class ormDocumentTest extends ItopDataTestCase
$sFirstDummyTextFileContentBase64,
"text/plain",
"a.txt",
0
0,
],
[
$sFirstDummyTextFileContentBase64,
"text/plain",
"a.txt",
1
1,
],
true,
],
@@ -127,13 +127,13 @@ class ormDocumentTest extends ItopDataTestCase
$sFirstDummyTextFileContentBase64,
"text/plain",
"a.txt",
0
0,
],
[
$sFirstDummyTextFileContentBase64,
"text/plain",
"a.txt",
0
0,
],
false,
],