Jordi Boggiano
c65d09dff7
Fix @inheritDoc annotations
3 years ago
immeëmosol
6d5f6eb090
Reaching phpstan level 6 in Composer\IO ( #10166 )
3 years ago
Jordi Boggiano
d1c8a4d1b4
Lots of typing improvements
3 years ago
Jordi Boggiano
0761474599
Add type info to many properties/methods
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
b77fce8a4f
More deprecation fixes by using ProcessExecutorMock and a couple of PackageInterface type fixes
3 years ago
Jordi Boggiano
059b5b197d
Merge branch '2.0'
3 years ago
Jordi Boggiano
c81562b343
Merge branch '1.10' into 2.0
3 years ago
Jordi Boggiano
54889ca109
Document GH token usage and also make sure we redact them in Process debug output, refs #9757
3 years ago
Ayesh Karunaratne
dc83ba93f3
Update GitHub token pattern
...
GitHub is updating the format of auth tokens from `a-z0-9` to `A-Za-z0-9` ([notice](https://github.blog/changelog/2021-03-04-authentication-token-format-updates/ )).
I'm not sure why `.` is allowed, but I dare not to remove it. In this PR, the token validation regex is updated to allow `A-Za-z0-9` instead of the current all lower-case `a-z` and disallowed `_`.
3 years ago
Jordi Boggiano
4940009f83
Bump phpstan to level 3 ( #9734 )
...
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
3 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Simon Berger
002fd39bc6
Removed passing of parameters with default value
4 years ago
Jordi Boggiano
9f380d606c
Add basic progress bar capability while waiting for jobs to complete
4 years ago
Matěj Kmínek
a074819a51
Add support for gitlab deploy token ( #8867 )
...
* feat: Added ability to work with GitLab deploy tokens: https://docs.gitlab.com/ee/user/project/deploy_tokens/
Deploy tokens can be specified two ways:
1) GIT CONFIG:
git config --add gitlab.deploytoken.user USERNAME && git config --add gitlab.deploytoken.token TOKEN
2) Auth.json:
"gitlab-token": {
"gitlab.com": {"username": "USERNAME", "token": "TOKEN"}
}
4 years ago
Jordi Boggiano
d63eb8179e
Merge branch 'master' into 2.0
4 years ago
Ethan Clevenger
cbec8ceb53
Bearer support.
4 years ago
Jordi Boggiano
a6176a7beb
Add IOInterface methods
5 years ago
Jordi Boggiano
23359f2db6
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
d3f1c664d4
Avoid formatting output from external processes, fixes #8524
5 years ago
Jordi Boggiano
6c4357a7ed
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
8958f40f94
Make sure resetting composer also resets the IO and configuration, fixes #8224
5 years ago
Matthew Brown
65903aacfd
Fix type issues ( #7996 )
...
* Fix type issues found by Psalm
5 years ago
Jordi Boggiano
6c782599f1
Make IOInterface implement psr-4 LoggerInterface, fixes #5180
5 years ago
Jordi Boggiano
81de5f82aa
Merge branch '1.8'
6 years ago
Michael Käfer
e0c44f2a25
Another MB to MiB
6 years ago
Jordi Boggiano
fa8d33d0ed
Merge pull request #7869 from fancyweb/add-interactive-inputs-to-buffer-io
...
feat(buffer-io): add the possibility to set user inputs for interactive questions
6 years ago
fancyweb
a9d6068c57
feat(buffer-io): add the possibility to set user inputs for interactive questions
6 years ago
fancyweb
45a7b8e1c2
feat(buffer-io): add question helper set
6 years ago
Helmut Hummel
b99798068d
Use symfony/console for hidden questions
...
Fixes : #7337
6 years ago
Jordi Boggiano
1336029b72
Fix type hints to match latest symfony, fixes #7199
6 years ago
dmsmidt
556148510b
ConsoleIO::select for a single option, fixes #7106 , closes #7107
6 years ago
Jordi Boggiano
a567501e58
Fix ConsoleIO::select regression in which 1.5.3-1.6.2 returned the selected values instead of index keys, fixes #7000
7 years ago
Gawain Lynch
157075b996
Migrate ConsoleIO::select to use QuestionHelper and ChoiceQuestion
7 years ago
Robert Pustułka
688c1b057b
Fix callable typehint
...
Change `callback` typehint to `callable` in order to satisfy phpstan.
7 years ago
Theo Tonge
c077df0d80
Fix for https://github.com/composer/composer/issues/5989
...
Enforce yes/no answers for Confirmation Questions
7 years ago
Jordi Boggiano
122e422682
CS fixes
7 years ago
Jordi Boggiano
f3af3da16f
Add more comments in ConsoleIO, closes #5836
8 years ago
Jordi Boggiano
96bf605b31
Merge pull request #5779 from Koc/implode
...
Use implode instead of join
8 years ago
Nils Adermann
ad41c324d3
GitHub integrations generate access tokens containing a dot
8 years ago
Konstantin.Myakshin
dc70b40d34
Use implode instead of join
8 years ago
moyo
c4ac59601f
Update related docs and config definitions
8 years ago
Jordi Boggiano
b1723644e0
Use extracted ca-bundle package
8 years ago
Jordi Boggiano
da9b43dcc8
Merge remote-tracking branch 'curry684/code-quality' into 1.0
8 years ago
David Zuelke
cf43244f85
fix config add/remove/unset/merge for bitbucket
8 years ago
Niels Keurentjes
eb77c0b7f5
phpDoc cleanup, removed unused imports, variables and parameters.
8 years ago
Niels Keurentjes
818c3e707a
Ton of phpDoc fixes.
8 years ago
Paul Wenke
d5332a1b5c
Developed bitbucket-oauth functionality.
8 years ago
Jordi Boggiano
6d1e8ebf90
Avoid warnings due to duplicate loading of auth files, fixes #4971
8 years ago
Jordi Boggiano
1aec1c1fc8
Add --repository flag to init command, and rename --repository-url to --repository in create-project, fixes #4200 , closes #4207 , closes #2604 , fixes #2920
8 years ago