1
0
Fork 0
Commit Graph

131 Commits (07aee7ea8e1ab691c14bfe4258f826a8aae95ed3)

Author SHA1 Message Date
Jordi Boggiano e61d4ad986
Update deps 2024-07-06 23:35:00 +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 f83b6b1026
Enable new phpstan option 2024-05-27 17:11:31 +02:00
Jordi Boggiano bcab1c4b8e
Fix Composer autoloader being hijackable by script/plugin event handlers (#11955) 2024-04-29 11:41:33 +02:00
John Stevenson 3cc490d4c4
Refactor proxy handling to require https_proxy (#11915)
Composer has always allowed a single http_proxy (or CGI_HTTP_PROXY)
environment variable to be used for both HTTP and HTTPS requests. But
many other tools and libraries require scheme-specific values.

The landscape is already complicated by the use of and need for upper
and lower case values, so to bring matters inline with current practice
https_proxy is now required for HTTPS requests.

The new proxy handler incorporates a transition mechanism, which allows
http_proxy to be used for all requests when https_proxy is not set and
provides a `needsTransitionWarning` method for the main application.

Moving to scheme-specific environment variables means that a user may
set a single proxy for either HTTP or HTTPS requests. To accomodate this
situation during the transition period, an https_proxy value can be set
to an empty string which will prevent http_proxy being used for HTTPS
requests.
2024-04-17 14:34:26 +02:00
Jordi Boggiano 645cd58f97
Update baseline 2024-04-03 11:02:06 +02:00
Jordi Boggiano 59152ad7aa
Fix phpstan errors in FileDownloader, update baseline (1642, 96) 2024-03-20 12:20:30 +01:00
Jordi Boggiano 504e6c581a
Update deps and baseline (1663, 96) 2024-03-19 15:22:44 +01:00
Jordi Boggiano c5aa3dc021
Update deps, update baseline (1677, 97), fixes #11875 2024-03-08 09:03:23 +01:00
Jordi Boggiano 3491986ad3
Add IPv4 fallback on connection timeout, and adds COMPOSER_IPRESOLVE env var (#11791)
* Add IPv4 fallback on connection timeout, and adds COMPOSER_IPRESOLVE env var, fixes #530

* Address feedback

* Add warning in diagnose command when COMPOSER_IPRESOLVE is set
2024-01-11 17:13:54 +01:00
Jordi Boggiano 8941a00d1b
Update baseline 2023-12-19 16:43:00 +01:00
Jordi Boggiano 8f190fc090
Update baseline (1681, 92) 2023-12-18 11:19:05 +01:00
Jordi Boggiano af90590c8f
Update baseline (1689, 92) 2023-09-14 11:47:53 +02:00
Dezső BICZÓ 0ab4dfba7c
Change audit.ignore behavior before 2.6.0 (#11605)
* Still report ignored security advisories

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2023-09-01 10:04:31 +02:00
Dan Wallis 7f78decad7
Fix PHPStan after running autoloader tests (#11558) 2023-07-21 14:34:59 +02:00
Jordi Boggiano e7016b00a9
Upgrade to react/promise 3.0.0 (#10429) 2023-07-20 12:52:28 +02:00
Jordi Boggiano 82bc8cf94e
Update deps 2023-07-19 14:57:22 +02:00
Jordi Boggiano 9f3e2105da
Add IOMock and get rid of all withConsecutive calls in tests (#11497) 2023-06-07 14:35:16 +02:00
Jordi Boggiano 1d51f34957
Update baseline (1700, 94) 2023-06-07 08:50:57 +02:00
Pol Dellaiera 45977c7cb1
refactor: update `SyncHelper` (#11485)
Get rid of 3 PHPStan issues
2023-06-06 15:25:54 +02:00
Jordi Boggiano 5c3d8f35db
Update deps, fix phpstan issues, update baseline (1711, 49) 2023-03-21 10:36:42 +01:00
Jordi Boggiano 5e6ccae116
Improve version selection in archive command, fixes #4794 (#11230) 2022-12-18 00:02:43 +01:00
Jordi Boggiano 8969f8062a
Update baseline (1739, 93) 2022-12-17 23:14:48 +01:00
Ondřej Mirtes 2aa33aaafa
Update PHPStan (#11222)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-12-17 23:12:38 +01:00
PrinsFrank 6d1b36be3b
Check missing-from-lock-file required packages when running install and fail when there are any (#11195) 2022-12-16 16:48:24 +01:00
Jordi Boggiano 6c85b875f2
Update to PHPStan 1.9 2022-11-03 21:53:42 +01:00
Jordi Boggiano 923ff98ea0
Update phpstan 2022-10-26 11:23:50 +02:00
Jordi Boggiano 69d316d1e6 Update baseline (1838, 95) 2022-10-12 09:19:36 +02:00
Jordi Boggiano 21045b942e
Fix type errors and update baseline (1854, 99) 2022-09-14 10:50:52 +02:00
Ondrej Mirtes 9bb436ec28
Update PHPStan 2022-09-01 21:51:49 +02:00
Jordi Boggiano c4d8061ebf
Update baseline 2022-08-17 15:09:30 +02:00
Jordi Boggiano d48acda485
Add RuleReasonDataReturnTypeExtension to resolve ReasonData types where possible in PHPStan 2022-08-17 14:59:24 +02:00
Jordi Boggiano 131da999ac
Fix CS (#11003) 2022-08-17 14:20:07 +02:00
Jordi Boggiano 037b11e35f
Update baseline (1894, 99) 2022-08-16 16:06:56 +02:00
Thomas Lüder 41d6467b3b
Added token refresh for GitLab to support GitLab 15+ (#10988)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-08-16 13:34:18 +02:00
Jordi Boggiano 1812862d5e
Update phpstan to latest, update baseline (1909, 103) 2022-06-30 17:07:18 +02:00
Jordi Boggiano 8c9f82dc1e
Move security advisory loading to repositories, allows others to provider them and reduces load on packagist.org for summary advisory reports 2022-06-24 16:26:57 +02:00
Guy Sartorelli d93239ddd9
Add audit command to check for security issues (#10798)
Closes #10329
2022-06-22 15:15:01 +02:00
Jordi Boggiano 53680afb85
Merge branch '2.3' into main 2022-06-22 13:09:06 +02:00
Jordi Boggiano bad3eb2cd9
Update deps, update baseline (1958, 103) 2022-06-22 09:49:09 +02:00
Jordi Boggiano 203ec4b485
Update baseline (1947, 103) 2022-06-08 15:07:38 +02:00
Jordi Boggiano cb76394800
Merge branch '2.2' into 2.3 2022-06-06 16:34:34 +02:00
Fabien Villepinte 1e9210f7b1
Fix TypeError when a JSON file can not be read (#10818) 2022-06-04 15:20:58 +02:00
Jordi Boggiano 202ef9031c
Merge branch '2.2' into 2.3 2022-05-25 21:44:40 +02:00
Jordi Boggiano 25542aca70
Update baseline 2022-05-24 21:26:37 +02:00
Jordi Boggiano 1d0fa93495
Fix lock:false still outputting lock file changes 2022-05-11 09:42:13 +02:00
Jordi Boggiano da322643d6
Fix retry to add a small pause between retries after the second one, refs #10716 2022-04-29 14:50:58 +02:00
Jordi Boggiano f8eed28347
Update baseline (2030, 104) 2022-04-29 11:25:23 +02:00
Jordi Boggiano d5a8d2be22
Enable phpstan bleedingEdge 2022-04-29 11:10:21 +02:00
Jordi Boggiano 474d0dc82d
Extract phpstan extension config into its own file 2022-04-29 09:04:02 +02:00