1
0
Fork 0
 
 
Go to file
Felix Becker c479969758 Add support for definition of static class access (#72)
Getting the definition of TestClass in
TestClass::staticTestMethod();
echo TestClass::$staticTestProperty;
echo TestClass::TEST_CLASS_CONST;
2016-10-12 12:40:13 +02:00
bin Add command line parameter for memory limit (#68) 2016-10-11 16:50:55 +02:00
fixtures References (#52) 2016-10-12 01:45:15 +02:00
images Make documentSymbol work 🎉 2016-09-02 02:56:45 +02:00
src Add support for definition of static class access (#72) 2016-10-12 12:40:13 +02:00
tests Add support for definition of static class access (#72) 2016-10-12 12:40:13 +02:00
.editorconfig Initial Commit 2016-08-12 10:16:42 +02:00
.gitignore Add .idea to .gitignore 2016-09-08 21:07:42 +02:00
.travis.yml Add phpunit configuration file (#37) 2016-09-29 16:09:23 +02:00
LICENSE.txt Add LICENSE 2016-08-30 18:49:06 +02:00
README.md Update README with --memory-limit param (#70) 2016-10-11 21:14:49 +02:00
codecov.yml Add coverage reporting (#14) 2016-09-06 12:55:05 +02:00
composer.json References (#52) 2016-10-12 01:45:15 +02:00
phpunit.xml.dist Convert indentation to spaces in phpunit.xml.dist 2016-09-30 12:20:53 +02:00

README.md

PHP Language Server

Version Build Status Coverage Dependency Status Minimum PHP Version License Gitter

A pure PHP implementation of the Language Server Protocol.

Find all symbols demo

Used by

Contributing

You need at least PHP 7.0 and Composer installed. Clone the repository and run

composer install

to install dependencies.

Run the tests with

vendor/bin/phpunit --bootstrap vendor/autoload.php tests

Command line arguments

--tcp=host:port (optional)

Causes the server to use a tcp connection for communicating with the language client instead of using STDIN/STDOUT. The server will try to connect to the specified address.

Example:

php bin/php-language-server.php --tcp=127.0.0.1:12345
--memory-limit=integer (optional)

Sets memory limit for language server. Equivalent to memory-limit php.ini directive. By default there is no memory limit.

Example:

php bin/php-language-server.php --memory-limit=256M