|
+$preview = true; + +// setup autoloading +set_include_path(BASE_PATH); +include 'library/Zend/Loader/AutoloaderFactory.php';
Doug Whitfield (on jiratest.php, line 18) commented
6 years ago
this path is not valid in Swarm 2019.1. Is /opt/perforce/swarm/vendor/zendframework/zend-loader/src/AutoloaderFactory.php |
Reply ·0 | |
|
|
|
+ +use Zend\Loader\AutoloaderFactory; +use P4\Connection\Connection; +use Groups\Model\Group; +use Zend\Http\Client as HttpClient;
Doug Whitfield (on jiratest.php, line 6) commented
6 years ago
All of the Zend stuff has been moved. This one to /opt/perforce/swarm/vendor/zendframework/zend-http/src/Client ...not sure at present how the "use" syntax maps to the filesystem syntax as used below |
Reply ·0 | |
|
|
|
+ 'Zend\Loader\StandardAutoloader' => array( + 'namespaces' => array( + 'P4' => BASE_PATH . '/library/P4', + 'Record' => BASE_PATH . '/library/Record', + 'Zend' => BASE_PATH . '/library/Zend',
Doug Whitfield (on jiratest.php, line 25) commented
6 years ago
Not sure how all of this is going to be formatted in the comments, but will post this here until we can get an official patch. The below will allow the test to work using Zend 3: --- jiratest.orig.php 2019-08-19 20:23:48.384156147 +0000 // setup autoloading
|
Reply ·0 | |
|