Jordi Boggiano
8bc8c4383a
Merge branch '2.7'
2024-09-18 11:00:51 +02:00
Joe
8f455d7c0c
Add allow-missing-requirements config setting to ignore missing requirements ( #11966 )
...
* Add allow-missing-requirements configuration to ignore error during install if there are any missing requirements
* Add test for allow-missing-requirements config
---------
Co-authored-by: Joe <joe@wpj.cz>
2024-09-18 11:00:09 +02:00
Job Vink
be7d9abc66
Improve interactive package updates ( #11990 )
...
* Improve interactive package updates
* Exclude platform packages and up to date packages, follow stability flags, ignore-platform-reqs etc
* Add tests and support for lock file + empty lock/vendor
---------
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-09-18 10:43:42 +02:00
Jordi Boggiano
07248f4323
Fix require command skipping new stability-flags from the lock file, fixes #11698 ( #12112 )
2024-09-18 09:16:31 +02:00
Jordi Boggiano
12031542ba
Add suggestions of provider packages for ext- and lib- packages ( #12113 )
...
Fixes #11669
2024-09-18 08:49:59 +02:00
John Stevenson
bb8387e5a0
Remove proxy transition fallback ( #11938 )
2024-09-17 16:14:47 +02:00
Mohamed Hubail
21bf74d2c7
Add `--abandoned` option ( #12091 )
...
* Add `--abandoned` option
* Refactoring
- Use `Auditor::ABANDONEDS` in `Config.php`
- Drop `getAuditAbandoned()` from `BaseCommand.php`
* Modify cli docs
2024-09-17 15:44:55 +02:00
Jordi Boggiano
bd4fd2cf94
Alias clarifications, fixes #11301
2024-09-17 15:35:53 +02:00
Jordi Boggiano
1959074ae2
Merge branch '2.7'
2024-09-17 15:30:11 +02:00
Jordi Boggiano
c2b1667cac
Update deps
2024-09-17 15:30:02 +02:00
Jordi Boggiano
a8b43b4b77
Fix phpstan baseline
2024-09-17 14:56:58 +02:00
Jordi Boggiano
3911097823
Update deps
2024-09-17 14:20:28 +02:00
Jordi Boggiano
fde6a87f64
Sort problem rules ( #12111 )
2024-09-17 14:13:58 +02:00
Jordi Boggiano
f42fb617e6
Bump branch-alias to 2.8
2024-09-17 14:08:38 +02:00
Jordi Boggiano
f17df6d5a1
Fix handling of platform packages in why-not command and partial updates, fixes #12104 ( #12110 )
2024-09-17 13:31:33 +02:00
Jordi Boggiano
f9e6214bd9
Fix completion docs, fixes #12099
2024-09-17 11:07:27 +02:00
Jordi Boggiano
305b3413cf
Add test covering the fix for #12107 , closes #12108
2024-09-17 09:52:56 +02:00
Jordi Boggiano
3e7b826904
Avoid opening php://stdin multiple times, fixes #12107
2024-09-17 09:47:23 +02:00
Jordi Boggiano
1b5b56f234
Fix handling of COMPOSER_ROOT_VERSION to normalize according to expectations, fixes #12101 ( #12109 )
2024-09-17 08:38:43 +02:00
Jordi Boggiano
5f2b91aea8
Revert "fix(Locker): don't store transport-options.ssl within the lock-file ( #12019 )"
...
This reverts commit 03bbfdd8f4
.
2024-09-16 11:31:52 +02:00
Jordi Boggiano
e4038e5e3b
Reverting release version changes
2024-09-04 14:43:28 +02:00
Jordi Boggiano
e30ccdd665
Release 2.7.9
2024-09-04 14:43:28 +02:00
Jordi Boggiano
260a254905
Update changelog
2024-09-04 14:31:15 +02:00
Jordi Boggiano
1980f562ca
Update deps
2024-09-04 14:14:17 +02:00
Jordi Boggiano
1fcb6a5d53
Fix docker detection breaking on constrained environments, fixes #12095
2024-09-02 10:24:23 +02:00
Jordi Boggiano
4a34725682
Bump dependencies, fixes #12015
2024-09-01 22:17:55 +02:00
Jordi Boggiano
d832d8c6c5
Simplify lint CI
2024-09-01 20:53:37 +02:00
Jordi Boggiano
aca19582b5
Reverting release version changes
2024-08-22 15:28:36 +02:00
Jordi Boggiano
a2edd4e441
Release 2.7.8
2024-08-22 15:28:36 +02:00
Jordi Boggiano
ca98528555
Update changelog
2024-08-22 15:28:29 +02:00
Jordi Boggiano
b96821c727
Fix build
2024-08-22 15:04:02 +02:00
Jordi Boggiano
a17096f5ba
Fix copy() sometimes failing on virtualbox shared folders, fixes #12057
2024-08-22 12:44:48 +02:00
Jordi Boggiano
bbb603490b
Fix duplicate libraries causing issues when conflicting extensions from core and pecl are installed concurrently ( #12093 )
...
Fixes #12082
2024-08-22 12:11:39 +02:00
Jordi Boggiano
39d9a5b6c5
Fix relative:true not being respected in path repo installs, fixes #12074 ( #12092 )
2024-08-22 11:45:25 +02:00
Mohamed Hubail
1684f82a43
Add `InitCommand.php` Interactive test case ( #12068 )
...
* Add single test case for interactive `init` command
* Fix spelling + use single quotes
* Fix test expectations
---------
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-08-22 10:49:55 +02:00
Jordi Boggiano
f931887304
Detect incorrectly configured COMPOSER env when set to a directory, refs #12049
2024-08-22 10:49:04 +02:00
Mohamed Hubail
8c5f2dbb97
Add `GlobalCommandTest.php` ( #12073 )
...
* Add `GlobalCommandTest.php`
- `testGlobal` to check `COMPOSER_HOME` is followed correctly + check
`COMPOSER` is unset.
- `testNotCreateHome` to test handling invalid `COMPOSER_HOME`.
* Add error string for non obvious test case
* Clean up env vars and minor code style changes
---------
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-08-22 10:38:16 +02:00
Mohamed Hubail
dca85cc940
Add "require command with conflicting keys" test ( #12072 )
...
* Add test case for conflicting both with `--dev` and without
* Implement interactive case
* Restrcture so that interactive case is actually interactive
I don't know why specifying `'--no-interaction' => !$isInteractive,`
didn't give the desired behavior of the prompt being interactive.
You can verify that by printing the `$appTester->getDisplay()` which
doesn't contain a prompt. In fact, it doesn't make any difference
whether I set it to true or false. The only difference is if I set it
or don't set it.
* Fix dreaded trainling comma
2024-08-22 10:27:58 +02:00
viktor-kup
cbfa298501
Add missing semicolon to code example ( #12067 )
2024-08-21 18:49:52 +02:00
Jordi Boggiano
e173d20450
Ensure COMPOSER_AUTH takes precedence over local auth.json, fixes #12084
2024-08-21 18:39:07 +02:00
Mohamed Hubail
47b924d27c
Add Update Interactive tests ( #12065 )
...
* Add Update Interactive tests
* Fix type + remove extra comma
* Used `php-cs-fixer`
* Normalize for windows + fix use of `Generator`
2024-08-21 18:14:40 +02:00
Jordi Boggiano
8715c7b8d6
Update lock file
2024-08-21 17:17:44 +02:00
Jordi Boggiano
d50cc69ffb
Bump more deps
2024-08-21 17:16:43 +02:00
Jordi Boggiano
04db9478bf
Bump minimum dep versions
2024-08-21 17:10:44 +02:00
Jordi Boggiano
8f3fed674b
Clean up md5/sha1 usages, upgrade algos where possible ( #12088 )
...
* Clean up md5/sha1 usages, upgrade algos where possible
* Fully qualify PHP_VERSION_ID constant usages
* Fix 7.2 build
2024-08-21 17:06:42 +02:00
Jordi Boggiano
556ca06906
Fix phpstan build with latest deps
2024-08-21 16:44:20 +02:00
Jordi Boggiano
48d345ac3e
Update deps, fix some phpstan issues
...
Update baseline (1484, 84)
2024-08-21 14:47:44 +02:00
Jordi Boggiano
3ba58ea3eb
Normalize namespaces in psr-0/psr-4 rules to fix edge cases, fixes #12028 ( #12063 )
2024-08-19 13:52:44 +02:00
Jordi Boggiano
9da1948585
Improvements to docker detection ( #12062 )
...
* Improvements to docker detection, fixes #11073
* Apply suggestions from code review
Co-authored-by: Dan Wallis <dan@wallis.nz>
2024-08-19 11:01:34 +02:00
Sam L
d3d378184b
Provide release-date/release-age and latest-release-date in composer outdated -A -f json ( #12053 )
2024-07-26 16:21:02 +02:00