1
0
Fork 0
php-language-server/tests
Felix Becker f00fd1b62c
fix(formatting): drop PHP CodeSniffer (#504)
At this point there are countless issues about the formatting done by CodeSniffer. It plain out doesn't work in many cases, overrides format options that are contributed by other extensions in VS Code and does not reuse any of our AST parsing. For that reason, I am starting to think there is no reason to keep it in here until we have proper pretty-printing support from https://github.com/Microsoft/tolerant-php-parser that actually reuses our ASTs and can work while editing. For people who want to use CodeSniffer to format their code, there could be a standalone CodeSniffer language server (like there is a TSLint language server and ESLint language server). As said, we don't reuse our state anyway.

BREAKING CHANGE: removes formatting support

closes #501
closes #474
closes #473
closes #468
closes #450
closes #445
closes #443
closes #423
closes #343
closes #296
closes #293
closes #499
closes #471
2017-11-04 23:57:51 -07:00
..
NodeVisitor Adopt Microsoft/tolerant-php-parser (#357) 2017-06-09 20:25:30 +02:00
Server fix(formatting): drop PHP CodeSniffer (#504) 2017-11-04 23:57:51 -07:00
Utils Completion (#165) 2016-11-30 22:23:51 +01:00
Validation ci: add AppVeyor to test Windows 2017-10-30 03:09:06 -07:00
ClientHandlerTest.php Handle Client responses (#128) 2016-10-31 11:47:21 +01:00
DefinitionResolverTest.php Rename $stmts to $sourceFileNode everywhere 2017-06-10 21:36:16 +02:00
LanguageServerTest.php fix(formatting): drop PHP CodeSniffer (#504) 2017-11-04 23:57:51 -07:00
MockPhpDocument.php Allow getting type from define() node (#363) 2017-04-24 11:11:40 +02:00
MockProtocolStream.php Enable LS to operate without accessing the file system (#136) 2016-11-14 10:25:44 +01:00
PhpDocumentLoaderTest.php Adopt Microsoft/tolerant-php-parser (#357) 2017-06-09 20:25:30 +02:00
PhpDocumentTest.php Adopt Microsoft/tolerant-php-parser (#357) 2017-06-09 20:25:30 +02:00
ProtocolStreamReaderTest.php Correct ProtocolStreamReaderTest 2016-11-06 15:59:32 +01:00
ProtocolStreamWriterTest.php Simplify ProtocolStreamWriterTest 2016-10-31 10:23:37 +01:00