Jordi Boggiano
6a466a120a
Enable strict types on all files
2 years ago
Jordi Boggiano
7abc8da7d3
Add more types
2 years ago
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
2 years ago
Alexander Schranz
1321bfca36
Add return types to closures ( #9 )
2 years ago
Jordi Boggiano
eda9014bef
Add return types to all code which is not being extended by open source packages
2 years ago
Jordi Boggiano
c65d09dff7
Fix @inheritDoc annotations
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
4940009f83
Bump phpstan to level 3 ( #9734 )
...
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
3 years ago
Jordi Boggiano
6a869ede77
Fail early if git/hg/svn can not be found on the system, so that download can be retried from dist, fixes #9681
3 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 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
5 years ago
Jordi Boggiano
ff59bbdab0
CS fixer
6 years ago
Jonas Renaudot
1a725d5e1f
Add support for authentication with mercurial repositories.
6 years ago
Jordi Boggiano
79d62cc51c
Escape references properly when getting commit logs for verbose update
6 years ago
David Zuelke
2d36324e99
streamline install progress messages
7 years ago
Jordi Boggiano
4d082f77b8
Simplify composer output to take less lines
8 years ago
Jordi Boggiano
2062070be9
Warn users with secure-http disabled once per hostname they access insecurely to avoid bad URLs going by undetected, fixes #5008
8 years ago
Niels Keurentjes
e6f21137ad
Undefined or default return points fixed.
8 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
8 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
8 years ago
Jordi Boggiano
d347e1efca
Minor tweaks refs #4878
8 years ago
bogdan
e0fad1f55b
Implemented interactive user confirmation on source package update failure
...
Removed unnecessary options for installation
Removed unnecessary exception
8 years ago
bogdan
a77e2fb093
Removed code duplication with abstract hasMetadataRepository method
...
which checks if vcs metadata is present in the package
Fixed a bug with -vvv mode. When .git folder is missing from package
in normal mode, -v mode, -vv mode the program throws the exception about missing .git folder
in -vvv mode an exception about inability to read logs
8 years ago
Possum
2e99b9fdf5
Use https where possible
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
frederik
d1d40502bf
ProcessExecutor::escape
10 years ago
frederik
7ae1430689
#3297 ProcessUtil class using ProcessUtil of Symfony Console
10 years ago
Jordi Boggiano
77163f66fc
Add support for mirrors in composer repos
10 years ago
Jordi Boggiano
22369fd3ae
Realpath hg paths to avoid problems after a chdir, fixes #2096
11 years ago
Jordi Boggiano
1217a632fe
Adjust function signatures and add type hints, refs #2136
11 years ago
Sascha Egerer
667176d1d0
Add ChangeReport Interface
...
Added a ChangeReport Interface to allow also non VCS-Downloaders to check the status of there package
11 years ago
Jordi Boggiano
771233a5a0
Make it clear what is going on when a vcs folder is missing, fixes #2108
11 years ago
Christoph
0524d28b03
fixed escaping the path (it's no cmdline argument anymore)
11 years ago
Jordi Boggiano
8b8dc1fd70
Remove all possible cd calls, refs #1971
11 years ago
Jordi Boggiano
18973ed0b9
Do not check for changes if there is no vcs dir
...
In case the package is in a broken state we do not want to show diffs from the main project
12 years ago
Jordi Boggiano
ef1f8a605f
Fix file modes
12 years ago
Jordi Boggiano
4d84f62cd9
Improve consistency and formatting of verbose output for update/install
12 years ago
Jordi Boggiano
1aed88003f
Merge remote-tracking branch 'digitalkaoz/issue_801'
...
Conflicts:
src/Composer/Downloader/VcsDownloader.php
12 years ago
Jordi Boggiano
209d3ebfc4
Show detailed changes in verbose mode, refs #842
12 years ago
Tiago Ribeiro
aba2ab2212
Added status command to display local changes to packages
12 years ago
Robert Schönthal
68d80e162a
fixes #801 show logs in --verbose mode for source packages
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
12 years ago
Jordi Boggiano
5be7f4cf09
Fail hard when failing to download using hg
12 years ago
Per Bernhardt
9f7155a753
Fixed the HgDownloader when changing the repo url
12 years ago
Konstantin Tjuterev
49491a9140
Added path to exceptions thrown in enforceCleanDirectory for Hg & Svn also; Imporved exception when git log cannot be run by Compiler
12 years ago
Jordi Boggiano
a6ce43817e
Overhaul VCS downloaders, added base class and uniformized
12 years ago
Jordi Boggiano
702d415472
Fix usage of the ProcessExecutor
12 years ago
Jordi Boggiano
e218b811e0
Convert static Process into an executor that can be injected
13 years ago