Jordi Boggiano
3a48e39375
Return null for install path for metapackages instead of an empty path which then resolves to the root package's path ( #11455 )
...
Fixes #11389
2023-05-14 13:46:46 +02:00
Jordi Boggiano
a79eef2949
Fix class renaming in plugin manager
2023-05-07 14:53:17 +02:00
Jordi Boggiano
2b58f2c625
Fix getmypid being required as it is not always available, fixes #11401
2023-05-07 14:48:34 +02:00
Jordi Boggiano
bf5ae27b93
Fix support for readonly classes as plugins, fixes #11404
2023-05-07 14:39:25 +02:00
Jordi Boggiano
e28a5675b7
Fixed binary proxies to return whatever the original binary returns as well, fixes #11416 ( #11454 )
2023-05-05 22:24:59 +02:00
Jordi Boggiano
2d2d22d0ec
Fix lock file being more recent than vendor dir when require guesses the constraint after resolution, fixes #11405
2023-05-05 14:15:27 +02:00
Jordi Boggiano
766628a8d4
Reverting release version changes
2023-03-21 11:50:06 +01:00
Jordi Boggiano
c7cffaad16
Release 2.5.5
2023-03-21 11:50:05 +01:00
Jordi Boggiano
62ec143393
Update changelog
2023-03-21 11:49:57 +01:00
Jordi Boggiano
8b0a185d5d
Fixed display of empty objects showing [] instead of {} in config command, fixes #11302
2023-03-21 11:17:55 +01:00
Jordi Boggiano
91b7b0ff3b
Fixed querying of default config values, and fix source display for them, and fix bools to show as bools, fixes #11302
2023-03-21 11:07:57 +01:00
Jordi Boggiano
5c3d8f35db
Update deps, fix phpstan issues, update baseline (1711, 49)
2023-03-21 10:36:42 +01:00
Jordi Boggiano
62f12abcb1
Fix return type of InstalledVersions::getInstalled, fixes #11304
2023-03-21 09:55:28 +01:00
Jordi Boggiano
d3adecf583
Fix github header handling to be case insensitive, fixes rate limit extraction ( #11366 )
2023-03-20 21:42:28 +01:00
Stephan
685a2e6be2
Composer support string ( #11386 )
...
* GitHubDriver: fix support is set to string
* GitLabDriver: fix support is set to string
* BitbucketDriver: fix support is set to string
* Fix PHPStan
2023-03-20 20:18:19 +01:00
Wim Leers
5d2d513f97
Follow-up for #5205 : fix high concurrency race condition
...
Composer would fail with an
```
PHP temp directory (/tmp) does not exist or is not writable to Composer. Set sys_temp_dir in your php.ini
```
error when used in parallel. Because it is checking if a file with `md5(microtime())` can be created, which is not sufficiently unique when used in parallel.
Since each Composer instance runs in its own process, this can easily be mitigated by not just partitioning based on time of use, but also based on process ID.
Original investigation: https://www.drupal.org/project/automatic_updates/issues/3338789#comment-14961390
2023-03-17 13:55:30 +01:00
Uladzimir Tsykun
32366bc37d
Fix basic auth infinite loop ( #11320 )
2023-03-17 09:13:11 +01:00
Jordi Boggiano
b8f82b244c
Escape % chars in user input before passing to sprintf, fixes #11359
2023-03-15 22:53:29 +01:00
Michal Špaček
efc105eac1
Add proxy value to bin-compat validator ( #11353 )
...
Fix #11352
2023-02-27 16:02:50 +01:00
Jordi Boggiano
b5aad9ec0d
Fix type error when upgrading composer
2023-02-24 17:41:59 +01:00
Jordi Boggiano
1ff942bb44
Fix type errors in key updating logic
2023-02-24 17:41:47 +01:00
Jordi Boggiano
b0a110f164
Reverting release version changes
2023-02-15 13:10:06 +01:00
Jordi Boggiano
6b67eeea4d
Release 2.5.4
2023-02-15 13:10:06 +01:00
Jordi Boggiano
774f04108b
Update changelog
2023-02-15 13:09:51 +01:00
Jordi Boggiano
d35cb21749
Match plugin-optional more strictly
2023-02-10 21:13:30 +01:00
Marek Nocoń
b781031413
Added optional plugin check in PluginInstaller ( #11318 )
2023-02-10 21:12:30 +01:00
Jordi Boggiano
0dd5811583
Ensure we have a bool for plugin-optional
2023-02-10 14:19:02 +01:00
Jordi Boggiano
c92485a3fb
Reverting release version changes
2023-02-10 13:23:53 +01:00
Jordi Boggiano
607a4c0400
Release 2.5.3
2023-02-10 13:23:52 +01:00
Jordi Boggiano
6876958083
Update changelog
2023-02-10 13:23:31 +01:00
Nicolas Grekas
4b94e55b03
Add extra.plugin-optional to auto-disable plugins in non-interactive mode ( #11315 )
2023-02-10 13:19:41 +01:00
Jordi Boggiano
e6ef9eb332
Reverting release version changes
2023-02-04 14:33:23 +01:00
Jordi Boggiano
c76c013c55
Release 2.5.2
2023-02-04 14:33:22 +01:00
Jordi Boggiano
70ba5c90ba
Update changelog
2023-02-04 14:26:44 +01:00
Jordi Boggiano
6e3e801c6a
Update deps
2023-02-03 23:07:37 +01:00
Jordi Boggiano
2f2d6c9de7
Fix package sorting logic, fixes #11287
2023-02-03 22:48:18 +01:00
Andor
50cded331c
Default exclude patterns for the "archive" command ( #11239 )
...
* Issue #11235 - Adds default exclude patterns for the "archive" command based on the target file name
2023-01-27 17:16:33 +01:00
Jordi Boggiano
ad7bc18028
Fix self.version requirements failing the lock file integrity check if on a different version, fixes #11274 ( #11283 )
2023-01-27 16:54:45 +01:00
Jordi Boggiano
0a2846cb24
Fix autoloading on PHP 5.6 ( #11285 )
...
* Add a CI check to ensure the autoloader can run on php5.6+
* Fix autoloading on PHP 5.6
2023-01-27 16:26:04 +01:00
Jordi Boggiano
5165792f9c
Fix security advisory parsing when filter repo is used, fixes #11281
2023-01-27 11:09:34 +01:00
Jordi Boggiano
f6f972a699
Fix require regression with --fixed, fixes #11247
2023-01-19 21:42:22 +01:00
Jordi Boggiano
0d96fd8149
Warn when require ends up auto-selecting a feature branch, fixes #11264 ( #11270 )
2023-01-19 21:42:09 +01:00
Conrad Lara
c7f32820d7
Allow v2 metadata target to provide security advisories without releases. ( #11257 )
2023-01-13 22:20:03 +01:00
Jordi Boggiano
70b1863480
Update deps
2023-01-13 14:19:18 +01:00
Alex Theobold
2431b12230
Test home command ( #11254 )
...
Co-authored-by: alex.theobold <alex.theobold@sykescottages.co.uk>
2023-01-13 09:34:03 +01:00
Jordi Boggiano
f21cc3ab25
Merge pull request #11162 from yesdevnull/feat-more-tests
...
Tests for Audit/Remove/Suggests Commands
2023-01-13 08:49:05 +01:00
Dan Barrett
ca9fb64691
Added tests for the Suggests command
2023-01-06 12:38:47 +11:00
Dan Barrett
7560873740
Added tests for the Remove command
2023-01-06 12:38:47 +11:00
Dan Barrett
29ae7b632a
Add "missing lockfile" test for the Audit command
2023-01-06 12:38:40 +11:00
Dan Barrett
b2304d0b12
Exclude PHPStan extensions from PHPUnit coverage
2023-01-03 18:57:00 +11:00