25 Commits (3cdca37e8588d262efbb3b589f8a68eea73738a2)

Author SHA1 Message Date
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Jordi Boggiano 84f0f19112
Split Composer into PartialComposer & Composer classes to avoid nullable properties on Composer for non-fully-loaded instances, add types to Composer\Factory 2 years ago
Jordi Boggiano a16ed3d0ed
Add return types to private/internal methods 2 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2 years ago
Jordi Boggiano d3c176ec69
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5

* Update seld/phar-utils to latest

* Add phpstan-setup / phpstan scripts
3 years ago
Jordi Boggiano 005c55185a
Fix support for writing into UNC paths, and comparing UNC paths correctly in InstalledVersions, fixes #9993 3 years ago
Jordi Boggiano 7a37e78a30
Speed up installer tests by avoiding lots of bootstrapping and git processes 4 years ago
Jordi Boggiano a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 4 years ago
Jordi Boggiano 0d1922dc27
Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 4 years ago
Jordi Boggiano 006985a0ea
Execute all operations at once which lets us download all packages in parallel then install only once all downloads succeeded, fixes #2847
This also changes the PRE/POST_PACKAGE_INSTALL/UPDATE/UNINSTALL events to have less information available on them, repositorySet, request and policy are gone
5 years ago
Jordi Boggiano 3dfcae99a9 Add parallel download capability to FileDownloader and derivatives 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
Jordi Boggiano 122e422682 CS fixes 7 years ago
Jordi Boggiano eb84ca564f Use unique cache dir for integration tests as well 8 years ago
Jordi Boggiano c1cc6bfecf Avoid doing too many loads of the remotefilesystem 9 years ago
Jordi Boggiano 0b4a9235f4 CS fixes 9 years ago
Jordi Boggiano 331bda235c Fix activation of global plugins, fixes #3557 10 years ago
Jordi Boggiano 1622b9a390 Fix tests 10 years ago
Jordi Boggiano 959cc4d63c Add info about conf file loading to debug output 10 years ago
Jordi Boggiano da1cc39cfd Fix tests 12 years ago
Jordi Boggiano 521bbe6556 CS fixes 12 years ago
Jordi Boggiano a4c829749e Expose the whole composer context to the custom installers, fixes #672 12 years ago
Jordi Boggiano ffecd39d33 Refactor repositories handling in config/factory/loader, fixes #828, fixes #826 12 years ago
Jordi Boggiano 3ac11b932c Expose default repositories in system config file 12 years ago
Jordi Boggiano 4505df29df Add functional tests for the installer, fixes #580 12 years ago