Jordi Boggiano
024f0eda53
Add a bunch of type info to Util namespace
3 years ago
Jordi Boggiano
1b34495daa
Some phpstan level 4 fixes
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, ..
4 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Jordi Boggiano
0a356b8a39
Merge branch '1.10'
4 years ago
Jordi Boggiano
d25e66ad53
Display auth again for an origin if the auth type changes
4 years ago
Simon Berger
a6475a7118
Removed unused variables, properties and parameters of private functions
4 years ago
Jordi Boggiano
45653c55d8
Handle authentication for api domains of GitHub/Bitbucket, fixes #9173
4 years ago
Ayesh Karunaratne
931a1ff1f8
AuthHelper: Allow fall-through GitLab-specific HTTP headers for auth
...
Previously, `AuthHelper` consumed the authentication credentials for GitLab domains and added access tokens as GitLab-specific headers.
[Composer repositories now supported in GitLab](https://php.watch/articles/composer-gitlab-repositories ) require standard Authorization headers with a personal access to function, which failed to work due to out GitLab-specific headers.
With this commit, AuthHelper checks if the password is an access token, and falls through to HTTP basic authentication even if the domain name is a GitLab domain name.
4 years ago
Jordi Boggiano
8e664a37f5
Merge branch '1.10'
5 years ago
Adam Žurek
25cd2382cb
Raise phpstan level to 1 ( #8027 )
5 years ago
Jordi Boggiano
d63eb8179e
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
1e68555e0a
Sanitize URLs in getRepoName and centralize the Url sanitization process
5 years ago
Jordi Boggiano
f867c407c7
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
bc2a1d762a
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
3f5a986170
Show warning in all 400/500 responses if available, fixes #7814
6 years ago
Matthew Brown
65903aacfd
Fix type issues ( #7996 )
...
* Fix type issues found by Psalm
6 years ago
Jordi Boggiano
788a822b24
Add some phpdocs
6 years ago
Jordi Boggiano
fd11cf3618
Port/extract most behavior of RemoteFilesystem to CurlDownloader
6 years ago
Daum
aa4afbf49f
Updated AuthHelper to pass a null for maximum attempts to the IOInterface instead of false so an exception is not thrown by Symfony Question class.
10 years ago
Jordi Boggiano
4ebc5c9a08
Add auth helper and reuse it in git downloader
10 years ago