1
0
Fork 0
Commit Graph

12612 Commits (11f852683a97a47a31b226f59b6aa3dd0b54f39d)

Author SHA1 Message Date
Viktor Szépe 8728a75930
Fix typos (#12133) 2024-10-02 12:28:32 +02:00
PrinsFrank 3a503d1805
Update documentation for validate command (#12137) 2024-10-02 11:09:23 +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
Jordi Boggiano 5742df97c2
Tweak wording 2024-09-26 13:15:13 +02:00
Jordi Boggiano 1add25fcb5
Add SSL certificate problem hint in troubleshooting page 2024-09-26 13:14:19 +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
Jordi Boggiano 6b81140f81
Fix many PHPStan errors in DependencyResolver namespace (#12121) 2024-09-21 13:53:33 +02:00
Jordi Boggiano 3a2a18175d
Add ability to reinstall packages by type (#12114)
Fixes #11364
2024-09-21 13:37:55 +02:00
Jordi Boggiano 58905ffe4e
Validate licenses passed into init command (#12115)
Fixes #10838
2024-09-19 17:07:28 +02:00
Jordi Boggiano a5d0d73e00
Show warnings for each missing platform package in create-project, fixes #10736 (#12120) 2024-09-19 17:06:49 +02:00
Jordi Boggiano a03331bd21
Add --strict-ambiguous to dump-autoload command (#12119)
Fixes #6221
2024-09-19 11:40:57 +02:00
Jordi Boggiano 3e7b3b26df
Check connectivity to custom composer repos in diagnose command 2024-09-19 10:24:30 +02:00
Juliette 8ae6fa1205
PHP 8.4 | Remove use of `E_STRICT` (#12116)
The `E_STRICT` constant is deprecated as of PHP 8.4 and will be removed in PHP 9.0 (commit finally went in today).

The error level hasn't been in use since PHP 8.0 anyway and was only barely still used in PHP 7.x, so removing the exclusion from the `error_reporting()` setting in these script shouldn't really make any difference in practice.

Ref:
* https://wiki.php.net/rfc/deprecations_php_8_4#remove_e_strict_error_level_and_deprecate_e_strict_constant

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2024-09-19 09:34:35 +02:00
Jordi Boggiano dea55ec139
Respect sort-packages option when adding plugins to the allow-plugins list, fixes #11348 2024-09-18 16:57:22 +02:00
Jordi Boggiano e5af569bfc
Fix tests 2024-09-18 16:32:40 +02:00
Jordi Boggiano ad6198ad2a
Ensure stability-flags, platform and platform-dev keys are objects in composer.lock 2024-09-18 15:45:26 +02:00
Carlos Granados c8838f198e
Add option to run bump after update (#11942)
* Add option to run bump after update

* Convert the option into a bool | string parameter and change a couple of texts

* Apply suggestions from code review

* Fix tests

---------

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-09-18 15:34:25 +02:00
Jordi Boggiano 17930441a1
Add a way to control which scripts get args and where (#12086)
Add support for `@no_additional_args` and `@additional_args` tags inside script handlers.
2024-09-18 14:44:55 +02:00
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