1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer
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
..
install-branch-alias-composer-repo Add failing test case 2014-11-20 16:54:38 +00:00
SAMPLE
abandoned-listed.test Display Locking instead of Installing for lock file install operations 2019-11-08 16:57:52 +01:00
alias-with-reference.test Fix support of aliases combined with reference locked packages, fixes #1631 2013-02-28 10:51:21 +01:00
aliased-priority-conflicting.test Correctly load aliases in lockedRepository to fix alias install output 2019-09-07 07:43:23 +02:00
aliased-priority.test Update tests for new output and for required lock file on partial update 2019-09-07 07:53:31 +02:00
broken-deps-do-not-replace.test Request jobs replaced by root require / fixed package 2020-01-19 23:21:07 +01:00
circular-dependency.test Adjust circular dep test 2013-04-30 10:34:58 +02:00
circular-dependency2.test Fix test expectation: Install and update operations are now alphabetical 2019-09-07 07:17:41 +02:00
disjunctive-multi-constraints.test Add disjunctive multi-constraints with |, refs #643, fixes #1342 2013-04-27 15:20:35 +02:00
github-issues-4319.test Request jobs replaced by root require / fixed package 2020-01-19 23:21:07 +01:00
github-issues-4795-2.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
github-issues-4795.test Only load package info from lock file for fixed packages 2019-10-30 00:24:25 +01:00
install-aliased-alias.test Correctly load branch aliases from lock file 2019-11-07 20:40:28 +01:00
install-branch-alias-composer-repo.test Add failing test case 2014-11-20 16:54:38 +00:00
install-dev-using-dist.test Fix tests 2019-02-10 13:07:42 +01:00
install-dev.test Fix integration tests 2014-04-07 11:10:57 +02:00
install-from-empty-lock.test Fix test configurations, missing lock files, invalid ones 2019-10-30 00:40:36 +01:00
install-from-lock-removes-package.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
install-ignore-platform-package-requirements.test Add tests for platform packages required by root and avoid creating rules altogether instead of disabling them, refs #3320 2014-10-17 15:30:27 +01:00
install-missing-alias-from-lock.test Update lock syntax in tests and verify installed version does not impact lock generation 2019-10-30 00:32:23 +01:00
install-overridden-platform-packages.test Finalize platform override feature 2015-04-29 22:38:07 +01:00
install-package-and-its-provider-skips-original.test Add test for replace 2015-05-05 11:07:11 +01:00
install-prefers-repos-over-package-versions.test Prioritize repository over package versions in the default policy, fixes #3509 2015-04-30 10:43:04 +01:00
install-reference.test
install-self-from-root.test Cleaner notation for expected exceptions in fixtures. 2016-01-27 13:46:14 +01:00
install-simple.test
install-without-lock.test Add tests for installer with lock: false 2019-10-20 10:51:59 +02:00
partial-update-downgrades-non-whitelisted-unstable.test Tweak test to follow changes 2020-01-17 15:16:01 +01:00
partial-update-forces-dev-reference-from-lock-for-non-updated-packages.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
partial-update-from-lock.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
partial-update-installs-from-lock-even-missing.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
partial-update-without-lock.test Partial updates without a lock file are no longer possible, update test 2019-10-29 23:12:54 +01:00
plugins-are-installed-first.test Move plugins with no dependencies to the front, followed by plugins with their dependencies 2017-05-23 20:28:32 -04:00
replace-alias.test fix "replace-alias.test" test 2014-03-12 16:35:04 +01:00
replace-priorities.test Fix replacers being picked if whatProvide was called before building the package whitelist, fixes #2991, fixes #2962 2014-05-23 15:22:53 +02:00
replace-root-require.test Add tests for the changes in #2690 2014-02-21 13:15:07 +01:00
replaced-packages-should-not-be-installed-when-installing-from-lock.test Update tests for replace conflicts 2018-08-27 12:14:34 +02:00
replaced-packages-should-not-be-installed.test Update tests for replace conflicts 2018-08-27 12:14:34 +02:00
repositories-priorities.test Ensure packages that exist in a higher prio repo never get loaded in lower prio repos, fixes #5076 2020-01-15 12:02:12 +01:00
repositories-priorities2.test Ensure packages that exist in a higher prio repo never get loaded in lower prio repos, fixes #5076 2020-01-15 12:02:12 +01:00
root-requirements-do-not-affect-locked-versions.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
solver-problems.test Request jobs replaced by root require / fixed package 2020-01-19 23:21:07 +01:00
suggest-installed.test Display Locking instead of Installing for lock file install operations 2019-11-08 16:57:52 +01:00
suggest-prod.test Display Locking instead of Installing for lock file install operations 2019-11-08 16:57:52 +01:00
suggest-replaced.test Display Locking instead of Installing for lock file install operations 2019-11-08 16:57:52 +01:00
suggest-uninstalled.test Display Locking instead of Installing for lock file install operations 2019-11-08 16:57:52 +01:00
update-alias-lock.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-alias.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-all-dry-run.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-all.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-changes-url.test Display source/dist refs if updates do not change the version 2019-11-23 12:33:58 +01:00
update-dev-ignores-providers.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-dev-packages-updates-repo-url.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-dev-to-new-ref-picks-up-changes.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-downgrades-unstable-packages.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-ignore-platform-package-requirements.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-installed-alias-dry-run.test Fixed update alias packages in dry-run mode 2013-04-11 13:20:35 +02:00
update-installed-alias.test Fixed update alias packages in dry-run mode 2013-04-11 13:20:35 +02:00
update-installed-reference-dry-run.test added tests for not updating packages referenced by specific commit hash 2014-05-27 14:23:31 +02:00
update-installed-reference.test Display source/dist refs if updates do not change the version 2019-11-23 12:33:58 +01:00
update-mirrors-changes-url.test Implement update mirrors/nothing/lock as its own installer mode 2019-11-07 17:35:44 +01:00
update-no-dev-still-resolves-dev.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-picks-up-change-of-vcs-type.test Display source/dist refs if updates do not change the version 2019-11-23 12:33:58 +01:00
update-prefer-lowest-stable.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-reference.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-removes-unused-locked-dep.test Fully switch to spl_object_hash in lock transaction 2019-11-07 21:18:09 +01:00
update-requiring-decision-reverts-and-learning-positive-literals.test Fix solver problem exceptions with unexpected contradictory "Conclusions" 2019-02-03 16:33:55 +01:00
update-syncs-outdated.test Make sure the abandoned state is copied over even if the packages are installed already 2016-04-22 23:41:15 +01:00
update-whitelist-locked-require.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-whitelist-patterns-with-all-dependencies.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-whitelist-patterns-with-dependencies.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-whitelist-patterns-with-root-dependencies.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-whitelist-patterns-without-dependencies.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-whitelist-patterns.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-whitelist-reads-lock.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-whitelist-removes-unused.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-whitelist-with-dependencies.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-whitelist-with-dependency-conflict.test Correcting lock files in test cases and updating output 2019-10-30 00:55:11 +01:00
update-whitelist.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-with-all-dependencies.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
update-without-lock.test Add tests for installer with lock: false 2019-10-20 10:51:59 +02:00
updating-dev-from-lock-removes-old-deps.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00
updating-dev-updates-url-and-reference.test Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output 2019-11-14 15:41:23 +01:00