Skip to content

Commit bf44b75

Browse files
authored
Merge pull request #12 from barryvdh/fix-deprecated
Fix deprecated messages
2 parents 6b7c110 + e652613 commit bf44b75

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

phpunit.xml.dist

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
3-
<phpunit colors="true" strict="true" bootstrap="vendor/autoload.php">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">./src/</directory>
6+
</include>
7+
</coverage>
48
<testsuites>
59
<testsuite name="phpDocumentor\Reflection\DocBlock">
610
<directory>./tests/</directory>
711
</testsuite>
812
</testsuites>
9-
<filter>
10-
<whitelist>
11-
<directory suffix=".php">./src/</directory>
12-
</whitelist>
13-
</filter>
1413
</phpunit>

src/Barryvdh/Reflection/DocBlock/Description.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function getParsedContents()
109109
)
110110
\}/Sux',
111111
$this->contents,
112-
null,
112+
-1,
113113
PREG_SPLIT_DELIM_CAPTURE
114114
);
115115

0 commit comments

Comments
 (0)