Jordi Boggiano
849bc51ce7
Fix ProcessExecutor bootstrapping, fixes #10703
2 years ago
Jordi Boggiano
6a466a120a
Enable strict types on all files
2 years ago
Jordi Boggiano
89ce53250e
Final type additions
2 years ago
Jordi Boggiano
7abc8da7d3
Add more types
2 years ago
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
2 years ago
Jordi Boggiano
a16ed3d0ed
Add return types to private/internal methods
2 years ago
Jordi Boggiano
32852304d0
Make use of some new PHP features
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
24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_*
3 years ago
Stephan
f5ffedfe60
Fix VcsDrivers initialization of tags and branches, and VcsRepository swallowing exceptions ( #10319 )
...
* Drivers: avoid early initialize of tags and branches
* VcsRepository: do not continue if fetching root information fails because of unexpected exceptions
Also rethrow 5XX exception in addition to select 4XX exceptions
3 years ago
Stephan
012556daee
VcsRepository: limit type of versionTransportExceptions ( #10275 )
3 years ago
Raphael de Almeida
150acc5559
Removed HgBitbucketDriver support ( #10248 )
3 years ago
Anatoly Pashin
b1a96a3141
PHPStan level 6 in src/Composer/Repository ( #10197 )
3 years ago
Stephan
edccad4e05
VcsRepository: do not continue when receiving 429 rate limit exception ( #10132 )
3 years ago
Jordi Boggiano
01d734125c
Add more type info
3 years ago
Jordi Boggiano
1b34495daa
Some phpstan level 4 fixes
3 years ago
Jordi Boggiano
17747181d0
Clarify behavior of name in VCS repo, closes #9752
3 years ago
Simon Berger
974e7ba296
Removed unneccesary elseifs
4 years ago
Simon Berger
bae227ec2d
Changed all substr calls used to compare fragments of text to strpos
...
Some additional code cleanups in those classes
Reverted change causing issues
4 years ago
Jordi Boggiano
12d6759888
Fail hard instead of skipping branches/tags quietly when parsing VCS repos if 401/403 are returned, fixes #9087
4 years ago
Jordi Boggiano
86af5e5c6e
Remove conflict between trunk and master, as they do not normalize anymore
4 years ago
Jordi Boggiano
05dacbdabb
Rename DEV_MASTER_ALIAS to DEFAULT_BRANCH_ALIAS
4 years ago
Jordi Boggiano
923f198a1f
Fix default-branch attribute on package files, and add it to schema
4 years ago
Jordi Boggiano
4682efcf77
Support also default_branch flag in cached versions
4 years ago
Jordi Boggiano
52afa5ef16
Fix handling of default branches
4 years ago
Jordi Boggiano
ce368f8269
Store default branch info inside metadata
4 years ago
Jordi Boggiano
04381c70fe
Merge branch '1.10'
4 years ago
Jordi Boggiano
cb1f3899bb
Revert "Store default branch info inside metadata"
...
This reverts commit 472a62152d
.
4 years ago
Jordi Boggiano
8c0ecf7337
Clarify why a dev tag was ignored, fixes #8951
4 years ago
Jordi Boggiano
472a62152d
Store default branch info inside metadata
4 years ago
Jordi Boggiano
a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
4 years ago
Markus Staab
c30925e68d
extracted `VersionParser::DEV_MASTER_ALIAS` ( #8742 )
4 years ago
Jordi Boggiano
d63eb8179e
Merge branch 'master' into 2.0
4 years ago
Jordi Boggiano
7a270955f5
Fix issues handling branch names with pipes in them
4 years ago
Jordi Boggiano
1e68555e0a
Sanitize URLs in getRepoName and centralize the Url sanitization process
4 years ago
Jordi Boggiano
3fc7e10c5c
Improve error reporting of solver issues, refs #7779
...
Fixes #8525
Fixes #6513
4 years ago
Jordi Boggiano
23359f2db6
Merge branch 'master' into 2.0
4 years ago
Stephan Vock
dd2cc3e985
VcsRepository: make transport exceptions during initialize run accessible
...
* also display the http status code in composer failed to load a composer.json file
5 years ago
Nils Adermann
d2fa1e1319
Merge branch 'master' into 2.0
...
* master: (48 commits)
SVN: hide passwords for debug output
Free $solver asap
fixes #8179
[minor] Fixed a typo in the CHANGELOG.md.
Update deps
Update changelog
Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET" Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
Use possessive quantifiers
Update xdebug-handler to 1.3.3
fixes #8159
Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
flag should come before script name
use full command name, not abbreviated/alias
modify text
Document the alternatives to disable the default script timeout
Anchor pattern
Fix URL resolution for Composer repositories
...
5 years ago
Sam L
8288d2c456
Display branches and tags if verbose is specified
5 years ago
Jordi Boggiano
0317199507
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
6bce9da8c8
Only keep track of empty references that returned a 404
5 years ago
Jordi Boggiano
6473dd9185
Minor improvements to VersionCacheInterface
5 years ago
Jordi Boggiano
f946d8eb5a
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
5 years ago
Jordi Boggiano
359d1318f2
Merge pull request #7703 from glaubinix/t/composer-version-cache
...
Vcs Repository: add option to cache/reuse entire versions
6 years ago
Stephan Vock
105477218d
VcsRepository: fix undefined index notice in preProcess
6 years ago
Stephan Vock
23d37eebe6
Fix: undefined index name in VcsRepository
6 years ago
Stephan Vock
5f2eefb49b
Vcs Repository: add option to cache/reuse entire versions
6 years ago
Jordi Boggiano
4d8b9be5b6
Skip parsing equal branches/tags to avoid failures in packagist down the line
6 years ago
Jordi Boggiano
122e422682
CS fixes
7 years ago