Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bin/php-lsp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ declare(strict_types=1);
ini_set('display_errors', '0');
ini_set('log_errors', '1');

require __DIR__ . '/../vendor/autoload.php';
// Composer's vendor/bin proxy sets this when the package is installed as a dependency.
require $GLOBALS['_composer_autoload_path'] ?? __DIR__ . '/../vendor/autoload.php';

use Firehed\Container\AutoDetect;
use Firehed\PhpLsp\Server;
Expand Down
Loading