1
0
Fork 0
Commit Graph

7514 Commits (a30299b103dff4d311a14e4409569659e55a3103)

Author SHA1 Message Date
Jordi Boggiano a30299b103
Improve compatibility with modern ClassLoader instances
Fixes #11234
2022-12-22 12:48:33 +01:00
Ayesh Karunaratne b067e96021
Update URL masking patterns for new GitHub fine-grained PATs
Updates GitHub Personal Access Token regex pattern to detect new [fine-grained PATs](https://github.blog/changelog/2022-10-18-introducing-fine-grained-personal-access-tokens/)
2022-10-25 15:08:16 +02:00
Jordi Boggiano 8a8c50c3a6
Fix handling of upper-bound platform req ignores to not act on conflicts (#11037)
* Fix handling of upper-bound platform req ignores to not act on conflicts, fixes #11020

* Optimization
2022-09-13 15:16:41 +02:00
Kuba Werłos 44f9b8040e
Fix typo in remove command 2022-09-13 15:10:03 +02:00
Ondřej Mirtes 07016fe326
Config - always respect COMPOSER_DISCARD_CHANGES 2022-08-30 14:06:38 +02:00
Jordi Boggiano 6c6e81ee80
Reverting release version changes 2022-08-20 11:33:38 +02:00
Jordi Boggiano 8417590766
Release 2.2.18 2022-08-20 11:33:38 +02:00
Jordi Boggiano 917748c996
Fix cache invalidation issue when a git tag gets created on an old ref after the cache is populated, fixes #11002 (#11004) 2022-08-20 09:50:39 +02:00
Yehuda Katz e823f24940
Match default choice to actual default (#11010)
The 'Y' is capital, so Yes should be the default choice and is what most people would want, but No was the default.
2022-08-20 09:45:34 +02:00
Jordi Boggiano 104bf0d75d
Handle 404s gracefully when loading providers in ComposerRepo, fixes #10974 2022-08-16 11:44:21 +02:00
Jordi Boggiano 598c1c7573
Fix phpstan error 2022-08-16 11:19:20 +02:00
Jordi Boggiano 6457a88aa1
Fix COMPOSER_NO_DEV to work with --update-no-dev for require/remove commands as well, refs #10995 2022-08-16 11:15:52 +02:00
Stephan 1f0bd51f55
GitHubDriver: stricter URL validation to avoid issues with undefined index owner (#10985) 2022-08-16 11:08:03 +02:00
Jordi Boggiano 623f903d62
Add support for +meta in hg version number, fixes #10955 2022-07-20 22:47:27 +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 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 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 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 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
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 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
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 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
Andreas Schempp 424547bb70
Correctly merge boolean flag of allow-plugin config (#10909) 2022-07-01 11:08:35 +02:00
Jordi Boggiano a5fdc00de1
Remove duplicate function in RootPackageInterface, fixes #10895 2022-06-23 13:39:39 +02:00
Marek Stipek 690ab5166a
Ignoring passed arguments for @putenv, closes #10846 2022-06-22 13:40:35 +02:00
Jordi Boggiano 5730c24c92
Rethrow path repo init failures with path information, closes #10845 2022-06-22 13:30:39 +02:00
Jordi Boggiano 5c68c2c86d
Fix case where branches cannot be listed in GitDownloader, fixes #10888 2022-06-22 08:50:55 +02:00
Chris Reed 03fbcdbf07
Fix exported path with space in binary installer proxy (#10836) 2022-06-10 21:56:11 +02:00
Jordi Boggiano ba2ce37cd9
Reverting release version changes 2022-06-06 16:32:51 +02:00
Jordi Boggiano 8c7a2d200b
Release 2.2.14 2022-06-06 16:32:50 +02:00
Stephan Jorek fbc85dede8
allow chained proxy-binary php-inclusions (#10823)
* allow chained proxy-binary php-inclusion by skipping redundant “phpvfscomposer” stream-wrapper registration
2022-06-06 16:14:54 +02:00
Jordi Boggiano e3527ea37f
Detect broken symlinks when checking for a package's presence, fixes #6708 2022-06-06 15:22:49 +02:00
Jordi Boggiano a76a1c9fc2
Fix parsing of multi-line arrays in funding yml, fixes #10784 2022-06-06 14:49:37 +02:00
Fabien Villepinte 1e9210f7b1
Fix TypeError when a JSON file can not be read (#10818) 2022-06-04 15:20:58 +02:00