7223 Commits (3fa7a6cb5104cc2235a767ee7b2df1475c4763a0)

Author SHA1 Message Date
Martin Herndl 3fa7a6cb51
Add types to `Package/Version` (#10199) 3 years ago
Martin Herndl aa4c2ab63c
Add types to `Plugin` (#10194) 3 years ago
Paolo Rossi a921d9b233
Reaching phpstan level 6 in EventDispatcher Exception and Installer folders (#10192) 3 years ago
Martin Herndl fa4d4e20e9
Add types to `Downloader` (#10193) 3 years ago
pistej b99e21259c
phpstan level 6 in src/Composer/Package/Comparer (refs #10159) (#10196) 3 years ago
Martin Herndl db9e9a544e
Add types to `Package/Dumper` (#10198) 3 years ago
pistej dbd0ccaad8
phpstan level 6 in src/Composer/Package/Archiver (refs #10159) (#10195) 3 years ago
Nils Adermann cbc686c16a
Merge pull request #10185 from Seldaek/remove_unknown_rule_type
Remove unknown Rule type
3 years ago
Martin Herndl 995bf5a932
Add types to `Util` namespace, refs #10159 (#10190) 3 years ago
Stephan 261d93aacf
ComposerRepository: handle packages.json with null value for package (#10189) 3 years ago
Jordi Boggiano 37ce8969a4
Use real type hint instead of annotation 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
Paolo Rossi 3add01a40b
PHPStan level 6 in src/Composer/Config (refs #10159) (#10182) 3 years ago
Jordi Boggiano 87f25e6df6
Specify parseAutoloads more narrowly, refs #10179 3 years ago
immeëmosol be25cf1d7a
Reaching phpstan level 6 in Composer/Autoload (refs #10159) (#10179)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Jordi Boggiano 57e417b53a
Minor cleanup 3 years ago
Jordi Boggiano 75a8677e8a
Remove unknown Rule type 3 years ago
Paolo Rossi 6e04991489
Reaching phpstan level 6 in Composer/Console (refs #10159) (#10183) 3 years ago
Jordi Boggiano 7e1f4882af
Reorder some code 3 years ago
immeëmosol 50d738eeee
Reaching phpstan level 6 in Composer/DependencyResolver (refs #10159) (#10178) 3 years ago
Jordi Boggiano 04ab74bbef
Avoid checking for hhvm in a loop, refs #10170 3 years ago
Jordi Boggiano a6f1e803b1
Use more BasePackage instead of PackageInterface 3 years ago
Jordi Boggiano b209816056
Type annotations 3 years ago
pistej 98f1465610
Phpstan level 6 in Composer/Plaform and Composer/Script (#10159) (#10170) 3 years ago
Jordi Boggiano f25398f52c
Fix 3 years ago
Jordi Boggiano e137046558
Type annotations 3 years ago
Fabien Villepinte 9fde6ec88b
PHPStan level 6 in src/Composer/Json (#10172) 3 years ago
pistej 04c157bf32
Reaching phpstan level 6 in Composer/SelfUpdate (#10169) 3 years ago
Jordi Boggiano 7d88de7d0b
Fix syntax 3 years ago
Jordi Boggiano 9599eb613b
Type annotations 3 years ago
immeëmosol 6d5f6eb090
Reaching phpstan level 6 in Composer\IO (#10166) 3 years ago
Jordi Boggiano c3c6969cf5
Type annotations 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 97fe881af4
Add some docblocks 3 years ago
Jordi Boggiano 915f3f4fb6
Make sure that if cleanup happens before install completes on zip updates, we do not report bogus errors, fixes #9804 3 years ago
Jordi Boggiano 0868245589
Rename master branch to main 3 years ago
Jordi Boggiano 4a7abd79c9
Fix 5.3 syntax 😒 3 years ago
Jordi Boggiano 759a3a9300
Fix require reverting changes even though dependency resolution succeeded if when something fails afterwards, closes #10118 3 years ago
Jordi Boggiano f776f52474
Hint composer require alternatives if dep resolution fails, fixes #10136 3 years ago
Jordi Boggiano 260ac0011c
Add constants to describe error codes from Installer::run 3 years ago
Jordi Boggiano 79727d35c4
Avoid warning due to invalid cache dir during init, wait for first use, fixes #10125 3 years ago
Jordi Boggiano f587237c55
Fix diagnose output when libz is not present for curl, refs #10153 3 years ago
Jordi Boggiano 2828ce59cf
Merge branch '1.10' 3 years ago
JDev4U 11810e3c2d
Fix help command not working with plugin commands, fixes #10147 (#10150)
- Add 'help' in the list of commands that need plugin command ($mayNeedPluginCommand)
- Remove `'global' !== $commandName` because $mayNeedPluginCommand encure that $commandName is one of `false`, `empty`, `list` or `help` (so never 'global')

Co-authored-by: Duret Joel <joel.duret@neo-soft.fr>
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
Jordi Boggiano 1e3f7cfcba
Fix handling of json error responses 3 years ago
John Stevenson 8f974fe741 Improve Windows escaping 3 years ago
Jordi Boggiano cb1e248258
Fix type annotation 3 years ago