57 Commits (c9baeda95b2da59a8c2d0bb7350b18d009aa891b)

Author SHA1 Message Date
Jordi Boggiano a16ed3d0ed
Add return types to private/internal methods 3 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 3 years ago
Jordi Boggiano 86fb8d4412
Fix CS 3 years ago
Jordi Boggiano 63b5f2737b
Merge branch '2.2' into main 3 years ago
Stephan 3eb12efae5
VcsRepositories: handle initialize with invalid repository URL (#10525) 3 years ago
Jordi Boggiano bf1ad4d240
Make sure test runs in isolated dir 3 years ago
Jordi Boggiano ffd62795bc
Get rid of all the ->at() mock invocations 3 years ago
Jordi Boggiano 2a771dfb2d
Update PHPUnit to 8.5 3 years ago
Jordi Boggiano 44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS 3 years ago
Martin Herndl d51c7685da
Add types to `Repository` tests (#10227) 3 years ago
Jordi Boggiano a586a753df
Fix all remaining php8.1 test suite deprecations 3 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Jordi Boggiano 9cab8c10cc
Merge branch 'master' into 2.0 5 years ago
Ion Bazan a2137d5263 use Symfony PHPUnit Bridge 5 years ago
Jordi Boggiano 4a7d42604f
Fix tests 5 years ago
Jordi Boggiano a5b178084c
Merge branch 'master' into 2.0 5 years ago
Stephan Vock 731d94a2a3 VcsRepositories: mark archived repositories as abandoned 5 years ago
Jordi Boggiano f946d8eb5a More RemoteFilesystem usage removals and some repository/vcs driver refactorings 6 years ago
Jordi Boggiano 713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 6 years ago
Gabriel Caruso 2a13bb2649 Fixes from PHPStan (#7687)
* fix docblocks

* remove redundant conditional

* fix wrong variable name

* fix wrong namespaces

* add missing private members

* remove unused/redundant arguments

* move testcase class

* exclude TestCase.php

* Tweak RuleWatchGraph type hints

* Tweak doc comment
6 years ago
Jordi Boggiano 066351c5b9 Remove use of deprecated getMock method 7 years ago
Rob Bast dc2f201152 add trailing / and updated diagnose command 9 years ago
Rob Bast 4d975c49aa fix mocks 9 years ago
Rob Bast adf3b956d0 try to use unique test directories
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
9 years ago
Jordi Boggiano 52d290f5f2 trim token just in case and update tests 10 years ago
Rob Bast a34335a9bb github deprecation changes
- added some tests
- minor bug fixes discovered during testing
- resolved two deprecations (rate limit api and authorizations api)
- added some more comments to make the flow more understandable
10 years ago
Jordi Boggiano d5294ef91b Update repo url from github and handle trailing slashes, refs composer/packagist#354 refs composer/packagist#423 10 years ago
Jordi Boggiano 90d1b6e08a Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862 10 years ago
Jordi Boggiano 0d4c2bb7d7 Fix github test 11 years ago
Nils Adermann 1ccf4b0fc3 Correct the tests for dist urls for github 11 years ago
Jordi Boggiano d017e3f209 Adjust GitDriver tag parsing to resolve to SHAs 11 years ago
Jordi Boggiano e0051a4652 Update tests 11 years ago
Jordi Boggiano 259a25344d Use the api to get file contents instead of raw.github.com
raw.github does not like the access_token query param
12 years ago
Jordi Boggiano 80c18db694 Fix tests 12 years ago
Jordi Boggiano 432955e0ae Fix github url escaping, raw.github.com doesnt like escaped slashes 12 years ago
Jordi Boggiano 224934831d Change all github archive URLs to API URLs and handle fallback for those to nodeload 12 years ago
Chris Smith e3838bbc1f Update tests to expect correct URLs for private dist downloads 12 years ago
Jordi Boggiano 487e66d0a9 Allow loading of multiple composer autoloaders concurrently, fixes #1248 12 years ago
Igor Wiedler 4959c2bdc6 Replace references of a11n with a12n where appropriate
Authorization => Authentication.
12 years ago
Jordi Boggiano 1682532b80 Update code to use new github archive URLs 12 years ago
Jordi Boggiano bebd1ce9c7 Always check for OAuth token in git config, fixes #1243 12 years ago
Jordi Boggiano 0a3097c569 Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
Conflicts:
	src/Composer/Repository/Vcs/GitHubDriver.php
12 years ago
Jordi Boggiano e0ce22f7cc Fix tests 12 years ago
bboer 00361e0087 Fixed tests 12 years ago
Jordi Boggiano f08c748658 Fix tests, fix handling of branches with slashes in GitDriver, fixes #935 12 years ago
Sebastiaan Stok 9270904765 fixed issue #992 - branch name not properly escaped 12 years ago
Jordi Boggiano 656feda837 Revert previous change, use GIT_ASKPASS env var instead 12 years ago
Jordi Boggiano b4622885de Fix tests with openssl disabled 12 years ago
Jordi Boggiano 4505df29df Add functional tests for the installer, fixes #580 13 years ago
Jordi Boggiano 7bfe031768 VcsDrivers now send proper originUrl for authentication 13 years ago