1
0
Fork 0

Update phpunit config (#488)

* Update phpunit config

* Rename DocumentHighlight class
pull/487/head^2
Vincent Klaiber 2017-10-02 22:37:28 +02:00 committed by Felix Becker
parent d24c42008e
commit 3d8655d504
2 changed files with 19 additions and 6 deletions

View File

@ -1,14 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"> <phpunit backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnWarning="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
>
<testsuites> <testsuites>
<testsuite name="PHP Language Server Test Suite"> <testsuite name="PHP Language Server Test Suite">
<directory>./tests</directory> <directory suffix="Test.php">./tests</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<filter> <filter>
<whitelist> <whitelist processUncoveredFilesFromWhitelist="true">
<directory>./src</directory> <directory suffix=".php">./src</directory>
</whitelist> </whitelist>
</filter> </filter>
<php> <php>

View File

@ -7,7 +7,7 @@ namespace LanguageServer\Protocol;
* special attention. Usually a document highlight is visualized by changing * special attention. Usually a document highlight is visualized by changing
* the background color of its range. * the background color of its range.
*/ */
class DocumentHighlightKind class DocumentHighlight
{ {
/** /**
* The range this highlight applies to. * The range this highlight applies to.