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
@@ -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";
+});