Jordi Boggiano
615530f0a1
Merge branch '2.2' into main, update baseline (2085, 104)
2 years ago
Stephan
2c40c53637
Merge pull request from GHSA-x7cr-6qr6-2hh6
...
* GitDriver: filter branch names starting with a - character
* GitDriver: getFileContent prevent identifiers starting with a -
* HgDriver: prevent invalid identifiers and prevent file from running commands
* HgDriver: filter branches starting with a - character
2 years ago
Stephan
a5e35f911b
GitDriver: fix test for remote identifier on windows ( #10727 )
2 years ago
Stephan
866d2a49b2
GitDriver: try to fetch default branch form remote using auth ( #10701 )
2 years ago
Stephan
ef12e42bdb
GitDriver: try to fetch default branch from remote ( #10687 )
...
The initial clone determined what the default branch of the cache git repository was. Changing it on the remote didn't have any impact on the local data. However, cloning it on a different machine would then store a different default branch on that machine. This could lead to different results for the same command on different machines.
3 years ago
Jordi Boggiano
b0665981c2
Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch ( #10632 )
...
* Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch, fixes #10568
* Allow ProcessExecutorMock to function with async calls
3 years ago
Jordi Boggiano
6a466a120a
Enable strict types on all files
3 years ago
Jordi Boggiano
3cdca37e85
Fix strict type issues
3 years ago
Jordi Boggiano
0db443ba5f
Add visibility to all consts, fixes #10550
3 years ago
Jordi Boggiano
7abc8da7d3
Add more types
3 years ago
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
3 years ago
Alexander Schranz
e9b60580f5
Add return types to tests ( #10 )
3 years ago
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
a4a2b6da87
Make SvnDriverTest and XzDownloaderTest more portable on Windows
3 years ago
Jordi Boggiano
96486d81cb
Fix many PHPStan issues and update baseline
3 years ago
Jordi Boggiano
6ed3aeb343
Remove setExpectedException wrapper
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
Jérôme Tamarelle
f0060b7f56
Use web URLs for Gitlab support metadata ( #10377 )
3 years ago
Jordi Boggiano
f509c41280
Upgrade PHPStan to 1.0 ( #10253 )
...
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Raphael de Almeida
150acc5559
Removed HgBitbucketDriver support ( #10248 )
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
c3c6969cf5
Type annotations
3 years ago
Jordi Boggiano
a586a753df
Fix all remaining php8.1 test suite deprecations
3 years ago
Brad Jones
dd625669e8
Introduce gitlab-protocol option to force the gitlab repos to use https or git protocol ( #9401 )
3 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Jordi Boggiano
4797d4afc8
Fix tests
4 years ago
Jordi Boggiano
372af31d23
Fix tests
4 years ago
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
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
0fe200d6d9
Fix origin computation
5 years ago
Jordi Boggiano
6c4357a7ed
Merge branch 'master' into 2.0
5 years ago
Gabriel Caruso
1d05d4171c
Remove unused private methods
5 years ago
Jordi Boggiano
799717f102
Tweak and fix some more phpstan reports
6 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
Stephan Vock
819f487b38
Bitbucket: switch to v2 API
6 years ago
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
7 years ago
Jordi Boggiano
c8aea719b1
CS fixes
7 years ago