| @@ -9,12 +9,12 @@ | ||
| 9 | 9 | * For the full copyright and license information, please view the LICENSE |
| 10 | 10 | * file that was distributed with this source code. |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | -namespace Composer; | |
| 13 | +namespace Imagify\Dependencies\Composer; | |
| 14 | 14 | |
| 15 | -use Composer\Autoload\ClassLoader; | |
| 16 | -use Composer\Semver\VersionParser; | |
| 15 | +use Imagify\Dependencies\Composer\Autoload\ClassLoader; | |
| 16 | +use Imagify\Dependencies\Composer\Semver\VersionParser; | |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * This class is copied in every Composer installed project and available to all |
| 20 | 20 | * |
| @@ -120,9 +120,9 @@ | ||
| 120 | 120 | * Checks whether the given package satisfies a version constraint |
| 121 | 121 | * |
| 122 | 122 | * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call: |
| 123 | 123 | * |
| 124 | - * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') | |
| 124 | + * Imagify\Dependencies\Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') | |
| 125 | 125 | * |
| 126 | 126 | * @param VersionParser $parser Install composer/semver to have access to this class and functionality |
| 127 | 127 | * @param string $packageName |
| 128 | 128 | * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package |
| @@ -346,9 +346,9 @@ | ||
| 346 | 346 | */ |
| 347 | 347 | private static function getInstalled() |
| 348 | 348 | { |
| 349 | 349 | if (null === self::$canGetVendors) { |
| 350 | - self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders'); | |
| 350 | + self::$canGetVendors = method_exists('Imagify\Dependencies\Composer\Autoload\ClassLoader', 'getRegisteredLoaders'); | |
| 351 | 351 | } |
| 352 | 352 | |
| 353 | 353 | $installed = array(); |
| 354 | 354 | $copiedLocalDir = false; |