projects
/
pharext
/
pharext
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
major refactoring under the hood
[pharext/pharext]
/
src
/
pharext
/
SourceDir
/
Pharext.php
diff --git
a/src/pharext/SourceDir/Pharext.php
b/src/pharext/SourceDir/Pharext.php
index 2675a7899836d70d07b9e36b4b0d1ee637ad2150..8ca0901c24e696652e3ef0afa9f87b322e896f77 100644
(file)
--- a/
src/pharext/SourceDir/Pharext.php
+++ b/
src/pharext/SourceDir/Pharext.php
@@
-3,6
+3,7
@@
namespace pharext\SourceDir;
use pharext\Command;
namespace pharext\SourceDir;
use pharext\Command;
+use pharext\Exception;
use pharext\SourceDir;
/**
use pharext\SourceDir;
/**
@@
-35,7
+36,7
@@
class Pharext implements \IteratorAggregate, SourceDir
$callable = include "$path/pharext_package.php";
if (!is_callable($callable)) {
$callable = include "$path/pharext_package.php";
if (!is_callable($callable)) {
- throw new
\
Exception("Package hook did not return a callable");
+ throw new Exception("Package hook did not return a callable");
}
$this->iter = $callable($cmd, $path);
}
}
$this->iter = $callable($cmd, $path);
}