[TikiWiki-commits] [Git][tikiwiki/tiki][24.x] [FIX] Allow Composer 2.10 installs on PHP 7.4

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]> Fri, 24 Jul 2026 13:02:26 +0000
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a636262b0a4e_3821392b34291b9@gitlab-sidekiq-low-urgency-cpu-bound-v2-7d8cd68bcd-xt97h.mail>

Victor Emanouilov pushed to branch 24.x at Tiki Wiki CMS Groupware / Tiki


Commits:
5e2aa7cb by ushindi bienvenu at 2026-07-24T12:56:21+00:00
[FIX] Allow Composer 2.10 installs on PHP 7.4
---
* [FIX] Allow Composer 2.10 installs on PHP 7.4

See merge request tikiwiki/tiki!10771

- - - - -


2 changed files:

- setup.sh
- vendor_bundled/composer.lock


Changes:

=====================================
setup.sh
=====================================
@@ -590,7 +590,7 @@ composer_core()
     then
         if [ ${LOGCOMPOSERFLAG} = "0" ] ; then
             #until php -dmemory_limit=-1 temp/composer.phar install --working-dir vendor_bundled --prefer-dist --no-dev
-            until "${PHPCLI}" -dmemory_limit=-1 temp/composer.phar install --working-dir vendor_bundled --prefer-dist --optimize-autoloader --no-interaction ${DEVELOPMENT} 2>&1 | sed '/Warning: Ambiguous class resolution/d'
+            until COMPOSER_ALLOW_UNSAFE_PHAR_METADATA=1 "${PHPCLI}" -dmemory_limit=-1 temp/composer.phar install --working-dir vendor_bundled --prefer-dist --optimize-autoloader --no-interaction ${DEVELOPMENT} 2>&1 | sed '/Warning: Ambiguous class resolution/d'
             # setting memory_limit here prevents suhosin ALERT - script tried to increase memory_limit to 536870912 bytes
             do
                 if [ $N -eq 7 ];
@@ -608,7 +608,7 @@ composer_core()
             done
         fi
         if [ ${LOGCOMPOSERFLAG} = "1" ] ; then
-            until "${PHPCLI}" -dmemory_limit=-1 temp/composer.phar install --working-dir vendor_bundled --prefer-dist --optimize-autoloader --no-interaction ${DEVELOPMENT} > ${TIKI_COMPOSER_INSTALL_LOG}
+            until COMPOSER_ALLOW_UNSAFE_PHAR_METADATA=1 "${PHPCLI}" -dmemory_limit=-1 temp/composer.phar install --working-dir vendor_bundled --prefer-dist --optimize-autoloader --no-interaction ${DEVELOPMENT} > ${TIKI_COMPOSER_INSTALL_LOG}
             # setting memory_limit here prevents suhosin ALERT - script tried to increase memory_limit to 536870912 bytes
             do
                 if [ $N -eq 7 ];


=====================================
vendor_bundled/composer.lock
=====================================
@@ -13943,16 +13943,16 @@
     "packages-dev": [
         {
             "name": "composer/ca-bundle",
-            "version": "1.5.12",
+            "version": "1.5.13",
             "source": {
                 "type": "git",
                 "url": "https://github.com/composer/ca-bundle.git",
-                "reference": "00a2f4201641d5c53f7fc0195e6c8d9fcc321a78"
+                "reference": "c008272789979f709f7fcb32c2ecf1d2db5e84e5"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/composer/ca-bundle/zipball/00a2f4201641d5c53f7fc0195e6c8d9fcc321a78",
-                "reference": "00a2f4201641d5c53f7fc0195e6c8d9fcc321a78",
+                "url": "https://api.github.com/repos/composer/ca-bundle/zipball/c008272789979f709f7fcb32c2ecf1d2db5e84e5",
+                "reference": "c008272789979f709f7fcb32c2ecf1d2db5e84e5",
                 "shasum": ""
             },
             "require": {
@@ -13999,7 +13999,7 @@
             "support": {
                 "irc": "irc://irc.freenode.org/composer",
                 "issues": "https://github.com/composer/ca-bundle/issues",
-                "source": "https://github.com/composer/ca-bundle/tree/1.5.12"
+                "source": "https://github.com/composer/ca-bundle/tree/1.5.13"
             },
             "funding": [
                 {
@@ -14011,7 +14011,7 @@
                     "type": "github"
                 }
             ],
-            "time": "2026-05-19T11:26:22+00:00"
+            "time": "2026-07-18T12:35:13+00:00"
         },
         {
             "name": "doctrine/instantiator",



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/5e2aa7cb26f81e5bf19b5a8d1733315a1120d99e

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/5e2aa7cb26f81e5bf19b5a8d1733315a1120d99e
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs