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
Jordi Boggiano
1703b74e73
Add missing return types
2022-07-01 12:24:54 +02:00
Jordi Boggiano
99255d3d85
Build releases with 8.1
2022-07-01 12:22:11 +02:00
Jordi Boggiano
796d2bae08
Merge branch '2.3'
2022-07-01 12:15:30 +02:00
Jordi Boggiano
726669084b
Reverting release version changes
2022-07-01 12:10:47 +02:00
Jordi Boggiano
f69e63262d
Release 2.3.8
2022-07-01 12:10:47 +02:00
Jordi Boggiano
75bea6ba73
Update changelog
2022-07-01 12:09:16 +02:00
Jordi Boggiano
618fcb800b
Merge branch '2.2' into 2.3
2022-07-01 12:05:18 +02:00
Jordi Boggiano
f14b02b9c9
Reverting release version changes
2022-07-01 12:01:26 +02:00
Jordi Boggiano
509dcbd4f8
Release 2.2.15
2022-07-01 12:01:26 +02:00
Jordi Boggiano
c3bb27960b
Fix other issues with readonly caches, refs #10906
2022-07-01 11:55:43 +02:00
Jordi Boggiano
f8324e0524
Fix support for read-only caches where the filesystem is not writable ( fixes #10906 )
2022-07-01 11:50:26 +02:00
Jordi Boggiano
143e42269a
Update changelog
2022-07-01 11:43:12 +02:00
Jordi Boggiano
ac7a6e3326
Update docs, refs #10909
2022-07-01 11:35:50 +02:00
Tom Klingenberg
7adcf9f14c
Fix TypeError ( #10904 )
...
Fix string type requirement in case of NULL value:
[TypeError]
Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
2022-07-01 11:33:15 +02:00
Tom Klingenberg
f1dd325e14
Fix TypeError ( #10904 )
...
Fix string type requirement in case of NULL value:
[TypeError]
Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
2022-07-01 11:23:04 +02:00
Tom Klingenberg
7ab4306c78
Fix TypeError ( #10904 )
...
Fix string type requirement in case of NULL value:
[TypeError]
Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
2022-07-01 11:15:29 +02:00
Andreas Schempp
424547bb70
Correctly merge boolean flag of allow-plugin config ( #10909 )
2022-07-01 11:08:35 +02:00
Jordi Boggiano
1812862d5e
Update phpstan to latest, update baseline (1909, 103)
2022-06-30 17:07:18 +02:00