We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3276afb commit 358d6afCopy full SHA for 358d6af
bin/php-converter
@@ -3,7 +3,8 @@
3
4
declare(strict_types=1);
5
6
-require_once __DIR__ . '/../vendor/autoload.php';
+// https://getcomposer.org/doc/articles/vendor-binaries.md#finding-the-composer-autoloader-from-a-binary
7
+include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';
8
9
use Riverwaysoft\PhpConverter\Cli\ConvertCommand;
10
use Symfony\Component\Console\Application;
0 commit comments