Skip to content

Commit

Permalink
cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Aug 10, 2017
1 parent 478bd4e commit 1a2a71c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/bootstrap.php
Original file line number Diff line number Diff line change
@@ -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"?'
);
}
Expand Down

0 comments on commit 1a2a71c

Please sign in to comment.