diff --git a/data/class/pages/forgot/LC_Page_Forgot.php b/data/class/pages/forgot/LC_Page_Forgot.php index 8c147f46fc..5b4c4496dd 100644 --- a/data/class/pages/forgot/LC_Page_Forgot.php +++ b/data/class/pages/forgot/LC_Page_Forgot.php @@ -277,7 +277,7 @@ public function lfInitSecretCheckParam(&$objFormParam, $device_type) public function lfSendMail(&$CONF, $email, $customer_name, $new_password) { // パスワード変更お知らせメール送信 - $objMailText = new SC_SiteView_Ex(false); + $objMailText = new SC_SiteView_Ex(); $objMailText->setPage($this); $objMailText->assign('customer_name', $customer_name); $objMailText->assign('new_password', $new_password); diff --git a/data/class/pages/rss/LC_Page_Rss.php b/data/class/pages/rss/LC_Page_Rss.php index 348187a723..61566cfb88 100644 --- a/data/class/pages/rss/LC_Page_Rss.php +++ b/data/class/pages/rss/LC_Page_Rss.php @@ -60,7 +60,7 @@ public function init() */ public function process() { - $objView = new SC_SiteView_Ex(false); + $objView = new SC_SiteView_Ex(); //新着情報を取得 $arrNews = $this->lfGetNews(); diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 9d2d392744..d23977b88b 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -2,17 +2,18 @@ parameters: level: 1 bootstrapFiles: - tests/require.php - - data/vendor/smarty/smarty/libs/plugins/function.html_radios.php excludePaths: - - data/Smarty/templates_c/* - - data/module/SOAP/* - - data/vendor/* - - data/downloads/* - - data/module/Calendar/Engine/PearDate.php - - data/class/helper/SC_Helper_Mobile.php - - data/class/SC_MobileEmoji.php - - data/class/SC_MobileImage.php - - data/**/flycheck_*.php + analyse: + - data/module/SOAP/* + - data/vendor/* + - data/downloads/* + - data/module/Calendar/Engine/PearDate.php + - data/class/helper/SC_Helper_Mobile.php + - data/class/SC_MobileEmoji.php + - data/class/SC_MobileImage.php + - data/**/flycheck_*.php + analyseAndScan: + - *.tpl.php ignoreErrors: - message: "#^Call to an undefined static method PEAR\\:\\:raiseError\\(\\)\\.$#" @@ -34,9 +35,6 @@ parameters: # - # message: "#^Constant SMARTY_PLUGINS_DIR not found\\.$#" # path: data/smarty_extends/* - - - message: "#^Function smarty_function_escape_special_chars not found\\.$#" - path: data/smarty_extends/* - message: "#^Variable \\$SJIS_widths might not be defined\\.$#" path: data/class/helper/SC_Helper_FPDI.php