1097 Commits (e52071a92c7f5c34c373ab880e1d0b37cc435c42)

Author SHA1 Message Date
Jordi Boggiano e52071a92c
Revert some return types for symfony/flex compatibility 2 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Alexander Schranz 1321bfca36
Add return types to closures (#9) 2 years ago
Jordi Boggiano eda9014bef
Add return types to all code which is not being extended by open source packages 2 years ago
Jordi Boggiano a16ed3d0ed
Add return types to private/internal methods 2 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2 years ago
Jordi Boggiano 32852304d0
Make use of some new PHP features 2 years ago
Jordi Boggiano 86fb8d4412
Fix CS 2 years ago
Jordi Boggiano 5c98a2cf8e
Add phpstan-symfony to get type info about console InputInterface, fix many errors (#10476)
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types
2 years ago
Jordi Boggiano 7f1808501a
Merge branch '2.2' into main 2 years ago
Jordi Boggiano 8c0b4ff16b
Also retry for HTTP2 stream errors, fixes #10462 2 years ago
Jordi Boggiano bab974575c
Merge branch '2.2' into main 2 years ago
Jordi Boggiano e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch (#10474) 2 years ago
Jordi Boggiano 6de9cacfd8
Remove unnecessary sprintf 2 years ago
Jordi Boggiano 49541ce3fb
Merge branch '2.2' into main 3 years ago
Dane Powell 93d4c8e531
Fix #10366: Improve messaging when GitHub tokens need SSO authorization (#10432) 3 years ago
Jordi Boggiano 5e4a8a882d
Allow ProcessExecutor to receive commands as arrays, refs #6552 (#10435) 3 years ago
Jordi Boggiano 7d1aa65239
Merge branch '2.2' into main 3 years ago
Jordi Boggiano cb41ad1d4b
Ensure process timeouts are checked also for async processes 3 years ago
Jordi Boggiano 3a27cb2e91
Merge branch '2.2' into main 3 years ago
Jordi Boggiano c2cdc3eb71
Deduplicate code 3 years ago
Jordi Boggiano f9d61c0665
Add links to repo to fund/licenses/search commands and add links to docs to config command 3 years ago
Jordi Boggiano 7e50f37b87
Remove some dead code and deprecate JsonFormatter, JsonFile::JSON_* constants, and TlsHelper 3 years ago
Alexander M. Turek 36da81bec2
Remove obsolete Symfony feature detections (#10425) 3 years ago
Niels Vanpachtenbeke 1c928466a9
Remove code blocks for php <7.2 compatibility (#10417) 3 years ago
Jordi Boggiano 0ece276c7c
Get rid of redundant \Exception catch blocks 3 years ago
Jordi Boggiano 4e6d54b731
Fix all 5.3 $this-in-closure usages 3 years ago
Jordi Boggiano 5805a68645
Fix some todos dropping support for older Symfony releases 3 years ago
Jordi Boggiano 7e27a25070
Get rid of RetutnTypeWillChange where possible, fixes #10014 3 years ago
Jordi Boggiano 0b3adc84da
Fix a few phpstan errors and add a php8+ baseline for the rest 3 years ago
Jordi Boggiano 96486d81cb
Fix many PHPStan issues and update baseline 3 years ago
Jordi Boggiano ffd62795bc
Get rid of all the ->at() mock invocations 3 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 3 years ago
Wataru Kurashima 10f8edb816
fix typo (#10331) 3 years ago
Jordi Boggiano 7e3626362e
Add support for warnings/infos keys to report more complex information to diverse Composer versions 3 years ago
Jordi Boggiano 7fc9000834
Also retry for SSL connection failures, refs #10124 3 years ago
Jordi Boggiano f509c41280
Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Jordi Boggiano ba1814f306
Added retry behavior for certain http status and curl error codes (#10162) 3 years ago
Jordi Boggiano bd4d624cc7
Read first from $_SERVER and $_ENV before using getenv (#10218) 3 years ago
Matthias Pigulla 4c9e567c39
Provide different URL options to encourage users to create low-privilege GitHub tokens (#10256) 3 years ago
Jordi Boggiano 44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS 3 years ago
Martin Herndl 2992e8651a
Add types to `Util` tests (#10228) 3 years ago
Martin Herndl fa4d4e20e9
Add types to `Downloader` (#10193) 3 years ago
Martin Herndl 995bf5a932
Add types to `Util` namespace, refs #10159 (#10190) 3 years ago
Martin Herndl f0cc9aeb01
Remove scalar parameter type declaration (#10186)
`string` can only be used in parameters starting from PHP 7.0.
3 years ago
Jordi Boggiano 626370d444
Suggest COMPOSER_DISABLE_NETWORK if a possibly-offline state is detected (#10163)
Co-authored-by: Nils Adermann <naderman@naderman.de>
3 years ago
Jordi Boggiano 2828ce59cf
Merge branch '1.10' 3 years ago
Jordi Boggiano aa4de3b13d
Fix CurlDownloader requesting gzip encoding even though unsupported, fixes #10153 3 years ago
John Stevenson 906442117c Carriage returns are ignored by cmd 3 years ago
Jordi Boggiano d1c8a4d1b4
Lots of typing improvements 3 years ago