From 4cd7f19ce122a302a2d6ebda0aa8b88154544259 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 13 Apr 2017 12:11:12 +0200 Subject: [PATCH 1/2] Debug Level --- application/Bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Bootstrap.php b/application/Bootstrap.php index 49962c32..f883642a 100644 --- a/application/Bootstrap.php +++ b/application/Bootstrap.php @@ -210,7 +210,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap } else { $level = Logger::NOTICE; } - $log->pushHandler(new StreamHandler($logFile), $level); + $log->pushHandler(new StreamHandler($logFile, $level)); $log->pushProcessor(new IntrospectionProcessor()); Zend_Registry::set('logger', $log); From c55de7cc2f23ce007aecba05805b9584670f5631 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 13 Apr 2017 12:23:45 +0200 Subject: [PATCH 2/2] Coding Style --- library/WsScore/Clients/Rrg/v0.1/Service.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/WsScore/Clients/Rrg/v0.1/Service.php b/library/WsScore/Clients/Rrg/v0.1/Service.php index 400216d9..a19637d0 100644 --- a/library/WsScore/Clients/Rrg/v0.1/Service.php +++ b/library/WsScore/Clients/Rrg/v0.1/Service.php @@ -64,7 +64,7 @@ class Entreprise extends Scores_Ws_Server // --- Correction pour l'envoi des dates if ( !empty($DateCreaEn) ) { $Infos->DateCreaEn = $DateCreaEn; - if (strlen($DateCreaEn)<8) { + if (strlen($DateCreaEn) < 8) { $Infos->DateCreaEn = str_pad($DateCreaEn, 8, '0', STR_PAD_RIGHT); } if (substr($DateCreaEn, -2) * 1 == 0) {