Skip to content

Commit 3d8655d

Browse files
vinklafelixfbecker
authored andcommitted
Update phpunit config (felixfbecker#488)
* Update phpunit config * Rename DocumentHighlight class
1 parent d24c420 commit 3d8655d

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

phpunit.xml.dist

+18-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php">
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
beStrictAboutTestsThatDoNotTestAnything="true"
5+
beStrictAboutOutputDuringTests="true"
6+
bootstrap="vendor/autoload.php"
7+
colors="true"
8+
convertErrorsToExceptions="true"
9+
convertNoticesToExceptions="true"
10+
convertWarningsToExceptions="true"
11+
failOnWarning="true"
12+
processIsolation="false"
13+
stopOnError="false"
14+
stopOnFailure="false"
15+
verbose="true"
16+
>
317
<testsuites>
418
<testsuite name="PHP Language Server Test Suite">
5-
<directory>./tests</directory>
19+
<directory suffix="Test.php">./tests</directory>
620
</testsuite>
721
</testsuites>
8-
922
<filter>
10-
<whitelist>
11-
<directory>./src</directory>
23+
<whitelist processUncoveredFilesFromWhitelist="true">
24+
<directory suffix=".php">./src</directory>
1225
</whitelist>
1326
</filter>
1427
<php>

src/Protocol/DocumentHighlight.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* special attention. Usually a document highlight is visualized by changing
88
* the background color of its range.
99
*/
10-
class DocumentHighlightKind
10+
class DocumentHighlight
1111
{
1212
/**
1313
* The range this highlight applies to.

0 commit comments

Comments
 (0)