Jordi Boggiano
37d722e73c
PHPStan/tests updates ( #11996 )
...
* Remove a bunch of inline ignores and migrate all PHPUnit assertions to static calls
* Update baseline (1573, 93)
* Update commit hash
2024-05-29 23:12:06 +02:00
Jordi Boggiano
131da999ac
Fix CS ( #11003 )
2022-08-17 14:20:07 +02:00
Jordi Boggiano
fdab6657c7
Add command testing utilities to TestCase, add tests for ConfigCommand
2022-05-11 16:08:39 +02:00
Jordi Boggiano
6a466a120a
Enable strict types on all files
2022-02-24 13:24:34 +01:00
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
2022-02-22 16:48:53 +01:00
Alexander Schranz
e9b60580f5
Add return types to tests ( #10 )
2022-02-21 13:42:28 +01:00
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present
2022-02-18 10:38:54 +01:00
Jordi Boggiano
86fb8d4412
Fix CS
2022-02-18 08:50:11 +01:00
Jordi Boggiano
a4a2b6da87
Make SvnDriverTest and XzDownloaderTest more portable on Windows
2022-01-01 14:54:23 +01:00
Jordi Boggiano
6ed3aeb343
Remove setExpectedException wrapper
2022-01-01 14:54:21 +01:00
Jordi Boggiano
ffd62795bc
Get rid of all the ->at() mock invocations
2022-01-01 14:54:20 +01:00
Jordi Boggiano
2a771dfb2d
Update PHPUnit to 8.5
2022-01-01 14:54:19 +01:00
Martin Herndl
d51c7685da
Add types to `Repository` tests ( #10227 )
2021-10-27 15:29:52 +02:00
Jordi Boggiano
c3c6969cf5
Type annotations
2021-10-16 10:25:12 +02:00
Jordi Boggiano
a586a753df
Fix all remaining php8.1 test suite deprecations
2021-08-19 13:00:30 +02:00
Jordi Boggiano
b7d770659b
CS fixes
2020-11-22 14:52:39 +01:00
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
2020-09-11 11:01:32 +02:00
Jordi Boggiano
6c4357a7ed
Merge branch 'master' into 2.0
2019-07-31 17:50:01 +02:00
Gabriel Caruso
1d05d4171c
Remove unused private methods
2019-07-24 03:13:53 +02:00
Jordi Boggiano
f946d8eb5a
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
2019-01-14 17:29:23 +01:00
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
2018-11-12 15:23:32 +01:00
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
2018-04-12 10:24:56 +02:00
Jordi Boggiano
122e422682
CS fixes
2017-03-08 15:16:44 +01:00
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
2016-03-01 13:20:35 +00:00
Niels Keurentjes
0dab63e050
Unified all Windows tests throughout the code.
2016-02-03 22:39:16 +01:00
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
2016-01-26 09:41:21 +01:00
Benjamin Grandfond
a21b0f82db
Allow SVN to connect with credentials provided with the auth.json file
2014-05-30 17:14:43 +02:00
Gennady Feldman
e5045ce215
Per request from Jordi Boggiano (Seldaek) making Config 2nd parameter in supports()
2013-10-29 11:07:52 -04:00
Gennady Feldman
93ebfd54b1
Adding Config as parameter to the Driver::supports(), updating all drivers, user and tests.
2013-10-28 15:57:02 -04:00
Phansys
57dd70a185
Updated tests for SVN driver.
2013-06-14 21:16:24 -03:00
Jordi Boggiano
0a3097c569
Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
...
Conflicts:
src/Composer/Repository/Vcs/GitHubDriver.php
2012-10-19 12:19:19 +02:00
Jordi Boggiano
4998bab944
Show warning if the svn binary is missing
2012-10-03 11:14:37 +02:00
bboer
00361e0087
Fixed tests
2012-08-31 08:12:20 +02:00
Jordi Boggiano
a06ebdd8ef
Add caching to svn metadata
2012-06-18 15:38:47 +02:00
Grégoire Pineau
f4e9dd4fb8
Fixed PSR rules
2012-06-14 12:10:01 +02:00
Jordi Boggiano
b3164de813
Fix tests
2012-04-29 20:43:56 +02:00
Jerome Tamarelle
610f15a768
Fix unit tests for VcsRepository
2012-04-27 11:03:57 +02:00
Jordi Boggiano
6d5b4d606c
Add warning in verbose mode if drivers can not be used because of missing openssl
2012-04-01 18:52:53 +02:00
Jordi Boggiano
5a7abfd84f
Remove code duplication in Svn classes
2012-03-25 00:29:14 +01:00
Jordi Boggiano
cd2e5bf2e0
Make SvnDriver::supports less greedy and more realistic
2012-03-24 23:21:46 +01:00
Jordi Boggiano
8fb9c4bf3b
Svn related coding style/consistency fixes and minor improvements
2012-03-24 23:07:10 +01:00
till
e015032615
remove old tests
2012-03-22 17:17:55 +01:00
till
66d53aafef
add more examples to the dataprovider
2012-03-18 16:35:09 +01:00
till
2562755867
* add a test to cover SvnDriver::supports() (three fail)
2012-03-12 21:27:22 +01:00
till
9a60913d81
incomplete (instead of skipped)
2012-03-12 20:46:01 +01:00
till
f06bdcbf16
use shorthand (we have a use statement)
2012-03-12 20:45:45 +01:00
till
50f6445bc9
cleanup
2012-03-12 20:45:27 +01:00
till
5fdd09104f
resolve conflict
2012-03-12 17:35:15 +01:00
till
364e9613ad
* started on a test case for SvnDriver::execute() (work in progress)
2012-03-09 17:41:56 +01:00
till
25e8ecc5ba
* trim the testcase: no need to inject nullio
2012-03-09 17:27:06 +01:00