Index: branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Deliv.php
===================================================================
--- branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Deliv.php	(revision 21693)
+++ branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Deliv.php	(revision 21734)
@@ -130,9 +130,9 @@
                 $objPurchase->setShipmentItemTempForSole($objCartSess, $shipping_id);
                 $objSiteSess->setRegistFlag();
-                
+
                 // フックポイント.
                 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg);
                 $objPlugin->doAction('LC_Page_Shopping_Deliv_action_customeraddr', array($this));
-                
+
                 SC_Response_Ex::sendRedirect(SHOPPING_PAYMENT_URLPATH);
                 exit;
Index: branches/version-2_12-dev/data/class/pages/unsupported/LC_Page_Unsupported.php
===================================================================
--- branches/version-2_12-dev/data/class/pages/unsupported/LC_Page_Unsupported.php	(revision 21698)
+++ branches/version-2_12-dev/data/class/pages/unsupported/LC_Page_Unsupported.php	(revision 21734)
@@ -62,5 +62,5 @@
         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg);
         $objPlugin->doAction('LC_Page_Unsupported_action_before', array($this));
-        
+
         // フックポイント.
         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg);
Index: branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php
===================================================================
--- branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php	(revision 21731)
+++ branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php	(revision 21734)
@@ -496,5 +496,5 @@
     function updatePlugin($target_plugin, $upload_file_name) {
         $arrErr = array();
-        
+
         // ファイルをチェックし展開します.
         $arrErr = $this->unpackPluginFile($upload_file_name, DOWNLOADS_TEMP_PLUGIN_UPDATE_DIR, $target_plugin['plugin_code']);
Index: branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Bkup.php
===================================================================
--- branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Bkup.php	(revision 21730)
+++ branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Bkup.php	(revision 21734)
@@ -466,5 +466,5 @@
                     $row['bkup_name'] = $bkup_name;
                     $row['bkup_memo'] = '(記録なし。バックアップファイルのみ。)';
-                    $row['create_date'] = date("Y-m-d H:i:s", filemtime($path));
+                    $row['create_date'] = date('Y-m-d H:i:s', filemtime($path));
                 }
             }
Index: branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php
===================================================================
--- branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php	(revision 21693)
+++ branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php	(revision 21734)
@@ -74,29 +74,29 @@
         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg);
         $objPlugin->doAction('LC_Page_Admin_Order_Mail_action_before', array($this));
-        
+
         //一括送信用の処理
-        if(array_key_exists("mail_order_id",$_POST) and $_POST['mode'] == 'mail_select'){
-            $_POST['order_id_array'] = implode(",",$_POST['mail_order_id']);
-        }else if(!array_key_exists("order_id_array",$_POST)){
+        if (array_key_exists('mail_order_id',$_POST) and $_POST['mode'] == 'mail_select'){
+            $_POST['order_id_array'] = implode(',',$_POST['mail_order_id']);
+        } else if(!array_key_exists('order_id_array',$_POST)){
             $_POST['order_id_array'] = $_POST['order_id'];
         }
-        
-        
+
+
         //一括送信処理変数チェック(ここですべきかは課題)
-        if(preg_match("/^[0-9|\,]*$/",$_POST['order_id_array'])){
+        if (preg_match("/^[0-9|\,]*$/",$_POST['order_id_array'])){
             $this->order_id_array = $_POST['order_id_array'];
-        }else{
+        } else {
             //エラーで元に戻す
             SC_Response_Ex::sendRedirect(ADMIN_ORDER_URLPATH);
             exit;
         }
-        
+
         //メール本文の確認例は初めの1受注とする
-        if($this->order_id_array){
-            $order_id_array = split(",",$this->order_id_array);
+        if ($this->order_id_array){
+            $order_id_array = split(',',$this->order_id_array);
             $_POST['order_id'] = intval($order_id_array[0]);
             $this->order_id_count = count($order_id_array);
         }
-        
+
         // パラメーター管理クラス
         $objFormParam = new SC_FormParam_Ex();
@@ -179,10 +179,10 @@
     function doSend(&$objFormParam) {
         $arrErr = $objFormParam->checkerror();
-        
+
         // メールの送信
         if (count($arrErr) == 0) {
             // 注文受付メール(複数受注ID対応)
-            $order_id_array = explode(",",$this->order_id_array);
-            foreach($order_id_array as $order_id){
+            $order_id_array = explode(',',$this->order_id_array);
+            foreach ($order_id_array as $order_id){
                 $objMail = new SC_Helper_Mail_Ex();
                 $objSendMail = $objMail->sfSendOrderMail($order_id,
Index: branches/version-2_12-dev/data/class/api/SC_Api_Operation.php
===================================================================
--- branches/version-2_12-dev/data/class/api/SC_Api_Operation.php	(revision 21722)
+++ branches/version-2_12-dev/data/class/api/SC_Api_Operation.php	(revision 21734)
@@ -98,5 +98,5 @@
     protected function checkReferer() {
         $ret = false;
-        if(!SC_Utils_Ex::isBlank($_SERVER['HTTP_REFERER'])) {
+        if (!SC_Utils_Ex::isBlank($_SERVER['HTTP_REFERER'])) {
             $domain  = SC_Utils_Ex::sfIsHTTPS() ? HTTPS_URL : HTTP_URL;
             $pattern = sprintf('|^%s.*|', $domain);
@@ -144,5 +144,5 @@
         // Refer: https://images-na.ssl-images-amazon.com/images/G/09/associates/paapi/dg/index.html?Query_QueryAuth.html
         $check_str = '';
-        foreach($arrParam as $key => $val) {
+        foreach ($arrParam as $key => $val) {
             switch ($key) {
                 case 'Signature':
@@ -159,5 +159,5 @@
                      . $check_str;
         $signature = base64_encode(hash_hmac('sha256', $check_str, $secret_key, true));
-        if($signature === $arrParam['Signature']) {
+        if ($signature === $arrParam['Signature']) {
             return true;
         }
@@ -206,5 +206,5 @@
             return false;
         }
-        $arrAuthTypes = explode("|", $arrApiConfig['auth_types']);
+        $arrAuthTypes = explode('|', $arrApiConfig['auth_types']);
         $result = false;
         foreach ($arrAuthTypes as $auth_type) {
@@ -249,7 +249,7 @@
                     break;
             }
-            if($ret === true) {
+            if ($ret === true) {
                 $result = true;
-            }else{
+            } else {
                 $result = false;
                 break;  // 1つでもfalseがあれば，その時点で終了
@@ -277,5 +277,5 @@
      *
      * @param array $arrPost リクエストパラメーター
-     * @return array( string レスポンス名, array レスポンス配列 )
+     * @return array(string レスポンス名, array レスポンス配列)
      */
     public function doApiAction($arrPost) {
@@ -313,15 +313,15 @@
 
                     // オペレーション結果処理
-                    if($operation_result) {
+                    if ($operation_result) {
                         $arrOperationRequestValid = $objApiOperation->getRequestValidate();
                         $arrResponseBody =  $objApiOperation->getResponseArray();
                         $response_group_name = $objApiOperation->getResponseGroupName();
-                    }else{
+                    } else {
                         $arrErr = $objApiOperation->getErrorArray();
                     }
-                }else{
+                } else {
                     $arrErr['ECCUBE.Operation.NoLoad'] = 'オペレーションをロード出来ませんでした。';
                 }
-            }else{
+            } else {
                 $arrErr['ECCUBE.Authority.NoAuthority'] = 'オペレーションの実行権限がありません。';
             }
@@ -330,5 +330,5 @@
         if (count($arrErr) == 0) {
             // 実行成功
-            $arrResponseValidSection = array( 'Request' => array(
+            $arrResponseValidSection = array('Request' => array(
                                                             'IsValid' => 'True',
                                                             $operation_name . 'Request' => $arrOperationRequestValid
@@ -343,5 +343,5 @@
                 $arrResponseErrorSection[] = array('Code' => $error_code, 'Message' => $error_msg);
             }
-            $arrResponseValidSection = array( 'Request' => array(
+            $arrResponseValidSection = array('Request' => array(
                                                             'IsValid' => 'False',
                                                             'Errors' => array('Error' => $arrResponseErrorSection)
@@ -350,5 +350,5 @@
             if (is_object($objApiOperation)) {
                 $response_outer = $operation_name . 'Response';
-            }else{
+            } else {
                 $response_outer = 'ECCUBEApiCommonResponse';
             }
@@ -381,5 +381,5 @@
                 'Arguments' => array(),
                 );
-        foreach($arrParam as $key => $val) {
+        foreach ($arrParam as $key => $val) {
             $arrRet['Arguments'][] = array('_attributes' => array('Name' => htmlentities($key, ENT_NOQUOTES, 'UTF-8'), 'Value' => htmlentities($val, ENT_NOQUOTES, 'UTF-8')));
         }
@@ -390,5 +390,5 @@
     // TODO: ここらへんは SC_Displayに持って行きたい所だが・・
     public function sendApiResponse($type, $response_outer_name, &$arrResponse) {
-        switch($type) {
+        switch ($type) {
             case 'xml':
                 SC_Api_Utils_Ex::sendResponseXml($response_outer_name, $arrResponse);
Index: branches/version-2_12-dev/data/class/api/SC_Api_Utils.php
===================================================================
--- branches/version-2_12-dev/data/class/api/SC_Api_Utils.php	(revision 21722)
+++ branches/version-2_12-dev/data/class/api/SC_Api_Utils.php	(revision 21734)
@@ -29,7 +29,7 @@
  * @version $Id$
  */
-define('API_UPLOAD_REALDIR', DATA_REALDIR . "downloads/api/");
-define('API_CLASS_EX_REALDIR', CLASS_EX_REALDIR . "api_extends/operations/");
-define('API_CLASS_REALDIR', CLASS_REALDIR . "api/operations/");
+define('API_UPLOAD_REALDIR', DATA_REALDIR . 'downloads/api/');
+define('API_CLASS_EX_REALDIR', CLASS_EX_REALDIR . 'api_extends/operations/');
+define('API_CLASS_REALDIR', CLASS_REALDIR . 'api/operations/');
 
 class SC_Api_Utils {
@@ -159,5 +159,5 @@
         // Core API ディレクトリ
         if (is_dir(API_CLASS_EX_REALDIR)) {
-            if($dh = opendir(API_CLASS_EX_REALDIR)) {
+            if ($dh = opendir(API_CLASS_EX_REALDIR)) {
                 while (($file_name = readdir($dh)) !== false) {
                     if ($file_name != '.' && $file_name != '..' && substr($file_name, -4) == '.php') {
@@ -171,5 +171,5 @@
         // downaloads APIディレクトリ (for Plugin)
         if (is_dir(API_UPLOAD_REALDIR)) {
-            if($dh = opendir(API_UPLOAD_REALDIR)) {
+            if ($dh = opendir(API_UPLOAD_REALDIR)) {
                 while (($file_name = readdir($dh)) !== false) {
                     if ($file_name != '.' && $file_name != '..' && substr($file_name, -4) == '.php') {
@@ -206,5 +206,5 @@
             'encoding' => 'UTF-8',
             'rootName' => $response_outer_name,
-            'rootAttributes' => array( 'xmlns' => self::API_XMLNS . ECCUBE_VERSION,
+            'rootAttributes' => array('xmlns' => self::API_XMLNS . ECCUBE_VERSION,
                                         'xml:lang' => self::API_XML_LANG),
             'defaultTagName' => 'Response',
Index: branches/version-2_12-dev/data/class/api/SC_Api_Abstract.php
===================================================================
--- branches/version-2_12-dev/data/class/api/SC_Api_Abstract.php	(revision 21713)
+++ branches/version-2_12-dev/data/class/api/SC_Api_Abstract.php	(revision 21734)
@@ -106,5 +106,5 @@
         $this->objFormParam->convParam();
         $this->arrErr = $this->objFormParam->checkError(false);
-        $this->arrErr = array_merge( (array)$this->arrErr, (array)$this->checkErrorExtended($arrParam) );
+        $this->arrErr = array_merge((array)$this->arrErr, (array)$this->checkErrorExtended($arrParam));
         return $this->objFormParam->getHashArray();
     }
