Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #13 from timmow/fix-latest-composer-version

Update to work with new composer version
  • Loading branch information...
commit 8b0ba182a412013502d9f435fc9141742e6ef09f 2 parents 63fbb14 + 62a99df
@bashofmann bashofmann authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/rg/broker/repositories/Repository.php
View
5 src/rg/broker/repositories/Repository.php
@@ -8,6 +8,7 @@
* file that was distributed with this source code.
*/
namespace rg\broker\repositories;
+use Composer\Package\Loader\ArrayLoader;
class Repository extends \Composer\Repository\ComposerRepository {
@@ -18,10 +19,12 @@ public function __construct($name) {
$this->url = ROOT . '/repositories/' .$name;
$this->cache = new \rg\broker\customizations\Cache();
$this->io = new \Composer\IO\NullIO();
+ $this->loader = new ArrayLoader();
+ $this->options = array();
}
public function getName() {
return $this->name;
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.