diff options
author | CoprDistGit <infra@openeuler.org> | 2024-12-17 02:20:36 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-12-17 02:20:36 +0000 |
commit | 2589ba5f1a7df05a7bd4322669daebbaf86270d3 (patch) | |
tree | 47cd764da878eb837e64d737956c0de3ae9a5938 /composer-noxdg.patch | |
parent | 3e042b3852d909b9a3f0f985e83a58ec332dfad4 (diff) |
automatic import of composeropeneuler24.03_LTSopeneuler23.09openeuler22.03_LTS_SP4openeuler22.03_LTS_SP3openeuler22.03_LTS_SP2openeuler22.03_LTSopeneuler20.03
Diffstat (limited to 'composer-noxdg.patch')
-rw-r--r-- | composer-noxdg.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/composer-noxdg.patch b/composer-noxdg.patch index 73195e7..2927848 100644 --- a/composer-noxdg.patch +++ b/composer-noxdg.patch @@ -1,14 +1,14 @@ diff -up ./src/Composer/Factory.php.noxdg ./src/Composer/Factory.php ---- ./src/Composer/Factory.php.noxdg 2022-03-16 09:51:30.398977729 +0100 -+++ ./src/Composer/Factory.php 2022-03-16 09:52:14.113841110 +0100 -@@ -665,6 +665,10 @@ class Factory +--- ./src/Composer/Factory.php.noxdg 2024-04-20 12:34:54.442117723 +0200 ++++ ./src/Composer/Factory.php 2024-04-20 12:35:39.497640757 +0200 +@@ -702,6 +702,10 @@ class Factory private static function useXdg(): bool { -+ // As XDG is very patially implemted ++ // As XDG is very partially implemented + // resulting in command/code in ~/.config + return false; + foreach (array_keys($_SERVER) as $key) { - if (strpos($key, 'XDG_') === 0) { + if (strpos((string) $key, 'XDG_') === 0) { return true; |