mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°8796 - fix ci jo regression due to code style formatting
This commit is contained in:
@@ -6,7 +6,7 @@ echo $APPROOT;
|
|||||||
$finder = PhpCsFixer\Finder::create()
|
$finder = PhpCsFixer\Finder::create()
|
||||||
->in($APPROOT)
|
->in($APPROOT)
|
||||||
->exclude(['oql', 'data', 'extensions'])
|
->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();
|
$config = new PhpCsFixer\Config();
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class ExceptionLogTest extends ItopDataTestCase
|
|||||||
$sExpectedFile = __FILE__;
|
$sExpectedFile = __FILE__;
|
||||||
// @formatter:off
|
// @formatter:off
|
||||||
$oException = new $aExceptions[$i]("Iteration number $i");
|
$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
|
// @formatter:on
|
||||||
|
|
||||||
$iExpectedWriteNumber = $aExpectedWriteNumber[$i];
|
$iExpectedWriteNumber = $aExpectedWriteNumber[$i];
|
||||||
|
|||||||
Reference in New Issue
Block a user