Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 31 additions & 30 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,42 @@
"type": "project",
"description": "Primary dependencies for XOOPS/XoopsCore",
"require": {
"php": ">7.1",
"php": ">8.2",
"dflydev/apache-mime-types": "1.0.*",
"doctrine/dbal": "^4.2.1",
"embed/embed": "^3.0.0",
"endroid/qr-code": "^6.0.8",
"ext-PDO": "*",
"ext-session": "*",
"ext-pcre": "*",
"ext-json": "*",
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Composer package names are normalized to lowercase; using "ext-PDO" is inconsistent with the other ext-* requirements (e.g., ext-json/ext-mbstring) and can be confusing. Consider renaming it to "ext-pdo" for consistency and to match Composer docs.

Copilot uses AI. Check for mistakes.
"league/container": "~3.0",
"doctrine/dbal": "2.9.*",
"psr/log": "1.1.*",
"patchwork/utf8": "^1.3",
"geekwright/assetic-fork": "^2.0",
"symfony/console": "^4.2",
"ptachoire/cssembed": "1.0.*",
"ext-pcre": "*",
"ext-session": "*",
Comment on lines +10 to +12
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The requirements include both "ext-mbstring" and "symfony/polyfill-mbstring". If mbstring is mandatory (as implied by ext-mbstring), the polyfill is redundant; if mbstring should be optional, consider dropping the ext-mbstring requirement and relying on the polyfill (or documenting why both are needed).

Copilot uses AI. Check for mistakes.
"ezyang/htmlpurifier": "^4.8.0",
"firebase/php-jwt": "^6.10.2",
"geekwright/assetic-fork": "*",
Copy link

Copilot AI Jun 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using a specific version constraint for 'geekwright/assetic-fork' instead of '*', to avoid unexpected updates.

Suggested change
"geekwright/assetic-fork": "*",
"geekwright/assetic-fork": "^1.0",

Copilot uses AI. Check for mistakes.
"geekwright/po": "^2.0",
"kint-php/kint": "^3.3",
"league/container": "~3.4.1",
"lmammino/jsmin4assetic": "1.0.*",
"wikimedia/less.php": "^2.0",
"scssphp/scssphp": "^1.0",
"natxet/cssmin": "3.0.*",
"patchwork/jsqueeze": "~2.0.5",
"kint-php/kint": "^3.0",
"symfony/yaml": "^4.2",
"tedivm/stash": "^0.15",
"dflydev/apache-mime-types": "1.0.*",
"geekwright/regdom": "^1.0",
"smarty/smarty": "^3.1",
"punic/punic": "^3",
"php-debug/debugger": "^0.1.0",
"moneyphp/money": "^3.0",
"geekwright/po": "^2.0",
"embed/embed": "^3.0.0",
"ezyang/htmlpurifier": "^4.8.0",
"firebase/php-jwt": "^5.0.0",
"webmozart/assert": "^1.2",
"monolog/monolog": "^1.20.0",
"maximebf/debugbar": "^1.11",
"tecnickcom/tcpdf": "6.2.*",
"endroid/qr-code": "^3.5.0",
"natxet/cssmin": "3.0.*",
"patchwork/jsqueeze": "~2.0.5",
"patchwork/utf8": "^1.3",
"phpmailer/phpmailer": "^6.9.3",
"psr/log": "1.1.4.*",
"ptachoire/cssembed": "1.0.*",
"punic/punic": "^3.8.1",
"scssphp/scssphp": "^1.13",
"smarty/smarty": "^4.1",
"stefangabos/zebra_image": "^2.2",
"phpmailer/phpmailer": "^6.0"
"symfony/console": "^4.4",
"symfony/process": "^7.3.0",
"symfony/yaml": "^4.4",
"tecnickcom/tcpdf": "6.8.*",
"tedivm/stash": "*",
Copy link

Copilot AI Jun 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using a specific version constraint for 'tedivm/stash' rather than '*', to ensure stability.

Suggested change
"tedivm/stash": "*",
"tedivm/stash": "^0.15.2",

Copilot uses AI. Check for mistakes.
"webmozart/assert": "^1.2",
"xoops/regdom": "^2.0",
"wikimedia/less.php": "^2.0"
}
}