84 Commits (6a466a120a404d1c5d492e5ca715841c491517fc)

Author SHA1 Message Date
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 a16ed3d0ed
Add return types to private/internal methods 2 years ago
Jordi Boggiano c65d09dff7
Fix @inheritDoc annotations 3 years ago
Martin Herndl fa4d4e20e9
Add types to `Downloader` (#10193) 3 years ago
Jordi Boggiano 4bcd860b65
Add more type annotations 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 40800df6bd
Fix CS 3 years ago
Jordi Boggiano 67261e8d47
Make package removals async as well, refs #9618 3 years ago
Jordi Boggiano 83c64a9d19
Reuse operation formatting logic in downloaders 4 years ago
Jordi Boggiano 55f122008b
Make sure we avoid cleanup running more than once per package on VcsDownloader 4 years ago
Jordi Boggiano 7e142b5d6b
Use Upgrading for package installs too 4 years ago
Jordi Boggiano 589abb06a3
PHPStan fixes 4 years ago
Jordi Boggiano 607b487295
Fix missing use/undefined var 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 549ccd8f79 Remote outputProgress concept from downloaders as it does not make sense when things happen in parallel, refs #7901 5 years ago
Jordi Boggiano 3dfcae99a9 Add parallel download capability to FileDownloader and derivatives 5 years ago
Jordi Boggiano c917865fe9 Fix handling of dev versions and consolidate logic, refs #7119 6 years ago
austris argalis 8a5645ffda Wording: Downgrading instead of Updating #7085 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
Mark Ingman a330d27b10 Code formatting
Updating variable name and whitespace formats inline with the project’s
standards
8 years ago
Mark Ingman 98d2fcb4d8 Fixing local file VCS URLs with encoded characters
realpath() returns FALSE for paths with URL encoding like %20, and
decoded path needs file:/// reapplied.
8 years ago
Mark Ingman 98ba6d8bf4 Fixing empty VCS URL for file:/// paths with spaces
realpath() returns FALSE for fFile paths with URL encoding like %20 for
spaces.
8 years ago
Ruslan Bekenev 8c1f889806 cut out "file://" from VCS download() method
this issue was happening due to realpath() function
that cannot work with "file://" path.
For local repositories it is valid url but not valid for realpath()
8 years ago
Steve Buzonas 89d2f58c05 use version parser in vcs downloader 8 years ago
Jordi Boggiano b080a73840 Fix broken test on windows, fixes #4973 8 years ago
Jordi Boggiano 6f42b9c865 Disable git, svn, http protocols for VCS downloaders, fixes #4968 8 years ago
Rob Bast a245c4618b php-cs-fixer 8 years ago
Magnus Nordlander 4689d836fe Fixed (and added a test for) a regression introduced in a77e2fb, which causes package Git package updates to fail when the package has two or more URLs and the last URL is the only one that actually works. 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
Jordi Boggiano c1cc6bfecf Avoid doing too many loads of the remotefilesystem 8 years ago
Jordi Boggiano 86a911150b Update bundled CAfile and other cleanups 8 years ago
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 8 years ago
Jordi Boggiano 29312be4df Strict typing fixes 9 years ago
xelan 32517d90d2 Escape angle brackets for commit message output 9 years ago
Kunal Mehta f634c6946d Update callers of VersionParser::formatVersion()
Tests were moved to BasePackageTest.
9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Padraic Brady 19e24c5804 Merge branch 'master' into tls-config
Conflicts:
	.travis.yml
	doc/03-cli.md
	src/Composer/Command/ConfigCommand.php
	src/Composer/Command/CreateProjectCommand.php
	src/Composer/Command/DiagnoseCommand.php
	src/Composer/Command/InstallCommand.php
	src/Composer/Command/RequireCommand.php
	src/Composer/Command/SelfUpdateCommand.php
	src/Composer/Command/ShowCommand.php
	src/Composer/Command/UpdateCommand.php
	src/Composer/Config.php
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Factory.php
	src/Composer/Repository/ComposerRepository.php
	src/Composer/Repository/PearRepository.php
	src/Composer/Repository/Vcs/VcsDriver.php
	src/Composer/Util/GitHub.php
	src/Composer/Util/RemoteFilesystem.php
9 years ago
Jordi Boggiano 745dcbce33 Fix file deletions to always use a delayed retry on windows, fixes #3074 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Jordi Boggiano 71397f82e4 Remove forced dir removal before install, fixes #3035 10 years ago
Jordi Boggiano effacc1185 Do not realpath relative local URLs, fixes #2916 10 years ago
Jordi Boggiano 9cbfe31983 Fix regression when using -vvv 10 years ago
Jordi Boggiano 77163f66fc Add support for mirrors in composer repos 10 years ago
Pádraic Brady 306ba77e93 Implement the RemoteFilesystem Factory everywhere...
- also fixes impacted test
10 years ago