1
0
Fork 0
Commit Graph

8345 Commits (3a2d1c5f9c798cda7131ad20fe42fa0dccd2a8d5)

Author SHA1 Message Date
Alexandre Daubois eefa012204
Add OS families to `php-ext` config options for PIE (#12218) 2024-12-09 14:37:10 +01:00
Jordi Boggiano bbab31b564
Fix bump-after-update when passing inline constraints, fixes #12223 2024-12-09 14:27:05 +01:00
Jordi Boggiano 5eeba719d3
Fix type 2024-11-26 17:10:11 +01:00
Jordi Boggiano 59b63bc231
Validate license data more thoroughly 2024-11-26 14:49:36 +01:00
Jordi Boggiano cc820306eb
Ensure installed.php data is sorted deterministically, fixes #12197 2024-11-25 16:23:10 +01:00
Lctrs dc2844cc72
disable multiplexing for some versions of curl (#12207)
* disable multiplexing for some versions of curl

I'm behind a corporate proxy and was hitting a `Curl 2 (...) [CONN-1-0] send: no filter connected` error when trying to download some packages.

Some google research led me to https://github.com/rust-lang/cargo/issues/12202 and its fix https://github.com/rust-lang/cargo/pull/12234.

This PR backports this fix to composer.

> In certain versions of libcurl when proxy is in use with HTTP/2
multiplexing, connections will continue stacking up. This was
fixed in libcurl 8.0.0 in curl/curl@821f6e2

* fix has proxy condition
2024-11-25 15:03:36 +01:00
Javier Spagnoletti e468b73cb2
Use a bitmask to produce deterministic exit codes for the "audit" command (#12203)
* Use a bitmask to produce deterministic exit codes for the "audit" command

* Rename consts, small cleanups

---------

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-11-25 14:30:31 +01:00
Stephan 38cb4bfe71
GitLab: adjust links to profile/user-settings (#12205) 2024-11-21 09:16:24 +01:00
James Titcumb aee3bd14db
Add build-path to php-ext config options for PIE (#12206)
* Add build-path to php-ext config options

* Use phpstan- prefix for shape definitions
2024-11-21 08:52:30 +01:00
Jordi Boggiano 9fb833f97e
Reverting release version changes 2024-11-17 13:13:04 +01:00
Jordi Boggiano 2a7c71266b
Release 2.8.3 2024-11-17 13:13:04 +01:00
Jordi Boggiano 580f0006d6
Ensure we run git commands for bin/compile inside the root of the git repo, refs #12194 2024-11-15 14:08:32 +01:00
Jordi Boggiano 23d1030c73
phpstan type fixes 2024-11-14 11:54:11 +01:00
Jordi Boggiano a7a14ea860
Show root package version in error output for circular dependencies for added clarity 2024-11-14 11:26:58 +01:00
Jordi Boggiano f1163bdbd4
Avoid updating the lock hash if there is no lock 2024-11-14 11:05:32 +01:00
Nicolas Grekas 3dc279cf66
Stop relying on OS to find executables on Windows, and migrate most Process calls to array syntax (#12180)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-11-06 13:49:06 +01:00
Jordi Boggiano 5a75d32414
Reverting release version changes 2024-10-29 16:12:11 +01:00
Jordi Boggiano 6e543d0318
Release 2.8.2 2024-10-29 16:12:11 +01:00
Jordi Boggiano e02f7ba58b
Fix parsing of comments in arrays of sponsor info, fixes composer/packagist#1473 2024-10-28 21:58:03 +01:00
Jordi Boggiano e0ed22bbd0
Warn/throw when we detect git safe.directory errors (#12178)
Fixes #12158
Fixes #12160
2024-10-28 21:37:38 +01:00
Jordi Boggiano 1f0d012845
Add hint how ambiguous class issues can be resolved, refs #6221 (#12179) 2024-10-28 21:37:23 +01:00
Jordi Boggiano 5c3f6e070d
Remove SignalHandler from Application to fix issues handling ctrl-C inside prompts
Fixes #12106
2024-10-28 16:30:35 +01:00
Jordi Boggiano e12cfa0c40
Fix create-project regression when using path repos with relative paths, fixes #12150 2024-10-28 15:37:13 +01:00
Jordi Boggiano fa5b361f34
Fix handling of signals in non-PHP binaries run via proxies (#12176)
Fixes #12164
2024-10-28 13:32:20 +01:00
Jordi Boggiano 186d78cde3
Add php-ext to array dumper 2024-10-24 11:38:45 +02:00
Christian Flothmann 0191d0c7c5
don't return a single space for packages without descriptions (#12162) 2024-10-19 22:15:13 +02:00
Christian Flothmann 787f503616
do not stumble over missing descriptions (#12152) 2024-10-15 11:22:49 +02:00
Jordi Boggiano a67ce984e9
Fix type 2024-10-04 16:39:31 +02:00
Jordi Boggiano b840a06207
Clean up lock update code to remove redundancy and avoid errors (#12149) 2024-10-04 11:47:01 +02:00
Jordi Boggiano 4cb5479211
Reverting release version changes 2024-10-04 11:31:01 +02:00
Jordi Boggiano e52b867227
Release 2.8.1 2024-10-04 11:31:01 +02:00
Jordi Boggiano ac2f89a05b
Fix create-project to reuse the target folders permissions for files created (#12146)
* Fix create-project to reuse the target folders permissions for files created

Fixes #9039

* Fix issue when COMPOSER_VENDOR_DIR env is set

* Allow null in setBaseDir
2024-10-04 11:19:36 +02:00
Jordi Boggiano 33ffd5abc3
Fix --strict-ambiguous to really report all issues, fixes #12140 (#12148) 2024-10-04 11:13:17 +02:00
Antal Áron 66bf6d31c3
Allow init without license (#12145) 2024-10-03 16:19:38 +02:00
Jordi Boggiano 4e3496e1bf
Fix a few cases where the prompt for using a parent dir's composer.json fails to work correctly, fixes #8023 2024-10-03 14:15:23 +02:00
Jordi Boggiano d3f40ca52d
Fix outdated command not forwarding some global options correctly 2024-10-03 14:05:32 +02:00
Jordi Boggiano b3d20319e9
Reverting release version changes 2024-10-02 16:40:29 +02:00
Jordi Boggiano d5e75c21ce
Release 2.8.0 2024-10-02 16:40:29 +02:00
Jordi Boggiano c6271f1f7f
Fix init command to accept proprietary as license 2024-10-02 16:21:16 +02:00
Jordi Boggiano 57e9795455
Fix issue downloading from codeload.github.com when using basic-auth for github, fixes #12126 2024-10-02 16:13:01 +02:00
Eirik Stanghelle Morland a01ab9bbca
Better app password support for bitbucket (#12103)
* Fix support for app passwords better, plus better handling of bitbucket repositories stored with ssh
2024-10-02 14:36:30 +02:00
Johnson Page 31d83b2c0f
Add `composer audit --ignore-severity` option (#12132)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-10-02 14:14:53 +02:00
Jordi Boggiano 5b256070b7
Tweak output of VcsRepo to be less verbose 2024-10-02 13:26:13 +02:00
PrinsFrank edb1588f68
Handle dump-autoload where vendor folder is not installed or not complete (#12139)
* Handle dump-autoload where vendor folder is not installed or not complete

* Fix implementation issues

The package could theoretically be a single file not a directory

---------

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-10-02 13:25:46 +02:00
Johnson Page 8949f91117
Fix deprecated ParametersAcceptorSelector::selectSingle (#12136)
* Fix deprecated ParametersAcceptorSelector::selectSingle

* Simplify extension code

---------

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-10-02 13:22:24 +02:00
Viktor Szépe 8728a75930
Fix typos (#12133) 2024-10-02 12:28:32 +02:00
Jordi Boggiano 95b9b54f0c
JSON schema updates (#12123)
* Add composer-lock-schema, update composer-repository-schema with new properties, add lock schema validation in diagnose

Fixes #7823

* Add ref to composer.json schema in the lock one
2024-09-26 13:36:25 +02:00
Jordi Boggiano d37dd5fff1
Make version guessing more deterministic if two branches appear to be the base of a feature branch (#12129) 2024-09-26 13:35:58 +02:00
James Titcumb dfee3dec57
Add support-nts flag for php-ext section (#12127)
* Add support-nts flag for php-ext section

Ref: https://github.com/ThePHPF/pie-design/pull/25

* Update php-ext getter/setter definition with support-nts
2024-09-25 10:12:58 +02:00
Jordi Boggiano c8bd0e6278
Add --patch-only flag to update command to restrict updates to patch versions and make them safer (#12122)
Fixes #11446
2024-09-21 13:54:03 +02:00