diff --git a/bin/php-language-server.php b/bin/php-language-server.php index 2a2ab69..bae734a 100644 --- a/bin/php-language-server.php +++ b/bin/php-language-server.php @@ -8,7 +8,7 @@ $options = getopt('', ['tcp::', 'tcp-server::', 'memory-limit::']); ini_set('memory_limit', $options['memory-limit'] ?? '4G'); -foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) { +foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/../vendor/squizlabs/php_codesniffer/autoload.php'] as $file) { if (file_exists($file)) { require $file; break;