diff --git a/www/admin/class_test.array.php b/www/admin/class_test.array.php index cc1789b3..381816ed 100644 --- a/www/admin/class_test.array.php +++ b/www/admin/class_test.array.php @@ -21,7 +21,7 @@ ob_end_flush(); use CoreLibs\Combined\ArrayHandler; use CoreLibs\Debug\Support as DgS; use CoreLibs\Convert\SetVarType; -use PHPUnit\Framework\Constraint\ArrayHasKey; +// use PHPUnit\Framework\Constraint\ArrayHasKey; $log = new CoreLibs\Logging\Logging([ 'log_folder' => BASE . LOG, diff --git a/www/admin/class_test.datetime.php b/www/admin/class_test.datetime.php index 7255c368..76697b6d 100644 --- a/www/admin/class_test.datetime.php +++ b/www/admin/class_test.datetime.php @@ -451,6 +451,7 @@ function intervalStringFormatDeprecated( $value = $interval->days; $skip = true; } else { + /** @phan-suppress-next-line PhanUndeclaredProperty */ $value = $interval->$part; } if ($value == 0 && $skip_last_zero === true) { diff --git a/www/admin/class_test.db.query-placeholder.php b/www/admin/class_test.db.query-placeholder.php index da052c4e..6010d05f 100644 --- a/www/admin/class_test.db.query-placeholder.php +++ b/www/admin/class_test.db.query-placeholder.php @@ -20,7 +20,7 @@ $LOG_FILE_ID = 'classTest-db-query-placeholder'; ob_end_flush(); use CoreLibs\Debug\Support; -use CoreLibs\DB\Support\ConvertPlaceholder; +// use CoreLibs\DB\Support\ConvertPlaceholder; $log = new CoreLibs\Logging\Logging([ 'log_folder' => BASE . LOG, diff --git a/www/admin/class_test.db.single.php b/www/admin/class_test.db.single.php index ea196ff0..47445f83 100644 --- a/www/admin/class_test.db.single.php +++ b/www/admin/class_test.db.single.php @@ -19,7 +19,7 @@ require 'config.php'; $LOG_FILE_ID = 'classTest-db-query-placeholders'; ob_end_flush(); -use CoreLibs\Debug\Support; +// use CoreLibs\Debug\Support; $log = new CoreLibs\Logging\Logging([ 'log_folder' => BASE . LOG, diff --git a/www/admin/class_test.smarty.php b/www/admin/class_test.smarty.php index 6eb54f06..e752ccba 100644 --- a/www/admin/class_test.smarty.php +++ b/www/admin/class_test.smarty.php @@ -97,7 +97,7 @@ $smarty->DATA['drop_down_test'] = [ 'foobar' => 'Foo Bar', ]; $smarty->DATA['drop_down_test_selected'] = 'bar'; -$smarty->DATA['drop_down_test_nested'] = [ +$smarty->DATA['drop_down_test_nested'] = [ '' => '選択してください', '4/25(木)' => [ '4/25(木) 11:00-11:50' => '4/25(木) 11:00-11:50',