EC-CUBE2.13系のPHP7への対応状況

EC-CUBE2.13系のPHP7への対応状況

既存アプリをPHP7へ移行する前にするべき6つのこと — A Day in Serenity (Reloaded) — PHP, FuelPHP, Linux or somethingをみてEC-CUBE2.13系のPHP7への対応状況を調べてみた

php7ccをかけてみます

~~~
$ composer global require sstalle/php7cc
~~~

結果はほぼPEARの問題・・・かな

~~~
$ php7cc –extensions=php,ini data/

File: /eccube-2_13/data/class/helper/SC_Helper_Session.php
> Line 27: Check that callbacks that are passed to “session_set_save_handler” and return false or -1 (if any) operate correctly
session_set_save_handler(array(&$this, ‘sfSessOpen’), array(&$this, ‘sfSessClose’), array(&$this, ‘sfSessRead’), array(&$this, ‘sfSessWrite’), array(&$this, ‘sfSessDestroy’), array(&$this, ‘sfSessGc’));

File: /eccube-2_13/data/class/pages/admin/order/LC_Page_Admin_Order_Mail.php
> Line 91: Removed function “split” called
split(‘,’, $this->order_id_array);

File: /eccube-2_13/data/class/pages/rss/LC_Page_Rss_Products.php
> Line 103: Possible object property creation during by-reference assignment
$this->arrProduct =& $this->arrProducts;

File: /eccube-2_13/data/class/SC_Product.php
> Line 582: Possible array element creation during by-reference assignment
$arrProduct[‘price01_min_tax_format’] =& $arrProduct[‘price01_min_inctax_format’];
> Line 583: Possible array element creation during by-reference assignment
$arrProduct[‘price01_max_tax_format’] =& $arrProduct[‘price01_max_inctax_format’];
> Line 584: Possible array element creation during by-reference assignment
$arrProduct[‘price02_min_tax_format’] =& $arrProduct[‘price02_min_inctax_format’];
> Line 585: Possible array element creation during by-reference assignment
$arrProduct[‘price02_max_tax_format’] =& $arrProduct[‘price02_max_inctax_format’];

File: /eccube-2_13/data/class/sessionfactory/SC_SessionFactory_UseRequest.php
> Line 166: Removed function “split” called
split(‘\\?’, $sessionId);
> Line 446: PHP 4 constructors are now deprecated
public function LC_UseRequest_State_PC()
{
}
> Line 511: PHP 4 constructors are now deprecated
public function LC_UseRequest_State_Mobile()
{
}

File: /eccube-2_13/data/module/Archive/Tar.php
> Line 134: PHP 4 constructors are now deprecated
function Archive_Tar($p_tarname, $p_compress = null)
{
}
> Line 688: Function argument(s) returned by “func_get_args” might have been modified
func_get_args();

File: /eccube-2_13/data/module/Cache/Lite/File.php
> Line 55: PHP 4 constructors are now deprecated
function Cache_Lite_File($options = array(NULL))
{
}

File: /eccube-2_13/data/module/Cache/Lite/Function.php
> Line 84: PHP 4 constructors are now deprecated
function Cache_Lite_Function($options = array(NULL))
{
}

File: /eccube-2_13/data/module/Cache/Lite/Output.php
> Line 29: PHP 4 constructors are now deprecated
function Cache_Lite_Output($options)
{
}

File: /eccube-2_13/data/module/Cache/Lite.php
> Line 297: PHP 4 constructors are now deprecated
function Cache_Lite($options = array(NULL))
{
}
> Line 749: Removed function “set_magic_quotes_runtime” called
set_magic_quotes_runtime(0);
> Line 765: Removed function “set_magic_quotes_runtime” called
set_magic_quotes_runtime($mqr);
> Line 828: Removed function “set_magic_quotes_runtime” called
set_magic_quotes_runtime(0);
> Line 832: Removed function “set_magic_quotes_runtime” called
set_magic_quotes_runtime($mqr);

File: /eccube-2_13/data/module/Calendar/Calendar.php
> Line 178: PHP 4 constructors are now deprecated
function Calendar($y = 2000, $m = 1, $d = 1, $h = 0, $i = 0, $s = 0)
{
}
> Line 404: Result of new is assigned by reference
$this->validator =& new \Calendar_Validator($this);

File: /eccube-2_13/data/module/Calendar/Day.php
> Line 83: PHP 4 constructors are now deprecated
function Calendar_Day($y, $m, $d)
{
}

File: /eccube-2_13/data/module/Calendar/Decorator/Textual.php
> Line 61: PHP 4 constructors are now deprecated
function Calendar_Decorator_Textual(&$Calendar)
{
}

File: /eccube-2_13/data/module/Calendar/Decorator/Uri.php
> Line 74: PHP 4 constructors are now deprecated
function Calendar_Decorator_Uri(&$Calendar)
{
}
> Line 91: Result of new is assigned by reference
$this->Uri =& new \Calendar_Util_Uri($y, $m, $d, $h, $i, $s);

File: /eccube-2_13/data/module/Calendar/Decorator/Weekday.php
> Line 70: PHP 4 constructors are now deprecated
function Calendar_Decorator_Weekday(&$Calendar)
{
}

File: /eccube-2_13/data/module/Calendar/Decorator/Wrapper.php
> Line 53: PHP 4 constructors are now deprecated
function Calendar_Decorator_Wrapper(&$Calendar)
{
}
> Line 68: Result of new is assigned by reference
$ret =& new $decorator($Calendar);
> Line 85: Result of new is assigned by reference
$children[$key] =& new $decorator($Calendar);

File: /eccube-2_13/data/module/Calendar/Decorator.php
> Line 59: PHP 4 constructors are now deprecated
function Calendar_Decorator(&$calendar)
{
}

File: /eccube-2_13/data/module/Calendar/docs/examples/10.php
> Line 20: PHP 4 constructors are now deprecated
function MonthDecorator(&$Month)
{
}

File: /eccube-2_13/data/module/Calendar/docs/examples/11.php
> Line 16: PHP 4 constructors are now deprecated
function DiaryEvent($calendar)
{
}
> Line 28: Result of new is assigned by reference
$Day =& new \Calendar_Day(2003, 10, 24);

File: /eccube-2_13/data/module/Calendar/docs/examples/16.php
> Line 20: Result of new is assigned by reference
$Uri =& new \Calendar_Decorator_Uri($Calendar);

File: /eccube-2_13/data/module/Calendar/docs/examples/17.php
> Line 29: Result of new is assigned by reference
$Textual =& new \Calendar_Decorator_Textual($Calendar);
> Line 42: Result of new is assigned by reference
$Textual =& new \Calendar_Decorator_Textual($Calendar);

File: /eccube-2_13/data/module/Calendar/docs/examples/18.php
> Line 15: PHP 4 constructors are now deprecated
function MyBoldDecorator(&$Calendar)
{
}
> Line 28: Result of new is assigned by reference
$Wrapper =& new \Calendar_Decorator_Wrapper($Month);

File: /eccube-2_13/data/module/Calendar/docs/examples/19.php
> Line 12: Result of new is assigned by reference
$WeekDay =& new \Calendar_Decorator_Weekday($Day);

File: /eccube-2_13/data/module/Calendar/docs/examples/20.php
> Line 23: PHP 4 constructors are now deprecated
function DiaryEvent($calendar)
{
}
> Line 57: Result of new is assigned by reference
$this->tableHelper =& new \Calendar_Table_Helper($this, $this->firstDay);
> Line 132: Result of new is assigned by reference
$Month =& new \Calendar_Month_Weekdays(2004, 6);

File: /eccube-2_13/data/module/Calendar/docs/examples/22.php
> Line 20: Result of new is assigned by reference
$Uri =& new \Calendar_Util_Uri(‘jahr’, ‘monat’);

File: /eccube-2_13/data/module/Calendar/docs/examples/4.php
> Line 23: Result of new is assigned by reference
$Unit =& new \Calendar_Second($_GET[‘y’], $_GET[‘m’], $_GET[‘d’], $_GET[‘h’], $_GET[‘i’], $_GET[‘s’]);

File: /eccube-2_13/data/module/Calendar/docs/examples/5.php
> Line 39: Result of new is assigned by reference
$Second =& new \Calendar_Second($_POST[‘y’], $_POST[‘m’], $_POST[‘d’], $_POST[‘h’], $_POST[‘i’], $_POST[‘s’]);

File: /eccube-2_13/data/module/Calendar/docs/examples/6.php
> Line 23: Result of new is assigned by reference
$Month =& new \Calendar_Month_Weekdays($_GET[‘y’], $_GET[‘m’]);
> Line 24: Result of new is assigned by reference
$Day =& new \Calendar_Day($_GET[‘y’], $_GET[‘m’], $_GET[‘d’]);

File: /eccube-2_13/data/module/Calendar/docs/examples/7.php
> Line 18: PHP 4 constructors are now deprecated
function Calendar_Server()
{
}
> Line 46: Result of new is assigned by reference
$Month =& new \Calendar_Month_Weekdays($year, $month);
> Line 78: Removed “HTTP_RAW_POST_DATA” variable used
$GLOBALS[‘HTTP_RAW_POST_DATA’];

File: /eccube-2_13/data/module/Calendar/docs/examples/9.php
> Line 10: Result of new is assigned by reference
$Day =& new \Calendar_Day(2003, 10, 23);

File: /eccube-2_13/data/module/Calendar/Hour.php
> Line 63: PHP 4 constructors are now deprecated
function Calendar_Hour($y, $m, $d, $h)
{
}

File: /eccube-2_13/data/module/Calendar/Minute.php
> Line 64: PHP 4 constructors are now deprecated
function Calendar_Minute($y, $m, $d, $h, $i)
{
}

File: /eccube-2_13/data/module/Calendar/Month/Weekdays.php
> Line 91: PHP 4 constructors are now deprecated
function Calendar_Month_Weekdays($y, $m, $firstDay = null)
{
}
> Line 110: Result of new is assigned by reference
$this->tableHelper =& new \Calendar_Table_Helper($this, $this->firstDay);

File: /eccube-2_13/data/module/Calendar/Month/Weeks.php
> Line 82: PHP 4 constructors are now deprecated
function Calendar_Month_Weeks($y, $m, $firstDay = null)
{
}
> Line 97: Result of new is assigned by reference
$this->tableHelper =& new \Calendar_Table_Helper($this, $this->firstDay);

File: /eccube-2_13/data/module/Calendar/Month.php
> Line 62: PHP 4 constructors are now deprecated
function Calendar_Month($y, $m, $firstDay = null)
{
}

File: /eccube-2_13/data/module/Calendar/Second.php
> Line 57: PHP 4 constructors are now deprecated
function Calendar_Second($y, $m, $d, $h, $i, $s)
{
}

File: /eccube-2_13/data/module/Calendar/Table/Helper.php
> Line 97: PHP 4 constructors are now deprecated
function Calendar_Table_Helper(&$calendar, $firstDay = null)
{
}

File: /eccube-2_13/data/module/Calendar/tests/all_tests.php
> Line 20: PHP 4 constructors are now deprecated
function AllTests()
{
}
> Line 32: Result of new is assigned by reference
$test =& new \AllTests();

File: /eccube-2_13/data/module/Calendar/tests/calendar_engine_tests.php
> Line 8: PHP 4 constructors are now deprecated
function CalendarEngineTests()
{
}
> Line 17: Result of new is assigned by reference
$test =& new \CalendarEngineTests();

File: /eccube-2_13/data/module/Calendar/tests/calendar_tabular_tests.php
> Line 8: PHP 4 constructors are now deprecated
function CalendarTabularTests()
{
}
> Line 19: Result of new is assigned by reference
$test =& new \CalendarTabularTests();

File: /eccube-2_13/data/module/Calendar/tests/calendar_test.php
> Line 9: PHP 4 constructors are now deprecated
function TestOfCalendar($name = ‘Test of Calendar’)
{
}

File: /eccube-2_13/data/module/Calendar/tests/calendar_tests.php
> Line 8: PHP 4 constructors are now deprecated
function CalendarTests()
{
}
> Line 22: Result of new is assigned by reference
$test =& new \CalendarTests();

File: /eccube-2_13/data/module/Calendar/tests/day_test.php
> Line 10: PHP 4 constructors are now deprecated
function TestOfDay()
{
}
> Line 61: PHP 4 constructors are now deprecated
function TestOfDayBuild()
{
}
> Line 102: Result of new is assigned by reference
$test =& new \TestOfDay();
> Line 104: Result of new is assigned by reference
$test =& new \TestOfDayBuild();

File: /eccube-2_13/data/module/Calendar/tests/decorator_test.php
> Line 16: PHP 4 constructors are now deprecated
function TestOfDecorator()
{
}
> Line 50: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 55: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 60: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 65: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 70: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 75: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 79: Result of new is assigned by reference
$mockweek =& new \Mock_Calendar_Week($this);
> Line 82: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($mockweek);
> Line 86: Result of new is assigned by reference
$mockweek =& new \Mock_Calendar_Week($this);
> Line 89: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($mockweek);
> Line 93: Result of new is assigned by reference
$mockweek =& new \Mock_Calendar_Week($this);
> Line 96: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($mockweek);
> Line 101: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 106: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 111: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 116: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 121: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 126: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 131: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 136: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 141: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 146: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 151: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 156: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 160: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 165: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 169: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 174: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 179: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 184: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 191: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 197: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 201: Result of new is assigned by reference
$mockday =& new \Mock_Calendar_Day($this);
> Line 203: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($mockday);
> Line 207: Result of new is assigned by reference
$mockday =& new \Mock_Calendar_Day($this);
> Line 209: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($mockday);
> Line 213: Result of new is assigned by reference
$mockday =& new \Mock_Calendar_Day($this);
> Line 215: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($mockday);
> Line 219: Result of new is assigned by reference
$mockday =& new \Mock_Calendar_Day($this);
> Line 221: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($mockday);
> Line 225: Result of new is assigned by reference
$mockday =& new \Mock_Calendar_Day($this);
> Line 227: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($mockday);
> Line 231: Result of new is assigned by reference
$mockday =& new \Mock_Calendar_Day($this);
> Line 233: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($mockday);
> Line 239: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 244: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 249: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 254: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 259: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);
> Line 264: Result of new is assigned by reference
$Decorator =& new \Calendar_Decorator($this->mockcal);

File: /eccube-2_13/data/module/Calendar/tests/decorator_tests.php
> Line 8: PHP 4 constructors are now deprecated
function DecoratorTests()
{
}
> Line 18: Result of new is assigned by reference
$test =& new \DecoratorTests();

File: /eccube-2_13/data/module/Calendar/tests/decorator_textual_test.php
> Line 10: PHP 4 constructors are now deprecated
function TestOfDecoratorTextual()
{
}
> Line 171: Result of new is assigned by reference
$test =& new \TestOfDecoratorTextual();

File: /eccube-2_13/data/module/Calendar/tests/decorator_uri_test.php
> Line 10: PHP 4 constructors are now deprecated
function TestOfDecoratorUri()
{
}
> Line 34: Result of new is assigned by reference
$test =& new \TestOfDecoratorUri();

File: /eccube-2_13/data/module/Calendar/tests/helper_test.php
> Line 13: PHP 4 constructors are now deprecated
function TestOfTableHelper()
{
}
> Line 40: Result of new is assigned by reference
$Helper =& new \Calendar_Table_Helper($this->mockcal, $i);
> Line 45: Result of new is assigned by reference
$Helper =& new \Calendar_Table_Helper($this->mockcal);
> Line 49: Result of new is assigned by reference
$Helper =& new \Calendar_Table_Helper($this->mockcal, 0);
> Line 53: Result of new is assigned by reference
$Helper =& new \Calendar_Table_Helper($this->mockcal, 4);
> Line 57: Result of new is assigned by reference
$Helper =& new \Calendar_Table_Helper($this->mockcal);
> Line 61: Result of new is assigned by reference
$Helper =& new \Calendar_Table_Helper($this->mockcal);
> Line 65: Result of new is assigned by reference
$Helper =& new \Calendar_Table_Helper($this->mockcal);
> Line 69: Result of new is assigned by reference
$Helper =& new \Calendar_Table_Helper($this->mockcal);
> Line 73: Result of new is assigned by reference
$Helper =& new \Calendar_Table_Helper($this->mockcal);
> Line 80: Result of new is assigned by reference
$test =& new \TestOfTableHelper();

File: /eccube-2_13/data/module/Calendar/tests/hour_test.php
> Line 10: PHP 4 constructors are now deprecated
function TestOfHour()
{
}
> Line 52: PHP 4 constructors are now deprecated
function TestOfHourBuild()
{
}
> Line 93: Result of new is assigned by reference
$test =& new \TestOfHour();
> Line 95: Result of new is assigned by reference
$test =& new \TestOfHourBuild();

File: /eccube-2_13/data/module/Calendar/tests/minute_test.php
> Line 10: PHP 4 constructors are now deprecated
function TestOfMinute()
{
}
> Line 53: PHP 4 constructors are now deprecated
function TestOfMinuteBuild()
{
}
> Line 94: Result of new is assigned by reference
$test =& new \TestOfMinute();
> Line 96: Result of new is assigned by reference
$test =& new \TestOfMinuteBuild();

File: /eccube-2_13/data/module/Calendar/tests/month_test.php
> Line 10: PHP 4 constructors are now deprecated
function TestOfMonth()
{
}
> Line 73: PHP 4 constructors are now deprecated
function TestOfMonthBuild()
{
}
> Line 114: Result of new is assigned by reference
$test =& new \TestOfMonth();
> Line 116: Result of new is assigned by reference
$test =& new \TestOfMonthBuild();

File: /eccube-2_13/data/module/Calendar/tests/month_weekdays_test.php
> Line 10: PHP 4 constructors are now deprecated
function TestOfMonthWeekdays()
{
}
> Line 70: PHP 4 constructors are now deprecated
function TestOfMonthWeekdaysBuild()
{
}
> Line 125: Result of new is assigned by reference
$test =& new \TestOfMonthWeekdays();
> Line 127: Result of new is assigned by reference
$test =& new \TestOfMonthWeekdaysBuild();

File: /eccube-2_13/data/module/Calendar/tests/month_weeks_test.php
> Line 10: PHP 4 constructors are now deprecated
function TestOfMonthWeeks()
{
}
> Line 70: PHP 4 constructors are now deprecated
function TestOfMonthWeeksBuild()
{
}
> Line 120: Result of new is assigned by reference
$test =& new \TestOfMonthWeeks();
> Line 122: Result of new is assigned by reference
$test =& new \TestOfMonthWeeksBuild();

File: /eccube-2_13/data/module/Calendar/tests/peardate_engine_test.php
> Line 9: PHP 4 constructors are now deprecated
function TestOfPearDateEngine()
{
}
> Line 121: Result of new is assigned by reference
$test =& new \TestOfPearDateEngine();

File: /eccube-2_13/data/module/Calendar/tests/second_test.php
> Line 10: PHP 4 constructors are now deprecated
function TestOfSecond()
{
}
> Line 31: Result of new is assigned by reference
$test =& new \TestOfSecond();

File: /eccube-2_13/data/module/Calendar/tests/table_helper_tests.php
> Line 8: PHP 4 constructors are now deprecated
function TableHelperTests()
{
}
> Line 16: Result of new is assigned by reference
$test =& new \TableHelperTests();

File: /eccube-2_13/data/module/Calendar/tests/unixts_engine_test.php
> Line 9: PHP 4 constructors are now deprecated
function TestOfUnixTsEngine()
{
}
> Line 101: Result of new is assigned by reference
$test =& new \TestOfUnixTsEngine();

File: /eccube-2_13/data/module/Calendar/tests/util_tests.php
> Line 8: PHP 4 constructors are now deprecated
function UtilTests()
{
}
> Line 17: Result of new is assigned by reference
$test =& new \UtilTests();

File: /eccube-2_13/data/module/Calendar/tests/util_textual_test.php
> Line 12: PHP 4 constructors are now deprecated
function TestOfUtilTextual()
{
}
> Line 188: Result of new is assigned by reference
$test =& new \TestOfUtilTextual();

File: /eccube-2_13/data/module/Calendar/tests/util_uri_test.php
> Line 14: PHP 4 constructors are now deprecated
function TestOfUtilUri()
{
}
> Line 19: Result of new is assigned by reference
$this->MockCal =& new \Mock_Calendar_Day($this);
> Line 51: Result of new is assigned by reference
$test =& new \TestOfUtilUri();

File: /eccube-2_13/data/module/Calendar/tests/validator_error_test.php
> Line 9: PHP 4 constructors are now deprecated
function TestOfValidationError()
{
}
> Line 31: Result of new is assigned by reference
$test =& new \TestOfValidationError();

File: /eccube-2_13/data/module/Calendar/tests/validator_tests.php
> Line 8: PHP 4 constructors are now deprecated
function ValidatorTests()
{
}
> Line 17: Result of new is assigned by reference
$test =& new \ValidatorTests();

File: /eccube-2_13/data/module/Calendar/tests/validator_unit_test.php
> Line 13: PHP 4 constructors are now deprecated
function TestOfValidator()
{
}
> Line 34: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 39: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 44: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 49: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 54: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 59: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 64: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 69: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 74: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 79: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 84: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 89: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 94: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 99: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 104: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 109: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 114: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 119: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 129: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 140: Result of new is assigned by reference
$Validator =& new \Calendar_Validator($this->mockcal);
> Line 151: PHP 4 constructors are now deprecated
function TestOfValidatorLive()
{
}
> Line 205: Result of new is assigned by reference
$test =& new \TestOfValidator();
> Line 207: Result of new is assigned by reference
$test =& new \TestOfValidatorLive();

File: /eccube-2_13/data/module/Calendar/tests/week_firstday_0_test.php
> Line 11: PHP 4 constructors are now deprecated
function TestOfWeek_firstday_0()
{
}
> Line 171: PHP 4 constructors are now deprecated
function TestOfWeek_firstday_0_Build()
{
}
> Line 236: Result of new is assigned by reference
$test =& new \TestOfWeek_firstday_0();
> Line 238: Result of new is assigned by reference
$test =& new \TestOfWeek_firstday_0_Build();

File: /eccube-2_13/data/module/Calendar/tests/week_test.php
> Line 11: PHP 4 constructors are now deprecated
function TestOfWeek()
{
}
> Line 171: PHP 4 constructors are now deprecated
function TestOfWeekBuild()
{
}
> Line 236: Result of new is assigned by reference
$test =& new \TestOfWeek();
> Line 238: Result of new is assigned by reference
$test =& new \TestOfWeekBuild();

File: /eccube-2_13/data/module/Calendar/tests/year_test.php
> Line 10: PHP 4 constructors are now deprecated
function TestOfYear()
{
}
> Line 96: PHP 4 constructors are now deprecated
function TestOfYearBuild()
{
}
> Line 137: Result of new is assigned by reference
$test =& new \TestOfYear();
> Line 139: Result of new is assigned by reference
$test =& new \TestOfYearBuild();

File: /eccube-2_13/data/module/Calendar/Util/Uri.php
> Line 80: PHP 4 constructors are now deprecated
function Calendar_Util_Uri($y, $m = null, $d = null, $h = null, $i = null, $s = null)
{
}

File: /eccube-2_13/data/module/Calendar/Validator.php
> Line 72: PHP 4 constructors are now deprecated
function Calendar_Validator(&$calendar)
{
}
> Line 288: PHP 4 constructors are now deprecated
function Calendar_Validation_Error($unit, $value, $message)
{
}

File: /eccube-2_13/data/module/Calendar/Week.php
> Line 118: PHP 4 constructors are now deprecated
function Calendar_Week($y, $m, $d, $firstDay = null)
{
}
> Line 123: Result of new is assigned by reference
$this->tableHelper =& new \Calendar_Table_Helper($this, $this->firstDay);

File: /eccube-2_13/data/module/Calendar/Year.php
> Line 60: PHP 4 constructors are now deprecated
function Calendar_Year($y)
{
}

File: /eccube-2_13/data/module/Compat/Compat/Function/array_walk_recursive.php
> Line 52: Function argument(s) returned by “func_get_args” might have been modified
func_get_args();

~~~

とりあえず、PEARをPEAR :: 1.10.0にバージョンアップしないとどーにもなりませんが・・・対応は難しい気がします

※よく見たらPEARがPHP5.4からになっているので、2.13系のシステム要件に合わなくなっちゃってますね。というわけで対応されないでしょう