1
0
Fork 0
Commit Graph

8256 Commits (9da1948585f11e5af594d1fece682947f1b1fa99)

Author SHA1 Message Date
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
Jordi Boggiano 3c37a67c0c
Fix Filesystem::isLocalPath including windows checks on linux 2024-05-29 13:42:19 +02:00
Stephan f38df849c2
BlockedIPs: reject job like other exceptions (#11992) 2024-05-29 13:00:27 +02:00
Jordi Boggiano f83b6b1026
Enable new phpstan option 2024-05-27 17:11:31 +02:00
Jordi Boggiano 09e616fa1d
Update phpstan 2024-05-27 15:14:10 +02:00
Krzysztof Ciszewski 81b121bbdf
Fix composer error when git config safe.bareRepository is set to explicit (#11969) 2024-05-27 14:56:27 +02:00
Ondřej Mirtes 5bb30ca170
Update PHPStan (#11976)
* Update PHPStan

* Update inline ignores to `@phpstan-ignore` with error identifier
2024-05-22 09:09:04 +02:00
Sam B d4b071bd1e
To enable to the TransportException code to be accessed in PHP < 8.1, make reflection property accessible (#11974) 2024-05-21 22:45:37 +02:00
John Stevenson 8d90eb694a
Add uopz warning from installer code (#11988) 2024-05-21 22:42:10 +02:00
Dan Wallis ede152bd65
Close style tags to avoid bleed (#11972) 2024-05-12 22:55:40 +02:00
Yanick Witschi 829e0e767f
Re-use precalculated information (#11968)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-05-08 14:27:20 +02:00
Krzysztof Ciszewski 4d7476ca30
composer#11852 fix: ability to remove autoload* keys (#11967) 2024-05-08 11:19:05 +02:00
Jordi Boggiano 2fe3244ddb
Reverting release version changes 2024-05-04 23:03:15 +02:00
Jordi Boggiano fabd995783
Release 2.7.6 2024-05-04 23:03:15 +02:00
Jordi Boggiano c2fd4d3ebb
Fix private autoloader callbacks breaking the new runtime autoloader handling code 2024-05-04 23:01:17 +02:00
Jordi Boggiano f81e84164e
Reverting release version changes 2024-05-03 16:23:40 +02:00
Jordi Boggiano 29ac9cce40
Release 2.7.5 2024-05-03 16:23:40 +02:00
Jordi Boggiano 762f2a37f5
Tweak exit code for network errors to be 100, refs #11954 2024-05-02 16:49:44 +02:00
Jordi Boggiano acf398281c
Fix transport exception not always using 255 exit code, fixes #11954 2024-05-02 16:09:13 +02:00
Jordi Boggiano bcab1c4b8e
Fix Composer autoloader being hijackable by script/plugin event handlers (#11955) 2024-04-29 11:41:33 +02:00
Jordi Boggiano d4396a85bf
Fix binary proxies having an absolute path to vendor dir when project dir is a symlink, fixes #11947 2024-04-29 11:32:47 +02:00