1
0
Fork 0
composer/tests/Composer/Test
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.
2020-01-19 23:21:07 +01:00
..
Autoload Fix tests for PSR-fix in optimized autoloader, refs #8397 2019-11-01 15:31:55 +01:00
Command Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Config Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Console Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-30 13:44:43 -02:00
DependencyResolver Request jobs replaced by root require / fixed package 2020-01-19 23:21:07 +01:00
Downloader Fix deps=high build 2020-01-17 11:56:23 +01:00
EventDispatcher Fix expectation 2020-01-14 15:46:58 +01:00
Fixtures Request jobs replaced by root require / fixed package 2020-01-19 23:21:07 +01:00
IO feat(buffer-io): add the possibility to set user inputs for interactive questions 2019-01-05 11:59:33 +01:00
Installer Fix 5.3 syntax 2019-11-23 13:18:09 +01:00
Json Merge remote-tracking branch 'adrianosferreira/package-install-method-cli' 2020-01-13 18:18:18 +01:00
Mock Request jobs replaced by root require / fixed package 2020-01-19 23:21:07 +01:00
Package Merge branch 'master' into 2.0 2020-01-14 15:39:35 +01:00
Plugin Add plugin callbacks for deactivation and uninstall, fixes #3000 2019-02-18 18:14:46 +01:00
Question Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Repository Fix tests 2020-01-14 16:27:16 +01:00
Script Fix indenting 2019-07-29 16:44:50 +02:00
Util Extract MetadataMinifier util 2020-01-15 12:58:30 +01:00
AllFunctionalTest.php Make usage of foreach to improve readability 2019-07-24 02:39:40 +02:00
ApplicationTest.php Merge branch 'master' into 2.0 2019-11-23 12:27:41 +01:00
CacheTest.php Fix cache tests 2019-02-18 14:12:01 +01:00
ComposerTest.php Add parallel download capability to FileDownloader and derivatives 2019-01-18 08:39:03 +01:00
ConfigTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
DefaultConfigTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
FactoryTest.php Fix factory test 2019-01-14 17:29:23 +01:00
InstallerTest.php Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed 2019-11-08 12:27:13 +01:00
TestCase.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00