Update phpunit config (#488)
* Update phpunit config * Rename DocumentHighlight classpull/487/head^2
parent
d24c42008e
commit
3d8655d504
|
@ -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>
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue