1
0
Fork 0
Commit Graph

8276 Commits (f42fb617e6ba9c036b6ca5c01da4a54908783494)

Author SHA1 Message Date
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 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 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 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 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
Jordi Boggiano f931887304
Detect incorrectly configured COMPOSER env when set to a directory, refs #12049 2024-08-22 10:49:04 +02:00
Jordi Boggiano e173d20450
Ensure COMPOSER_AUTH takes precedence over local auth.json, fixes #12084 2024-08-21 18:39:07 +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
Jordi Boggiano d53cf81429
Fix various phpstan warnings 2024-07-26 09:32:22 +02:00
Jordi Boggiano 17f4984601
Make use of new PHP 8.4.0 function to replace implicit $http_response_header var (#11995) 2024-07-25 17:43:11 +02:00
Jordi Boggiano 39981a0e2b
Sanitize VCS URLs when building cache keys, fixes #11917, closes #11918 (#12043) 2024-07-25 17:24:49 +02:00
Jordi Boggiano eeff1c79ba
Fix addressability of branches containing # characters (#12042)
Fixes #12029
2024-07-25 16:46:57 +02:00
Jordi Boggiano 7504685a2e
Update phpstan and add composer/pcre extensions (#12045)
* Update phpstan and add composer/pcre extensions
* Update baseline (1516)
2024-07-25 16:28:25 +02:00
ADmad 029dda0b43
Fix deprecation notice on PHP 8.4 (#12046)
PHP 8.4 requires nullable arguments to be explicitly declared as such.
2024-07-25 16:26:39 +02:00
Jordi Boggiano 685add70ec
Refactor the BasePackage::$stabilities into a constant 2024-07-12 11:28:26 +02:00
Jordi Boggiano bd03981ea7
Fix archive command crashing if a path cannot be realpathed on windows, fixes #11544 2024-07-11 09:29:55 +02:00
Jordi Boggiano 68f6498bd3
Only read first 500 bytes of a bin file to detect if it is a PHP script, refs #12032 2024-07-10 15:08:18 +02:00
Quỳnh Nguyễn 6ec76db926
Remove redundant boolean type casts (#12033) 2024-07-10 11:04:20 +02:00
Ilya Urvachev 03bbfdd8f4
fix(Locker): don't store transport-options.ssl within the lock-file (#12019) 2024-07-10 10:35:26 +02:00
Jordi Boggiano b2832867e6
Fix some edge cases of tilde constraints in bump command (#12038)
* Fix: Add test case for not dropping patch version for tilde

* Fix some edge cases of tilde constraints in bump command, fixes #11218

---------

Co-authored-by: Matthias Vogel <git@kanti.de>
2024-07-10 09:47:37 +02:00
Jordi Boggiano e61d4ad986
Update deps 2024-07-06 23:35:00 +02:00
Jordi Boggiano 01ce481f22
Reverting release version changes 2024-06-10 22:11:13 +02:00
Jordi Boggiano 291942978f
Release 2.7.7 2024-06-10 22:11:12 +02:00
Jordi Boggiano 04a63b324f
Add more characters for best fit encoding protection 2024-06-10 22:08:29 +02:00
Jordi Boggiano 3130a7455a
Fix windows parameter encoding to prevent abuse of unicode characters with best fit encoding conversion 2024-06-10 21:28:19 +02:00
Jordi Boggiano ee28354ca8
Merge pull request from GHSA-47f6-5gq3-vx9c 2024-06-10 14:56:42 +02:00
Jordi Boggiano 6bd43dff85
Merge pull request from GHSA-v9qv-c7wm-wgmf 2024-06-10 14:56:13 +02:00
Jordi Boggiano fa3b9582c3
Fix secure-http check to avoid bypass using emojis 2024-06-10 14:48:02 +02:00
Jordi Boggiano 137ec17c0a
Fix empty type support in init command, fixes #11999 2024-06-10 11:37:52 +02:00
Jordi Boggiano 9dfcf62335
Fix new platform requirements from composer.json not being checked when composer.lock is outdated, fixes #11989 (#12001) 2024-05-31 17:53:52 +02:00
Jordi Boggiano dc857b4f91
Fixed PSR violations for classes not matching the namespace of a rule being hidden, fixes #11957 2024-05-31 17:52:05 +02:00
Jordi Boggiano c1be804a0c
Fix UX when a non-required plugin is still present in vendor dir (#12000)
Composer now skips it and does not prompt if it is not allowed to run, fixes #11944
2024-05-31 10:29:56 +02:00
Jordi Boggiano 37d722e73c
PHPStan/tests updates (#11996)
* Remove a bunch of inline ignores and migrate all PHPUnit assertions to static calls

* Update baseline (1573, 93)

* Update commit hash
2024-05-29 23:12:06 +02:00
Jordi Boggiano dd8af946fd
Fix tests 2024-05-29 22:08:42 +02:00
Jordi Boggiano de5f7e3241
Fix handling of zip bombs when unzipping archives 2024-05-29 15:52:07 +02:00
Jordi Boggiano 3773f77527
Fix perforce arg not being escaped correctly 2024-05-29 15:03:59 +02:00