mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 15:52:24 +02:00
Code conventions
This commit is contained in:
@@ -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";
|
||||
@@ -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(),
|
||||
]);
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user