Jordi Boggiano
e43cae6231
Add COMPOSER_PREFER_STABLE and COMPOSER_PREFER_LOWEST env vars, fixes #10919
2022-07-20 22:29:27 +02:00
Joel Pittet
4182223762
Remove -p from --patch-only, --platform took it ( #10956 )
2022-07-20 21:06:14 +02:00
Alexander Dmitryuk
8c488b9b08
Add "r" alias for require ( #10953 )
...
Co-authored-by: a.dmitryuk <a.dmitryuk@movavi.com>
2022-07-18 13:04:49 +02:00
Jordi Boggiano
31c7474cde
Clarify that install path is absolute but not realpath'd, fixes #10945
2022-07-17 21:59:18 +02:00
Jordi Boggiano
3595666e6e
Merge branch '2.3'
2022-07-17 13:07:44 +02:00
Jordi Boggiano
3c68b579ed
Merge branch '2.2' into 2.3
2022-07-17 13:06:43 +02:00
Sam Litowitz
8d5bdaf443
Fixes #10938 : Do not display duplicate ignore extension hints
2022-07-17 13:02:12 +02:00
Jordi Boggiano
740af2bdb1
Add warning if constraint appears too narrow, refs #10943
2022-07-17 10:29:56 +02:00
Jordi Boggiano
93eb19e756
For custom composer.json paths the default cwd should be that files directory, fixes ergebnis/composer-normalize#865, refs #10935
2022-07-17 10:22:07 +02:00
Jordi Boggiano
37d3e2f44a
Merge branch '2.3'
2022-07-13 15:49:55 +02:00
Jordi Boggiano
80a0d3236d
Reverting release version changes
2022-07-13 15:48:23 +02:00
Jordi Boggiano
ebac357c0a
Release 2.3.10
2022-07-13 15:48:23 +02:00
Jordi Boggiano
f54878d92e
Update changelog
2022-07-13 15:48:20 +02:00
Jordi Boggiano
e1e29bf698
Merge branch '2.2' into 2.3
2022-07-13 15:35:01 +02:00
Jordi Boggiano
c5ff1e1fc6
Reverting release version changes
2022-07-13 15:27:38 +02:00
Jordi Boggiano
a8ab5070fb
Release 2.2.17
2022-07-13 15:27:38 +02:00
Jordi Boggiano
5cb24aaa81
Update changelog
2022-07-13 15:27:29 +02:00
Jordi Boggiano
b195f383f2
Always clone root package before adding it to a RootPackageRepo to avoid issues with plugins, fixes #10940
2022-07-13 15:10:15 +02:00
Jordi Boggiano
336a0d20c6
Add hint in create-project when it fails due to a missing allow-plugins in project, refs #10928
2022-07-13 14:38:54 +02:00
Jordi Boggiano
0e59fbb46e
Fix #10935 in a more generic way which fixes the issue for all Factory::create usages
2022-07-13 14:13:02 +02:00
Jordi Boggiano
37a788932d
Fix phpdoc issue
2022-07-13 13:35:03 +02:00
Jordi Boggiano
55fe12bd65
Allow disabling only local or global plugins internally to fix #10935 without side-effects
2022-07-13 13:23:27 +02:00
Jordi Boggiano
a481dfce3f
Fix disk_free_space being called even when not available, fixes #10936
2022-07-13 10:35:32 +02:00
Jordi Boggiano
f600ea46c7
Fix syntax error
2022-07-13 10:09:33 +02:00
Jordi Boggiano
32a7ceac2f
Improve exception message when a package cannot be added in another repo, refs #10940
2022-07-13 10:06:00 +02:00
Jordi Boggiano
c6a2142dc4
Merge branch '2.3'
2022-07-12 20:57:16 +02:00
Jordi Boggiano
03cebc2490
Clean up types with conditional return types
2022-07-12 20:56:23 +02:00
Jordi Boggiano
cecdc0cbd1
Merge branch '2.2' into 2.3
2022-07-12 20:52:51 +02:00
Jordi Boggiano
75ef4903ef
Ensure plugins from CWD/vendor do not get loaded when running create-project, fixes #10935
2022-07-12 16:25:12 +02:00
Jordi Boggiano
12e15b7f60
Merge branch '2.3'
2022-07-12 13:25:12 +02:00
Jordi Boggiano
e29bff2727
Merge branch '2.2' into 2.3
2022-07-12 13:25:03 +02:00
Jordi Boggiano
8323e85bc8
Fix allow-plugins check to not check plugins which are anyway incompatible with the current Composer version, refs #10928
2022-07-12 13:24:21 +02:00
Calvin Truong
a73933e167
Update README.md ( #10933 )
...
Minor change. Added a new line between sentence regarding Public and Private packages for slightly increased readability through spatial distinction.
2022-07-10 17:03:38 +02:00
Jordi Boggiano
8536a2ca80
Merge branch '2.3'
2022-07-05 22:21:44 +02:00
Jordi Boggiano
d60ffc3b82
Merge branch '2.2' into 2.3
2022-07-05 22:21:37 +02:00
Jordi Boggiano
dcd7f2180d
Avoid checking for allowed plugins if plugins are disabled entirely, fixes #10925
2022-07-05 22:20:33 +02:00
Jordi Boggiano
70b78137a9
Merge branch '2.3'
2022-07-05 16:54:43 +02:00
Jordi Boggiano
4cd8787c88
Reverting release version changes
2022-07-05 16:52:11 +02:00
Jordi Boggiano
015f524c99
Release 2.3.9
2022-07-05 16:52:11 +02:00
Jordi Boggiano
5b52a4fb45
Merge branch '2.2' into 2.3
...
Update changelog for 2.3.9
2022-07-05 16:52:00 +02:00
Jordi Boggiano
2759d8b545
Reverting release version changes
2022-07-05 16:50:29 +02:00
Jordi Boggiano
8c0ee53ff6
Release 2.2.16
2022-07-05 16:50:29 +02:00
Jordi Boggiano
8b7ea8deb6
Update changelog
2022-07-05 16:50:25 +02:00
Jordi Boggiano
fca92faed8
Fix type error
2022-07-05 16:26:46 +02:00
Jordi Boggiano
8304ea0695
Fix type error with null descriptions, fixes #10924
2022-07-05 16:23:53 +02:00
Jordi Boggiano
9a6d63f0f4
Fix build regressions
2022-07-05 16:22:29 +02:00
Jordi Boggiano
3764073b43
Merge branch '2.2' into 2.3
2022-07-05 16:08:35 +02:00
fluffycondor
3ebd66b851
Fix deprecation notice ( #10921 )
...
Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/bin/composer/src/Composer/Util/GitHub.php:103
2022-07-05 15:51:07 +02:00
Damien Tournoud
92e1c26c3b
Disallow plugins by throwing an exception if non-interactive to avoid half-broken runtime states ( #10920 )
...
* Disallow plugins by throwing an exception if non-interactive to avoid half-broken runtime states, fixes #10912
* Also allow BC mode for lock files older than 2.2.0 to keep plugins working there
* Allow locker to be accessed by plugin manager at init time
* Update allow-plugins docs
Co-authored-by: Damien Tournoud <damien@platform.sh>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-07-05 15:44:30 +02:00
Jordi Boggiano
c422fefda4
Merge branch '2.3'
2022-07-01 12:24:58 +02:00