Example #1
0
 /**
  * Looks for composer.json in the given path and returns a path or NULL.
  *
  * @param string $packagePath
  * @return array
  */
 protected function findComposerManifestPaths($packagePath)
 {
     // If an ext_emconf.php file is found, we don't need to look deeper
     if (file_exists($packagePath . '/ext_emconf.php')) {
         return array();
     }
     return parent::findComposerManifestPaths($packagePath);
 }