This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/HttpFoundation
Justin Hileman cfd4e2186f Fix UniversalClassLoader matching collisions.
The current `loadClass()` implementation tries to load a class from the first matching prefix then stops, producing false-negative results. This is especially evident in groups of related libraries, such as Doctrine:

    Doctrine
    Doctrine\Common
    Doctrine\Common\DataFixtures
    Doctrine\DBAL
    Doctrine\DBAL\Migrations

Each of these libraries is submoduled into a different vendor directory. Depending on what order these libraries are added to a UniversalClassLoader instance, classes may or may not actually be loaded. This fix continues searching registered namespaces and prefixes if the first partial match is negative.
2011-01-06 18:05:57 +01:00
..
File [HttpFoundation] added missing directory in fixtures 2011-01-03 22:09:47 +01:00
Fixtures Fix UniversalClassLoader matching collisions. 2011-01-06 18:05:57 +01:00
HeaderBagTest.php changed Cache-Control default value behavior 2010-11-18 17:05:05 +01:00
ParameterBagTest.php renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00
RequestMatcherTest.php [HttpFoundation] changed RequestMatcher pattern syntax 2010-10-07 19:12:53 +02:00
RequestTest.php fix PHPUnit assertType deprecation warnings 2011-01-03 07:44:30 +01:00
ResponseHeaderBagTest.php changed Cache-Control default value behavior 2010-11-18 17:05:05 +01:00
ResponseTest.php fixed unit test 2010-12-16 10:26:45 +01:00
UniversalClassLoaderTest.php Fix UniversalClassLoader matching collisions. 2011-01-06 18:05:57 +01:00