Jordi Boggiano
6da38f83a0
Add parameter types to all the things
3 years ago
Jordi Boggiano
eda9014bef
Add return types to all code which is not being extended by open source packages
3 years ago
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present
3 years ago
Jordi Boggiano
24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_*
3 years ago
Jordi Boggiano
c65d09dff7
Fix @inheritDoc annotations
3 years ago
Martin Herndl
3645d3042c
Add types to root namespace ( #10213 )
3 years ago
Anatoly Pashin
b1a96a3141
PHPStan level 6 in src/Composer/Repository ( #10197 )
3 years ago
Jordi Boggiano
01d734125c
Add more type info
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
b7d770659b
CS fixes
4 years ago
Jordi Boggiano
8ad33298ff
Fix regression, refs #9204
4 years ago
Simon Berger
a6475a7118
Removed unused variables, properties and parameters of private functions
4 years ago
Simon Berger
cda6e8bea6
Removed unnecessary property initialization or declaration
4 years ago
Jordi Boggiano
02ceb74151
Tweak --no-cache option to be available globally and to not break VCS drivers relying on it, refs #7880 , refs #6650
6 years ago
Jordi Boggiano
bf125295df
Fix escaping of URLs in Perforce and Subversion drivers
6 years ago
Edwin Rodríguez
9dc6222288
Allow using fossil dependency in a fossil repository, fixes #7125 , closes #7126
7 years ago
Jordi Boggiano
c8aea719b1
CS fixes
7 years ago
kthbit
1a30e3fbc1
Don't update local checkout directory if url is pointing to it. Only update the checkout directory if it is controlled by composer.
7 years ago
kthbit
927d3dda89
Teach FossilDriver to work with urls pointing to local repository.fossil files, and not just the local checkout directories.
7 years ago
kthbit
72a66ad9d2
Do not assume we are on Linux and have head, tail, and awk commands available. Instead, parse the output in PHP.
7 years ago
Jordi Boggiano
122e422682
CS fixes
8 years ago
Thomas Flori
597f834ae9
add getFileContent function
...
This function is very similar to a part from getComposerInformation - so we can use this function in getComposerInformation too. And because it is almost everywhere the same we can put it to abstract class.
By implementing getComposerInformation in abstract class we need to add the getChangeDate to interface too. Only Problem: perforce seems not to support a ChangeDate. For this we use 'now' to have at least something.
8 years ago
bohwaz
5674262030
fix typo and bugs on Fossil support
8 years ago
bohwaz
0e26a07a74
Fix: use the right directory for repository file
8 years ago
bohwaz
abcbef4a67
Add Fossil support to Composer
8 years ago