projects
/
pharext
/
pharext
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
add CliArgsTest
[pharext/pharext]
/
tests
/
autoload.php
diff --git a/tests/autoload.php
b/tests/autoload.php
new file mode 100644
(file)
index 0000000..
d914f3f
--- /dev/null
+++ b/
tests/autoload.php
@@ -0,0
+1,7
@@
+<?php
+spl_autoload_register(function($class) {
+ if (strncmp($class, "pharext\\", strlen("pharext\\"))) {
+ return false;
+ }
+ return include __DIR__."/../src/".strtr($class, "_\\", "//").".php";
+});