Projects
Kolab:Winterfell
php-sabre-event
0001-Use-ClassLoader-from-Symfony-instead-of-au...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Use-ClassLoader-from-Symfony-instead-of-autoload.patch of Package php-sabre-event (Revision 3)
Currently displaying revision
3
,
Show latest
diff -rupN a/tests/bootstrap.php b/tests/bootstrap.php --- a/tests/bootstrap.php 2016-09-04 20:21:14.288516382 +0200 +++ b/tests/bootstrap.php 2016-09-04 20:21:55.129648463 +0200 @@ -1,3 +1,12 @@ <?php -include __DIR__ . '/../vendor/autoload.php'; +require_once 'Symfony/Component/ClassLoader/ClassLoader.php'; +use Symfony\Component\ClassLoader\ClassLoader; +$loader = new ClassLoader(); +$loader->setUseIncludePath(true); +$loader->register(); +$loader->addPrefixes(array( + 'Sabre' => __DIR__.'/../lib', + 'SabreTest' => __DIR__, +)); +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.