Skip to content

Commit bf55411

Browse files
committed
Fixing path problem in phar file
1 parent 924d519 commit bf55411

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Application.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php declare(strict_types=1);
1+
<?php
22

33
namespace SymfonyDocsBuilder;
44

@@ -17,7 +17,7 @@ public function __construct(string $symfonyVersion)
1717
{
1818
$this->application = new BaseApplication();
1919

20-
$configuration = $this->getSymfonyDocConfiguration($basePath = realpath(__DIR__.'/..'));
20+
$configuration = $this->getSymfonyDocConfiguration($basePath = getcwd());
2121
$this->buildContext = new BuildContext(
2222
$basePath,
2323
$symfonyVersion,

0 commit comments

Comments
 (0)