gdbots/pbjc-php

View on GitHub
bin/pbjc

Summary

Maintainability
Test Coverage
#!/usr/bin/env php
<?php

use Gdbots\Pbjc\Command\PbjcApplication;

set_time_limit(0);

$autoloadFiles = [
  __DIR__ . '/../vendor/autoload.php',
  __DIR__ . '/../../../autoload.php',
];
foreach ($autoloadFiles as $autoloadFile) {
  if (file_exists($autoloadFile)) {
    require_once $autoloadFile;
    break;
  }
}

$app = new PbjcApplication();
$app->run();