Skip to content

fix #3908 mobiledetect/mobiledetectlib の要求バージョンを ^4.8.03 に変更 - #4523

Open
IwasakiRyuichi wants to merge 2 commits into
5.4.xfrom
claude/basercms-simple-issues-x67d2t
Open

fix #3908 mobiledetect/mobiledetectlib の要求バージョンを ^4.8.03 に変更#4523
IwasakiRyuichi wants to merge 2 commits into
5.4.xfrom
claude/basercms-simple-issues-x67d2t

Conversation

@IwasakiRyuichi

Copy link
Copy Markdown
Collaborator

概要

mobiledetect/mobiledetectlib の要求バージョンを ~3.74.4 から ^4.8.03 へ変更します(cakephp/app の最新に合わせる)。

対象: #3908

変更内容

  • composer.json / plugins/baser-core/composer.jsonmobiledetect/mobiledetectlib^4.8.03 に変更
  • composer update により composer.lock を更新(4.9.0 が解決されました)

動作確認

  • 新バージョンでも名前空間 Detection\MobileDetect は変わらず、config/bootstrap.php で使用している isMobile() / isTablet() メソッドも引き続き利用可能なことを確認済み
  • plugins/baser-core/tests/TestCase/Utility/BcAgentTest.phpBcAbstractDetectorTest.php が成功
  • フルテストスイートを実行し、既存の失敗・エラーはすべて実行環境(getcomposer.org 等外部ホストへのネットワークアクセス制限)に起因するもので、本変更による回帰がないことを確認

🤖 Generated with Claude Code


Generated by Claude Code

cakephp/app の最新に合わせて 3.74.4 系から 4.x 系へ更新する。
Detection\MobileDetect の isMobile()/isTablet() は引き続き利用可能で、
既存のモバイル/タブレット判定処理に変更は不要。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Comment thread composer.json Outdated
レビュー指摘により、^4.8.03 だとマイナーバージョンまで自動で
上がってしまうため、パッチバージョンまでしか上がらない ~4.8.03 に変更する。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants