Commit dc139e9
chore(composer): 本体が使用する PHP 拡張を composer.json に宣言する (#6940)
本体が使っているのに composer.json に無く、推移的にも担保されていない拡張の
うち、宣言しても既存環境を弾かない 3 件を宣言する。
- ext-pdo … TransactionListener / PluginService が getNativeConnection() の
戻りを \PDO として inTransaction() を呼ぶ。無ければ EC-CUBE が動かない
- ext-session … framework.yaml が session.handler.native_file を指定する。
同様に無ければ動かない
- ext-ctype … ctype_digit / ctype_xdigit を使用。symfony/polyfill-ctype が
provide するため非搭載環境でも依存解決は通る
ext-phar は本番の要求元が無く(dev の phar-io/manifest のみ)、宣言すると
これまで動いていた環境のプラグイン導入を止める。#6827 の sodium と同じ
「CLI を持たない共有レンタルサーバーでは利用者が回避できない」問題を
作るため宣言しない。ext-libxml も直接使用が無いため見送る。
制約は polyfill の provide を満たせるよう "*" とする。composer.lock は
platform セクションと content-hash のみ更新し、パッケージ版は変更しない。
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent f03d0da commit dc139e9
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments