ec-cube2
ec-cube2 copied to clipboard
EC-CUBE official repository version 2
Bumps [symfony/polyfill-intl-normalizer](https://github.com/symfony/polyfill-intl-normalizer) from 1.31.0 to 1.33.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: #...
Bumps [symfony/polyfill-php80](https://github.com/symfony/polyfill-php80) from 1.31.0 to 1.33.0. Commits 0cc9dd0 More precise phpdocs in PhpToken See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR...
Bumps [myclabs/deep-copy](https://github.com/myclabs/DeepCopy) from 1.12.1 to 1.13.4. Release notes Sourced from myclabs/deep-copy's releases. 1.13.4 What's Changed Do not call Reflection*::setAccessible() in PHP >= 8.1 by @W0rma in myclabs/DeepCopy#207 New Contributors @W0rma...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.26.9 to 7.28.5. Release notes Sourced from @babel/preset-env's releases. v7.28.5 (2025-10-23) Thank you @CO0Ki3, @Olexandr88, and @youthfulhps for your first PRs! :eyeglasses: Spec Compliance babel-parser #17446 Allow...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.27.1 to 7.28.5. Release notes Sourced from @babel/core's releases. v7.28.5 (2025-10-23) Thank you @CO0Ki3, @Olexandr88, and @youthfulhps for your first PRs! :eyeglasses: Spec Compliance babel-parser #17446 Allow...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. Release notes Sourced from actions/upload-artifact's releases. v5.0.0 What's Changed BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but...
Bumps [nikic/php-parser](https://github.com/nikic/PHP-Parser) from 5.4.0 to 5.6.2. Release notes Sourced from nikic/php-parser's releases. PHP-Parser 5.6.2 Fixed Fixed formatting-preserving pretty-printing when changing the visibility modifier on a node that has attributes. Fixed...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 2.1.16 to 2.1.31. Release notes Sourced from phpstan/phpstan's releases. 2.1.31 Bleeding edge 🔪 AssignToByRefExprFromForeachRule (level 1) (https://github.com/phpstan/phpstan-src/commit/0624342656d2770c99853d0a468304b4348bd129), #13625, #11120 Validate curl_setopt_array parameter array (#4395), #13615, thanks @staabm!...
LC_Page::httpCacheControl() を実装・利用しているが、実質不要となっているように思う。 過去は、LC_Page::httpCacheControl('private') の利用が多々あり、session_cache_limiter() の効果を上書きするシーンで有用だったと思う。 現在は、LC_Page_Mypage_DownLoad で使われているのみで、多分 IE6 対策とかだと思うので、もはや不要な気がする。 ただ、実行時設定「session.cache_limiter」は「nocache」とする必要はある。 徹底する場合、ini_set() という話になるかもしれないが、「nocache」はデフォルトであり、変更されている環境など皆無な気はするので、無視して良い気はする。 LC_Page_Rss などで、`header('pragma: no-cache');` しているが、これも不要なはず。 (セッション処理を省略して高速化するアプローチを導入する場合には、そういった処理も必要かもしれないが、ざっと確認した範囲ではそうなってはいなそう。セッション変数を参照できる。) とりあえず、LC_Page::httpCacheControl() の実装は放置として、利用箇所の削除を試みたい。
## 概要 EC-CUBE 2系の`SC_ClassAutoloader.php`において、`*_Ex`クラスファイルの期待パスと実際のファイル配置に相違がある問題について調査した結果をまとめる。 ## 問題の発端 - 決済プラグインの提供する `data/class_extends/helper_extends/SC_Helper_Purchase_Ex.php` が正常にロードされない環境がある - `data/class/SC_ClassAutoloader.php`の145行目からの処理で、`*_Ex`ファイルが存在しない場合はエイリアスを作成している - composerのオートローダーと、このエイリアスはどちらが優先されるか? - `data/class_extends/helper_extends/SC_Helper_Purchase_Ex.php`の場合はどちらが優先されるか? ## 正常にロードされない環境での暫定対応 `data/app_initial.php` の末尾で、 require_once にて明示的にロードすることで解消可能 ```diff diff --git a/data/app_initial.php b/data/app_initial.php index 57e4cf3b5..5e9bac2c3 100755...