Jordi Boggiano
cb0293cf30
Finalize phpstan level 6 for tests dir, closes #10159
3 years ago
megubyte
8b7e2b600d
phpstan: update tests/Composer/Test/Downloader/* to level 6 standard ( #10238 )
3 years ago
Jordi Boggiano
2828ce59cf
Merge branch '1.10'
3 years ago
John Stevenson
0783b043d2
Fix Windows escaping in tests
3 years ago
Jordi Boggiano
b77fce8a4f
More deprecation fixes by using ProcessExecutorMock and a couple of PackageInterface type fixes
3 years ago
Jordi Boggiano
40c7a725e1
Merge branch '2.0'
3 years ago
Jordi Boggiano
332c46af8b
Merge pull request from GHSA-h5h8-pc6h-jvvx
...
* Fix external process calls to avoid user input being able to pass extra parameters
* Tweak some fixes
3 years ago
Jordi Boggiano
083b73515d
Merge pull request from GHSA-h5h8-pc6h-jvvx
...
* Fix external process calls to avoid user input being able to pass extra parameters
* Tweak some fixes
3 years ago
Jordi Boggiano
46dde9453b
Fix tests
4 years ago
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
4 years ago
Jordi Boggiano
45ecbae8f5
Merge branch 'master' into 2.0
5 years ago
Ion Bazan
58b34d13e8
fix risky tests (without any assertion)
5 years ago
Jordi Boggiano
53d2ab2253
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
5 years ago
Jordi Boggiano
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
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
c917865fe9
Fix handling of dev versions and consolidate logic, refs #7119
7 years ago
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
7 years ago
Niels Keurentjes
0dab63e050
Unified all Windows tests throughout the code.
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
Alexander Loutsenko
397ae2d7c8
review fixes
9 years ago
Alexander Loutsenko
fa5de786ff
clean garbage dirs in tmp after composer tests #4694
9 years ago
Jordi Boggiano
77163f66fc
Add support for mirrors in composer repos
10 years ago
Jordi Boggiano
7252078508
Attempt to fix travis build
11 years ago
Jordi Boggiano
771233a5a0
Make it clear what is going on when a vcs folder is missing, fixes #2108
11 years ago
Jordi Boggiano
8b8dc1fd70
Remove all possible cd calls, refs #1971
11 years ago
Jordi Boggiano
b641f9ea68
Fix tests
12 years ago
Jordi Boggiano
056dc5d690
Move config to all VcsDownloaders, enforce array for github-protocols
12 years ago
Jordi Boggiano
6aaa523c0d
Fix tests
13 years ago
Jordi Boggiano
b9f770177b
Fix tests
13 years ago
Jordi Boggiano
5696b44a4f
Fix tests
13 years ago
Jordi Boggiano
ada9c20db1
Update Git/Hg downloaders tests, making sure they never use a live filesystem instance
13 years ago
Jordi Boggiano
230e145053
Fix downloader tests on windows and mock Filesystem properly
13 years ago
Leszek Prabucki
19878c2dc1
Fixed tests after update and merge of changes from upstream/master
13 years ago
Leszek Prabucki
de7f666118
Added and extended some unit tests
13 years ago