Skip to content

Commit

Permalink
Apply PHP_CS_FIXER_IGNORE_ENV=1 ec-cube php data/vendor/bin/php-cs-fi…
Browse files Browse the repository at this point in the history
…xer -v fix --allow-risky=yes
  • Loading branch information
nanasess committed Dec 20, 2024
1 parent d59153d commit 1daa15b
Show file tree
Hide file tree
Showing 17 changed files with 171 additions and 170 deletions.
1 change: 1 addition & 0 deletions data/class/helper/SC_Helper_Purchase.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ public static function getOrderTemp($uniqId)
$objQuery = SC_Query_Ex::getSingletonInstance();

$result = $objQuery->getRow('*', 'dtb_order_temp', 'order_temp_id = ?', [$uniqId]);

return is_array($result) ? $result : []; // 必ず配列を返す
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../../';
require_once $HOME . '/tests/class/Common_TestCase.php';
$HOME = realpath(__DIR__).'/../../../../';
require_once $HOME.'/tests/class/Common_TestCase.php';

class SC_Helper_Address_TestBase extends Common_TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../..';
require_once $HOME . '/tests/class/helper/SC_Helper_Address/SC_Helper_Address_TestBase.php';
$HOME = realpath(__DIR__).'/../../../..';
require_once $HOME.'/tests/class/helper/SC_Helper_Address/SC_Helper_Address_TestBase.php';

class SC_Helper_Address_deleteAddressTest extends SC_Helper_Address_TestBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../..';
require_once $HOME . '/tests/class/helper/SC_Helper_Address/SC_Helper_Address_TestBase.php';
$HOME = realpath(__DIR__).'/../../../..';
require_once $HOME.'/tests/class/helper/SC_Helper_Address/SC_Helper_Address_TestBase.php';

class SC_Helper_Address_registAddressTest extends SC_Helper_Address_TestBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../../';
require_once $HOME . '/tests/class/Common_TestCase.php';
$HOME = realpath(__DIR__).'/../../../../';
require_once $HOME.'/tests/class/Common_TestCase.php';

class SC_Helper_Kiyaku_TestBase extends Common_TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../..';
require_once $HOME . '/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';
$HOME = realpath(__DIR__).'/../../../..';
require_once $HOME.'/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';

class SC_Helper_Kiyaku_deleteKiyakuTest extends SC_Helper_Kiyaku_TestBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../..';
require_once $HOME . '/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';
$HOME = realpath(__DIR__).'/../../../..';
require_once $HOME.'/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';

class SC_Helper_Kiyaku_getKiyakuTest extends SC_Helper_Kiyaku_TestBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../..';
require_once $HOME . '/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';
$HOME = realpath(__DIR__).'/../../../..';
require_once $HOME.'/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';

class SC_Helper_Kiyaku_getListTest extends SC_Helper_Kiyaku_TestBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../..';
require_once $HOME . '/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';
$HOME = realpath(__DIR__).'/../../../..';
require_once $HOME.'/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';

class SC_Helper_Kiyaku_rankDownTest extends SC_Helper_Kiyaku_TestBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../..';
require_once $HOME . '/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';
$HOME = realpath(__DIR__).'/../../../..';
require_once $HOME.'/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';

class SC_Helper_Kiyaku_rankUpTest extends SC_Helper_Kiyaku_TestBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../..';
require_once $HOME . '/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';
$HOME = realpath(__DIR__).'/../../../..';
require_once $HOME.'/tests/class/helper/SC_Helper_Kiyaku/SC_Helper_Kiyaku_TestBase.php';

class SC_Helper_Kiyaku_saveKiyakuTest extends SC_Helper_Kiyaku_TestBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$HOME = realpath(__DIR__) . '/../../../..';
require_once $HOME . '/tests/class/helper/SC_Helper_News/SC_Helper_News_TestBase.php';
$HOME = realpath(__DIR__).'/../../../..';
require_once $HOME.'/tests/class/helper/SC_Helper_News/SC_Helper_News_TestBase.php';

class SC_Helper_News_deleteNewsTest extends SC_Helper_News_TestBase
{
Expand Down
Loading

0 comments on commit 1daa15b

Please sign in to comment.