diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-06 06:57:39 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-06 06:57:39 -0500 |
commit | 420d0ca4dd6cf075204867de28c2e6d5b1b68184 (patch) | |
tree | e7723f4b0687d82300ca5b4d38e3ab0ff3fc13cf /vendor/lusitanian/oauth/tests/bootstrap.php | |
parent | cfe1e13d4a2b964c950b5e3daa8cafab207f1158 (diff) |
Remove vendor again
Diffstat (limited to 'vendor/lusitanian/oauth/tests/bootstrap.php')
-rw-r--r-- | vendor/lusitanian/oauth/tests/bootstrap.php | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/vendor/lusitanian/oauth/tests/bootstrap.php b/vendor/lusitanian/oauth/tests/bootstrap.php deleted file mode 100644 index 193b857a..00000000 --- a/vendor/lusitanian/oauth/tests/bootstrap.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/** - * Bootstrap the tests - * - * PHP version 5.3 - * - * @category OAuthTest - * @author Pieter Hordijk <info@pieterhordijk.com> - * @author David Desberg <david@daviddesberg.com> - * @copyright Copyright (c) 2012 Pieter Hordijk - * @license http://www.opensource.org/licenses/mit-license.html MIT License - */ -namespace OAuthTest; - -/** - * Setting up the default timezone. because well... PHP sucks - */ -date_default_timezone_set('Europe/Amsterdam'); - -/** - * Simple SPL autoloader for the OAuthTest mocks - * - * @param string $class The class name to load - * - * @return void - */ -spl_autoload_register(function ($class) { - $nslen = strlen(__NAMESPACE__); - if (substr($class, 0, $nslen) !== __NAMESPACE__) { - return; - } - $path = substr(str_replace('\\', '/', $class), $nslen); - $path = __DIR__ . $path . '.php'; - if (file_exists($path)) { - require $path; - } -}); - -/** - * Fire up the autoloader - */ -require_once __DIR__ . '/../vendor/autoload.php'; |