1
0
Fork 0

Update php-language-server.php

to include manually the autoload from php_codesniffer 
see 566a0cdf6c (diff-b5d0ee8c97c7abd7e3fa29b9a27d1780L27)
pull/471/head
Allan Simon 2017-09-03 14:59:14 +02:00 committed by GitHub
parent a04e556e6b
commit ebe4a663d0
1 changed files with 1 additions and 1 deletions

View File

@ -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;