THRIFT-4423: migrate to psr-4
Client: php
This closes #1445
diff --git a/test/php/TestClient.php b/test/php/TestClient.php
index 1591027..aa42e09 100755
--- a/test/php/TestClient.php
+++ b/test/php/TestClient.php
@@ -2,7 +2,7 @@
namespace test\php;
-require_once __DIR__.'/../../lib/php/lib/Thrift/ClassLoader/ThriftClassLoader.php';
+require_once __DIR__.'/../../vendor/autoload.php';
use Thrift\ClassLoader\ThriftClassLoader;
@@ -14,7 +14,6 @@
}
$loader = new ThriftClassLoader();
-$loader->registerNamespace('Thrift', __DIR__ . '/../../lib/php/lib');
if ($GEN_DIR === 'gen-php-psr4') {
$loader->registerNamespace('ThriftTest', $GEN_DIR);
} else {