Projects
Kolab:16:Testing:Candidate
php-sabre-vobject
0002-replace-with-homemade-tests-autoloader.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-replace-with-homemade-tests-autoloader.patch of Package php-sabre-vobject
--- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -2,19 +2,7 @@ date_default_timezone_set('UTC'); -$try = array( - __DIR__ . '/../lib/autoload.php', - '/usr/share/php/sabre21/Sabre/VObject/autoload.php', -); - -foreach($try as $path) { - if (file_exists($path)) { - $autoLoader = include $path; - break; - } -} - -$autoLoader->addPsr4('Sabre\\VObject\\',__DIR__ . '/VObject'); +require_once __DIR__ . '/autoload.php'; if (!defined('SABRE_TEMPDIR')) { define('SABRE_TEMPDIR', __DIR__ . '/temp/');
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
.