From ff6700f9ee93250ee0d54208ba2e791cc824e383 Mon Sep 17 00:00:00 2001 From: Niels Keurentjes Date: Thu, 11 Feb 2016 08:57:16 +0100 Subject: [PATCH] Ignore empty path repositories per issue #4903 --- src/Composer/Repository/PathRepository.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Composer/Repository/PathRepository.php b/src/Composer/Repository/PathRepository.php index 7fa004eb5..487f06030 100644 --- a/src/Composer/Repository/PathRepository.php +++ b/src/Composer/Repository/PathRepository.php @@ -140,10 +140,6 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn $package = $this->loader->load($package); $this->addPackage($package); } - - if (count($this->getPackages()) == 0) { - throw new \RuntimeException(sprintf('No `composer.json` file found in any path repository in "%s"', $this->url)); - } } /**