Jordi Boggiano
beb575dd00
Fix more issues, update baseline (2203/106)
2 years ago
Jordi Boggiano
6a466a120a
Enable strict types on all files
2 years ago
Jordi Boggiano
0db443ba5f
Add visibility to all consts, fixes #10550
2 years ago
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
2 years ago
Alexander Schranz
1321bfca36
Add return types to closures ( #9 )
2 years ago
Jordi Boggiano
eda9014bef
Add return types to all code which is not being extended by open source packages
2 years ago
Jordi Boggiano
a16ed3d0ed
Add return types to private/internal methods
2 years ago
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present
2 years ago
Jordi Boggiano
5c98a2cf8e
Add phpstan-symfony to get type info about console InputInterface, fix many errors ( #10476 )
...
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types
2 years ago
Jordi Boggiano
bab974575c
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch ( #10474 )
2 years ago
Alexander M. Turek
36da81bec2
Remove obsolete Symfony feature detections ( #10425 )
2 years ago
Jordi Boggiano
bf72afec44
Fix Symfony6 compat
2 years ago
Shyim
70425900e9
Fix symfony error handler warnings, fixes #10397 ( #10404 )
2 years ago
Jordi Boggiano
24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_*
3 years ago
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
4 years ago
Jordi Boggiano
23359f2db6
Merge branch 'master' into 2.0
4 years ago
Jordi Boggiano
d3f1c664d4
Avoid formatting output from external processes, fixes #8524
4 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'
5 years ago
Michael Käfer
e0c44f2a25
Another MB to MiB
5 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
5 years ago
fancyweb
a9d6068c57
feat(buffer-io): add the possibility to set user inputs for interactive questions
5 years ago
fancyweb
45a7b8e1c2
feat(buffer-io): add question helper set
5 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
6 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