/Tests/bootstrap.php

http://github.com/FriendsOfSymfony/FOSFacebookBundle · PHP · 17 lines · 6 code · 3 blank · 8 comment · 1 complexity · 5cc8ba3818d468f564c985a444de17cb MD5 · raw file

  1. <?php
  2. /*
  3. * This file is part of the FOSFacebookBundle package.
  4. *
  5. * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. $file = __DIR__.'/../vendor/autoload.php';
  11. if (!file_exists($file)) {
  12. throw new RuntimeException('Install dependencies to run test suite.');
  13. }
  14. $autoload = require_once $file;