1
0
Fork 0
composer/tests/Composer/Test
Nils Adermann 7b4cb9c370 Solver: Prevent infinite recursion in analyzeUnsolvableRule
In complex scenarios reasons for learned rules can themselves be learned
rules caused by other learned rules which had the some of the same
reasons. In this situation iterating over all problem rules requires
keeping track of which rules have previously been analyzed to avoid and
endless loop.

Side effect is that the sorting of problems including learned rules
changes slightly.
2020-10-21 17:11:13 +02:00
..
Autoload Merge branch 'master' into code-improvements 2020-10-13 12:23:13 +02:00
Command Fix build 2020-02-11 11:41:31 +01:00
Config Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Console PHPStan fixes 2020-02-07 23:10:10 +01:00
DependencyResolver Transaction: Define a total order on packages to keep behavior on PHP8 2020-10-14 11:13:51 +02:00
Downloader Add test to check processed URL and cache key 2020-10-15 23:46:12 -04:00
EventDispatcher Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
Fixtures Solver: Prevent infinite recursion in analyzeUnsolvableRule 2020-10-21 17:11:13 +02:00
IO Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
Installer Remove OperationInterface::getReason, closes #9230, closes #9263 2020-10-12 12:31:54 +02:00
Json Merged isset, unset and str_replace calls 2020-09-26 00:55:19 +02:00
Mock Get rid of default branch handling in version guesser as it is way too time intensive at every initialization 2020-06-24 21:16:16 +02:00
Package Merge branch '1.10' 2020-10-13 16:00:04 +02:00
Platform Move Version util to Platform namespace, fix CS nitpicks, make regexes case insensitive for robustness, refs #9093 2020-08-13 15:48:41 +02:00
Plugin Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
Question Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
Repository Fix tests 2020-10-13 15:01:22 +02:00
Script Fix indenting 2019-07-29 16:44:50 +02:00
Util Make async test more robust 2020-10-16 11:23:03 +02:00
AllFunctionalTest.php Fix usage of create-project with local filesystem repos 2020-07-17 11:30:03 +02:00
ApplicationTest.php do not use env 2020-02-07 13:07:01 +08:00
CacheTest.php Fix more warnings 2020-09-11 11:32:09 +02:00
ComposerTest.php Add parallel download capability to FileDownloader and derivatives 2019-01-18 08:39:03 +01:00
ConfigTest.php fix risky tests (without any assertion) 2020-02-07 14:35:07 +08: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
InstalledVersionsTest.php Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 2020-04-22 12:10:09 +02:00
InstallerTest.php Merge branch 'master' into code-improvements 2020-10-13 12:23:13 +02:00
PolyfillTestCase.php Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
TestCase.php Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00