Jordi Boggiano
74d89d7110
Get rid of default branch handling in version guesser as it is way too time intensive at every initialization
4 years ago
Jordi Boggiano
6d2b5c1950
Add missing class
4 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
17ed09be2e
Add failing test showing that packages fail to be installed if they match a previous alias which was not removed yet
5 years ago
Jordi Boggiano
8930f1b824
Add color to lock operations and dry run output
5 years ago
Nils Adermann
5bdc0fc9c5
Request jobs replaced by root require / fixed package
...
The only type of request job remaining was "install" which is really a
root requirement. The only other kind of input for the solver is now a
set of fixed packages.
Rules have been updated to account for only two kinds of former job
reason: FIXED or ROOT_REQUIRE. The job property has always been
redundant and has been removed, since reasonData suffices.
Problem reasons are always rules, so the unnecessary wrapping in an
array has been removed.
We now only ever generate a single rule per root require or fixed
package, so there is no need for the solver to special handle disabling
"jobs" anymore, the rule can just be disabled as usual.
For consistency special handling of rules for jobs in problems has been
integrated into the rule class like all other rule reasons. As part of
this change the error message for root requirements has been improved a
bit to make it clearer where the package installation request came from.
The word job has also been removed from operations, which are called
operations, not jobs.
5 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
63da7c6b2d
Add install-path to the installed.json for every package, fixes #2174 , closes #2424
5 years ago
Jordi Boggiano
60df892517
Store dev mode in installed.json, fixes #3008
6 years ago
Jordi Boggiano
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
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
johnstevenson
ed97c2116c
Use external XdebugHandler library
7 years ago
Gabriel Caruso
3d262bd637
Fixes from PHPStan level 0
...
More fixes from PHPStan level 0
7 years ago
Jordi Boggiano
122e422682
CS fixes
8 years ago
johnstevenson
3928f1f3be
Set xdebug version in environment, fixes #5967
8 years ago
johnstevenson
0256f62b3b
Fix and rationalize tests
8 years ago
johnstevenson
896d1d71f8
Use ConsoleOutput to determine color support
8 years ago
johnstevenson
e381abeec0
Simplify argv handling
8 years ago
johnstevenson
586eb3bb41
Restart with xdebug disabled
8 years ago
Jordi Boggiano
eb84ca564f
Use unique cache dir for integration tests as well
9 years ago
Jordi Boggiano
c1cc6bfecf
Avoid doing too many loads of the remotefilesystem
9 years ago
Rob Bast
ef37b86c81
closes #1508 - updated tests
9 years ago
Jordi Boggiano
0b4a9235f4
CS fixes
10 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
94926218e8
CS fixes
10 years ago
Jordi Boggiano
959cc4d63c
Add info about conf file loading to debug output
10 years ago
Jordi Boggiano
5264d0637b
Fix regression added in 33af9eea95
, fixes #1841
12 years ago
Martin Hasoň
753a8345cb
Added support for the alias of an aliased package
12 years ago
Jordi Boggiano
ee60df708d
Handle stability changes correctly, fixes #877
...
On update, packages that are less stable than the minimum-stability allows will
now be downgraded to their correct versions, even if they were installed as
unstable already.
12 years ago
Jordi Boggiano
c32470c7df
Update docs, fix tests
12 years ago
Jordi Boggiano
da1cc39cfd
Fix tests
12 years ago
Jordi Boggiano
e0ce22f7cc
Fix tests
12 years ago
Jordi Boggiano
521bbe6556
CS fixes
12 years ago
Alexey Prilipko
e173f11b37
Add PEAR channel reader & Update PearRepository to use it.
12 years ago
Alexey Prilipko
ee2834a169
Add Mock for RemoteFileSystem
12 years ago
Jordi Boggiano
2ede0a3b54
Merge remote-tracking branch 'naderman/fix-duplicate-alias'
12 years ago
Nils Adermann
9346d4a501
Make the InstallationManagerMock behave like the real class on alias install
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
Nils Adermann
a756f7f880
Merge pull request #798 from cs278/dev-hash-detached-head
...
Ensure composer works with a detached head
12 years ago
Jordi Boggiano
73a865bf2a
Fix tests
12 years ago
Grégoire Pineau
f4e9dd4fb8
Fixed PSR rules
12 years ago
Chris Smith
97955a6ace
Mock ProcessExecutor
12 years ago
Jordi Boggiano
46972fbc22
Add handling for alias operations
13 years ago
Jordi Boggiano
4505df29df
Add functional tests for the installer, fixes #580
13 years ago