Update php-language-server.php
to include manually the autoload from php_codesniffer
see 566a0cdf6c (diff-b5d0ee8c97c7abd7e3fa29b9a27d1780L27)
pull/471/head
parent
a04e556e6b
commit
ebe4a663d0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue