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
Fabien Villepinte
1dd2bc6f02
Validate composer.lock strictly ( #10160 )
3 years ago
Jordi Boggiano
4b2a94c397
Merge pull request #10164 from Seldaek/fix_php81
...
Fix php8.1 build
3 years ago
Jordi Boggiano
135611fc9d
Add deprecation baseline for php8.1+ builds which use locked or lowest dependencies
3 years ago
Jordi Boggiano
5818b4aa51
Attempt fixing php8.1 build
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
1ef7076703
Update lock file
3 years ago
Matthew Davis
fd5b1980a1
Allow psr/log ^2.0 ( #10158 )
3 years ago
Jordi Boggiano
bfd819779d
Update lock file
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
Rodrigo
131d6ade5d
Add alternative to custom installers ( #10149 )
...
Taken from composer/installers readme
3 years ago
immeëmosol
bced747ed3
Note that CMPSR_HM/config.json is partially merged ( #10152 )
3 years ago
Jordi Boggiano
f587237c55
Fix diagnose output when libz is not present for curl, refs #10153
3 years ago
Jordi Boggiano
cf7fa7087c
Fix test
3 years ago
Jordi Boggiano
2828ce59cf
Merge branch '1.10'
3 years ago
Jordi Boggiano
b8e5b1d2d4
Merge remote-tracking branch 'johnstevenson/escape' into 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
0783b043d2
Fix Windows escaping in tests
3 years ago
John Stevenson
8f974fe741
Improve Windows escaping
3 years ago
Jordi Boggiano
cb1e248258
Fix type annotation
3 years ago
Jordi Boggiano
2f3273b58a
Fix changelog
3 years ago
Jordi Boggiano
18e24976c1
Merge branch '1.10'
3 years ago
Jordi Boggiano
b67ceb8e74
Prepare changelog
3 years ago
Jordi Boggiano
ca5e2f8d50
Fix escaping issues on Windows which could lead to command injection, fixes GHSA-frqg-7g38-6gcf
3 years ago
Jordi Boggiano
b3eebeb3b9
Merge pull request from GHSA-frqg-7g38-6gcf
3 years ago
Jordi Boggiano
532c6e7933
Fix show --all showing only the installed version if the package is installed, fixes #10095
3 years ago
Jordi Boggiano
a7963b7fed
Fix ComposerRepository handling of offline state to allow resolution as long as everything is present in the cache, fixes #10116
3 years ago
Stephan
edccad4e05
VcsRepository: do not continue when receiving 429 rate limit exception ( #10132 )
3 years ago
Sergii Dolgushev
90d112d98a
Mask Git credentials in the error message ( #10115 )
3 years ago
David Zülke
28b2b5c0c9
tests for solver handling multiple packages with same name and version ( #10110 )
...
Not a case with regular Packagist packages, but some custom installers with custom repos do this, and the current behavior should not randomly change at some point, as that would cause downstream breakage.
3 years ago
Jordi Boggiano
d64d1adf61
Rewrite php file cleaning step to be less regex intensive and support extreme cases better, fixes #10106 ( #10107 )
3 years ago
Jordi Boggiano
d99b200cf3
Fix tests
3 years ago
Jordi Boggiano
f85e2136fd
Merge branch '1.10'
3 years ago
Jordi Boggiano
1a994e41d4
Update deps
3 years ago
Jordi Boggiano
ffee8ca329
Update changelog
3 years ago
Vitaly Baev
7305d50277
Changed GitLab's applications URL ( #10104 )
3 years ago
Jordi Boggiano
d6a8b0252d
Fix phpdoc
3 years ago