N°8796 - fix ci jo regression due to code style formatting

This commit is contained in:
odain
2025-11-07 16:04:23 +01:00
parent 890a2568c8
commit 4a9a85458d
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ echo $APPROOT;
$finder = PhpCsFixer\Finder::create()
->in($APPROOT)
->exclude(['oql', 'data', 'extensions'])
->notPath(['/env-*/', '/cache-*/', 'lib', 'vendor', 'node_modules'])
->notPath(['/env-*/', '/cache-*/', 'lib', 'vendor', 'node_modules', 'config-itop', 'php-static-analysis'])
;
$config = new PhpCsFixer\Config();

View File

@@ -68,7 +68,7 @@ class ExceptionLogTest extends ItopDataTestCase
$sExpectedFile = __FILE__;
// @formatter:off
$oException = new $aExceptions[$i]("Iteration number $i");
$sExpectedLine = __LINE__; //Both should remain on the same line
$sExpectedLine = __LINE__-1; //Both should remain on the same line
// @formatter:on
$iExpectedWriteNumber = $aExpectedWriteNumber[$i];