Skip to content

Commit 489f71f

Browse files
authored
Merge pull request #1 from szepeviktor/patch-1
Improve bootstrap
2 parents 32ebe0b + 02ed85d commit 489f71f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/phpdocfixer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
use Symfony\Component\Console\Application;
88

9-
require_once __DIR__ . "/../vendor/autoload.php";
9+
require_once dirname(__DIR__) . '/vendor/autoload.php';
1010

1111
(static function () {
1212
error_reporting(E_ALL);
1313
ini_set('display_errors', 'stderr');
1414

15-
\define('__PHPDOCFIXER_RUNNING__', true);
15+
define('__PHPDOCFIXER_RUNNING__', true);
1616

1717
$app = new Application('PhpDocFixer');
1818

0 commit comments

Comments
 (0)