Permalink
Browse files

cs fixes

  • Loading branch information...
TomasVotruba committed Aug 10, 2017
1 parent 478bd4e commit 1a2a71c41cb15bb670900f9a6dee4a8dcb55a5ba
Showing with 6 additions and 6 deletions.
  1. +6 −6 bin/bootstrap.php
View
@@ -1,18 +1,18 @@
<?php declare(strict_types=1);
$rootDir = realpath(__DIR__.'/../');
$rootDir = realpath(__DIR__ . '/../');
// Autoloader for standalone install (installed via `composer create-project` or cloned locally)
$autoloader = realpath($rootDir.'/vendor/autoload.php');
$autoloader = realpath($rootDir . '/vendor/autoload.php');
if (!$autoloader) {
if (! $autoloader) {
// Installed via `composer [global] require`.
$autoloader = realpath($rootDir.'/../../autoload.php');
$autoloader = realpath($rootDir . '/../../autoload.php');
}
if (!$autoloader) {
if (! $autoloader) {
throw new RuntimeException(
'ApiGen was unable to find its autoloader. '.
'ApiGen was unable to find its autoloader. ' .
'Did you forget to run "composer update"?'
);
}

0 comments on commit 1a2a71c

Please sign in to comment.