Code conventions

This commit is contained in:
Molkobain
2021-09-21 16:44:26 +02:00
parent b6bd7fe400
commit 0dc95f93a9
3 changed files with 4 additions and 3 deletions

View File

@@ -15,4 +15,4 @@
@import "input-within-datatable";
@import "jquery-blockui-within-dialog";
@import "jquery-blockui-within-datatable";
@import "_collapsible-section-within-caselog-list";
@import "collapsible-section-within-caselog-list";

View File

@@ -23,6 +23,7 @@ namespace Combodo\iTop\Portal\EventListener;
use Dict;
use ExceptionLog;
use IssueLog;
use Symfony\Component\Debug\Exception\FlattenException;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
@@ -86,7 +87,7 @@ class ExceptionListener implements ContainerAwareInterface
}
// Log exception in iTop log
\ExceptionLog::LogException($oException, [
ExceptionLog::LogException($oException, [
'uri' => $oEvent->getRequest()->getUri(),
]);

View File

@@ -73,7 +73,7 @@ class ExceptionLogTest extends ItopDataTestCase
foreach ($aLevels as $i => $sLevel) {
$sExpectedFile=__FILE__;
$sExpectedFile = __FILE__;
$oException = new $aExceptions[$i]("Iteration number $i"); $sExpectedLine = __LINE__; //Both should remain on the same line
$iExpectedWriteNumber = $aExpectedWriteNumber[$i];