Skip to content

Commit 87ca898

Browse files
authored
Merge pull request #44825 from Bodge-IT/upmerges/2025-02-05
[6.0] Upmerges - 2025-02-05
2 parents 46be0b6 + 54cff59 commit 87ca898

File tree

16 files changed

+473
-385
lines changed

16 files changed

+473
-385
lines changed

administrator/components/com_finder/src/Indexer/Taxonomy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ public static function removeOrphanNodes()
433433
->where($db->quoteName('t.parent_id') . ' > 1 ')
434434
->where('t.lft + 1 = t.rgt')
435435
->where($db->quoteName('m.link_id') . ' IS NULL');
436-
$query2->delete($db->quoteName('#__finder_taxonomy', 't'));
436+
$query2->delete($db->quoteName('#__finder_taxonomy'));
437437

438438
do {
439439
$db->setQuery($query);
@@ -443,7 +443,7 @@ public static function removeOrphanNodes()
443443
break;
444444
}
445445

446-
$query2->clear('where')->where($db->quoteName('t.id') . ' IN (' . implode(',', $nodes) . ')');
446+
$query2->clear('where')->whereIn($db->quoteName('id'), $nodes);
447447
$db->setQuery($query2);
448448
$db->execute();
449449
$affectedRows += $db->getAffectedRows();

build/build-modules-js/init/cleanup-media.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const cleanVendors = async () => {
2424
// eslint-disable-next-line no-console
2525
console.log('Cleanup the Vendor ');
2626

27-
const mediaFolder = await stat(join(RootPath, 'libraries/vendor/maximebf/debugbar/src/DebugBar/Resources'));
27+
const mediaFolder = await stat(join(RootPath, 'libraries/vendor/php-debugbar/php-debugbar/src/DebugBar/Resources'));
2828

2929
if (await mediaFolder.isDirectory()) {
3030
// Remove the vendor folder
@@ -36,7 +36,7 @@ export const cleanVendors = async () => {
3636
await mkdir(join(RootPath, 'media/vendor/debugbar'), { recursive: true, mode: 0o755 });
3737

3838
// Copy some assets from a PHP package
39-
await copy(join(RootPath, 'libraries/vendor/maximebf/debugbar/src/DebugBar/Resources'), join(RootPath, 'media/vendor/debugbar'), { preserveTimestamps: true });
39+
await copy(join(RootPath, 'libraries/vendor/php-debugbar/php-debugbar/src/DebugBar/Resources'), join(RootPath, 'media/vendor/debugbar'), { preserveTimestamps: true });
4040
await remove(join(RootPath, 'media/vendor/debugbar/vendor/font-awesome'));
4141
await remove(join(RootPath, 'media/vendor/debugbar/vendor/jquery'));
4242
} else {

build/build.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,20 +149,11 @@ function clean_checkout(string $dir)
149149
system('rm -rf libraries/vendor/joomla/*/Tests');
150150
system('rm -rf libraries/vendor/joomla/*/ruleset.xml');
151151

152-
// maximebf/debugbar
153-
system('rm -f libraries/vendor/maximebf/debugbar/chromedriver');
154-
155152
// testing sampledata
156153
system('rm -rf plugins/sampledata/testing');
157154
system('rm -rf images/sampledata/parks');
158155
system('rm -rf images/sampledata/fruitshop');
159156

160-
// maximebf/debugbar
161-
system('rm -rf libraries/vendor/maximebf/debugbar/build');
162-
system('rm -rf libraries/vendor/maximebf/debugbar/demo');
163-
system('rm -rf libraries/vendor/maximebf/debugbar/docs');
164-
system('rm -rf libraries/vendor/maximebf/debugbar/tests');
165-
166157
// paragonie/sodium_compat
167158
system('rm -rf libraries/vendor/paragonie/sodium_compat/build-phar.sh');
168159

composer.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@
1414
"php": "8.1.0"
1515
},
1616
"vendor-dir": "libraries/vendor",
17-
"github-protocols": ["https"],
18-
"allow-plugins": {
19-
"dealerdirect/phpcodesniffer-composer-installer": true
20-
}
17+
"github-protocols": ["https"]
2118
},
2219
"support": {
2320
"issues": "https://issues.joomla.org/",
@@ -35,6 +32,11 @@
3532
"type": "vcs",
3633
"url": "https://github.com/joomla-backports/php-tuf.git",
3734
"no-api": true
35+
},
36+
{
37+
"type": "vcs",
38+
"url": "https://github.com/joomla-backports/portable-utf8.git",
39+
"no-api": true
3840
}
3941
],
4042
"autoload": {
@@ -88,9 +90,8 @@
8890
"symfony/polyfill-mbstring": "^1.30.0",
8991
"symfony/web-link": "^6.4.8",
9092
"symfony/yaml": "^6.4.11",
91-
"typo3/phar-stream-wrapper": "^3.1.7",
93+
"typo3/phar-stream-wrapper": "^4.0.0",
9294
"wamania/php-stemmer": "^4.0.0",
93-
"maximebf/debugbar": "^1.23.0",
9495
"tobscure/json-api": "dev-joomla-backports",
9596
"willdurand/negotiation": "^3.1.0",
9697
"ext-json": "*",
@@ -106,14 +107,14 @@
106107
"web-token/jwt-library": "^3.4.6",
107108
"phpseclib/bcmath_compat": "^2.0.3",
108109
"jfcherng/php-diff": "^6.16.2",
109-
"voku/portable-utf8": "^6.0.13",
110-
"php-tuf/php-tuf": "^1.0.1"
110+
"voku/portable-utf8": "dev-joomla-5.3 as 6.0.13",
111+
"php-tuf/php-tuf": "^1.0.1",
112+
"php-debugbar/php-debugbar": "^2.1"
111113
},
112114
"require-dev": {
113115
"phpunit/phpunit": "^9.6.21",
114116
"friendsofphp/php-cs-fixer": "^3.64.0",
115117
"squizlabs/php_codesniffer": "^3.10.3",
116-
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
117118
"joomla/mediawiki": "^3.0",
118119
"joomla/test": "~3.0",
119120
"phpstan/phpstan": "^2.0",

0 commit comments

Comments
 (0)