<?php

phutil_register_library('rtplinter', __FILE__);
<?php

phutil_register_library('phabricator', __FILE__);
Пример #3
0
$root = dirname(__FILE__);
require_once $root . '/moduleutils/core.php';
require_once $root . '/moduleutils/PhutilBootloader.php';
require_once $root . '/moduleutils/PhutilBootloaderException.php';
require_once $root . '/moduleutils/PhutilLibraryConflictException.php';
function __phutil_autoload($class_name)
{
    // Occurs in PHP 5.2 with `call_user_func(array($this, 'self::f'))`.
    if ($class_name === 'self' || $class_name === 'parent') {
        return;
    }
    try {
        $loader = new PhutilSymbolLoader();
        $symbols = $loader->setType('class')->setName($class_name)->selectAndLoadSymbols();
        if (!$symbols) {
            throw new PhutilMissingSymbolException($class_name, 'class or interface', "the class or interface '{$class_name}' is not defined in the library " . "map for any loaded phutil library.");
        }
    } catch (PhutilMissingSymbolException $ex) {
        // If there are other SPL autoloaders installed, we need to give them a
        // chance to load the class. Throw the exception if we're the last
        // autoloader; if not, swallow it and let them take a shot.
        $autoloaders = spl_autoload_functions();
        $last = end($autoloaders);
        if ($last == __FUNCTION__) {
            throw $ex;
        }
    }
}
spl_autoload_register('__phutil_autoload', $throw = true);
phutil_register_library('phutil', __FILE__);
<?php

phutil_register_library('dgbarcanist', __FILE__);
<?php

phutil_register_library('sprint', __FILE__);
<?php

phutil_register_library('javelin-diviner', __FILE__);
<?php

phutil_register_library('multi-test', __FILE__);
<?php

phutil_register_library('libphutil-cantemo', __FILE__);
<?php

phutil_register_library('cucumber-test-engine', __FILE__);
<?php

phutil_register_library('libarcdjango', __FILE__);
Пример #11
0
<?php

phutil_register_library('linters', __FILE__);
<?php

phutil_register_library('libphalias', __FILE__);
<?php

phutil_register_library('rubocop-linter', __FILE__);
<?php

phutil_register_library('disqus', __FILE__);
<?php

phutil_register_library('objc-format-linter', __FILE__);
<?php

phutil_register_library('arcanist-elixir-support', __FILE__);
<?php

phutil_register_library('derpvision', __FILE__);
<?php

phutil_register_library('conphig', __FILE__);
<?php

phutil_register_library('rspec-test-engine', __FILE__);
<?php

phutil_register_library('yamwext', __FILE__);
<?php

phutil_register_library('cppcheck', __FILE__);
<?php

phutil_register_library('tap-test-engine', __FILE__);
<?php

phutil_register_library('phabricator-interpeller', __FILE__);
Пример #24
0
<?php

phutil_register_library('libbazel', __FILE__);
<?php

phutil_register_library('foam-unit', __FILE__);
<?php

phutil_register_library('phutiltestlib', __FILE__);
<?php

// Copyright 2004-present Facebook.  All rights reserved.
phutil_register_library('jcommon', __FILE__);
<?php

phutil_register_library('burndown', __FILE__);
<?php

phutil_register_library('karma-test', __FILE__);
<?php

phutil_register_library('libxhprof', __FILE__);