10942 Commits (04ab74bbefacb23f5267c352e01b31f7c96eb980)
 

Author SHA1 Message Date
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
Jordi Boggiano 8cd2d0e541
Fix scanning of classmaps in files containing invalid Unicode, fixes #10102 3 years ago
Jordi Boggiano c44fbbc3eb
Update changelog 3 years ago
SvenRtbg 5c4e1cedb2
Add ability check for ZipArchive (#10092)
ZipArchive::setExternalAttributesName() is only available when libzip 0.11.2 or higher is present. 
This is not the case with at least SUSE SLES 12, so a simple PHP version check will not work here.
3 years ago
Jordi Boggiano 8657f80ddd
Fix error output to be clearer when running composer.phar without phar extension, fixes #10097 3 years ago
Jordi Boggiano 6179f33c74
Fix docker being seen as WSL when run inside WSL, fixes #10094 3 years ago
Jordi Boggiano 4bcd860b65
Add more type annotations 3 years ago
Jordi Boggiano dd49db6f08
Make sure that names with wildcards which are not preceded by dots are also seen as package names and not version constraints 3 years ago
Jordi Boggiano 6c9aecf4e7
Ignore all symfony deprecations 3 years ago
Jordi Boggiano 73e95aa0f9
Merge pull request #10088 from alexander-schranz/patch-1
Fix GithubDriver nextPage deprecation notice with no link header
3 years ago
Alexander Schranz 99c6b450e6
Check for returned link header in GithubDriver 3 years ago
Jordi Boggiano 5b16d61762
Merge pull request #10086 from iandunn/patch-1
Docs: Place general troubleshooting steps in a more logical order
3 years ago
Ian Dunn b78570055d
Docs: Place general troubleshooting steps in a more logical order
* `self-update` should be run first, because it may affect the results of `diagnose`. 
* `clear-cache` should be run before `update`, otherwise `update` would need to be run again after clearing the cache.
3 years ago
Jordi Boggiano 01d734125c
Add more type info 3 years ago
Jordi Boggiano 0761474599
Add type info to many properties/methods 3 years ago
Jordi Boggiano fc04c86f82
Add type info to Autoload namespace 3 years ago
Jordi Boggiano 61fba697a0
Fix validating array loader handling of invalid target branch datatype 3 years ago
Jordi Boggiano f4e2b389a1
Fix test 3 years ago
Jordi Boggiano 024f0eda53
Add a bunch of type info to Util namespace 3 years ago
Jordi Boggiano 8559279025
Merge pull request #10076 from aschempp/bugfix/package-type-update
Correctly resolve promises when package type changes
3 years ago
Jordi Boggiano b8e461ea61
Make sure /proc/version read does not fail the process ever, closes #10080 3 years ago
Jordi Boggiano 0158436fb4
Fix list command not showing plugin commands, fixes #10075 3 years ago
Jordi Boggiano 2c292e705d
Mark and close stale support issues 3 years ago
Jordi Boggiano 922ba01d07
Merge pull request #10072 from jrfnl/feature/10067-fix-classmap-regression
ClassMapGenerator: stabilize the heredoc/nowdoc stripping
3 years ago
Jordi Boggiano d8054d1d2f
Add more possessive quantifiers, unicode flag and support for more post-heredoc syntax, fix test file syntax being invalid 3 years ago
Andreas Schempp 0bed60e631 Correctly resolve promises when package type changes 3 years ago
Jordi Boggiano 73c109c561
Make sure that names with wildcards which are not preceded by dots are also seen as package names and not version constraints 3 years ago
Jordi Boggiano 6ab1b6a7d2
Regex simplifications 3 years ago
Jordi Boggiano 3f79e59f69
Add test assertions for heredoc marker inside the text 3 years ago
Jordi Boggiano f6c446bdd7
Tweak to allow matching delimiter within the string 3 years ago
Jordi Boggiano c44be998ab
Undo new stripping code and fix regex 3 years ago
powellblyth 5e75017166
Just some comments with 'it's' that should have been 'its' (#10071)
Co-authored-by: Toby Powell-Blyth <tobypowell-blyth@elasticstage.com>
3 years ago
jrfnl 40bd4b03ad
ClassMapGenerator: stabilize the heredoc/nowdoc stripping
I've looked into 10067 and have come to the conclusion that using a single regex to strip the heredoc/nowdocs is always going to run into trouble as:
* Either the matching will be too greedy (issue 10067);
* Or the matching will run into backtrace limits for large heredoc/nowdocs.

We cannot solve both within a single regex.

So, I'm proposing a slightly different solution which should support both and should also improve performance for files containing large heredoc/nowdocs.

The `stripHereNowDocs()` function will find a start marker and remember the offset of the start marker.
It will then find the end marker and strip the contents between the two (replace with `null`).
The function will then recurse onto itself until all heredocs/nowdocs in a file have been removed.
3 years ago
jrfnl b66b23a03f
ClassMapGeneratorTest: add test with consecutive duplicate heredoc markers
... as well as a test with heredoc markers with only a newline character between the start and end marker.
3 years ago
Jordi Boggiano d3c176ec69
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5

* Update seld/phar-utils to latest

* Add phpstan-setup / phpstan scripts
3 years ago
Jordi Boggiano 4b8585d767
Update changelog 3 years ago
Jordi Boggiano de5f18d64b
Update IRC URL too in composer.json 3 years ago
Jordi Boggiano b583310476
Allow ircs protocol for support.irc 3 years ago