Skip to content

Commit 9e42003

Browse files
Merge branch '8.5' into 9.6
2 parents bbcbb08 + ad3b9d6 commit 9e42003

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

.phive/phars.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
33
<phar name="phpab" version="^1.29" installed="1.29.1" location="./tools/phpab" copy="true"/>
4-
<phar name="php-cs-fixer" version="^3.53" installed="3.54.0" location="./tools/php-cs-fixer" copy="true"/>
5-
<phar name="psalm" version="^5.23" installed="5.23.1" location="./tools/psalm" copy="true"/>
4+
<phar name="php-cs-fixer" version="^3.53" installed="3.56.1" location="./tools/php-cs-fixer" copy="true"/>
5+
<phar name="psalm" version="^5.23" installed="5.24.0" location="./tools/psalm" copy="true"/>
66
<phar name="humbug/php-scoper" version="^0.18" installed="0.18.11" location="./tools/php-scoper" copy="true"/>
7-
<phar name="composer" version="^2.7" installed="2.7.4" location="./tools/composer" copy="true"/>
7+
<phar name="composer" version="^2.7" installed="2.7.6" location="./tools/composer" copy="true"/>
88
</phive>

.psalm/baseline.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="5.23.0@005e3184fb6de4350a873b9b8c4dc3cede9db762">
2+
<files psalm-version="5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e">
33
<file src="src/Framework/Assert.php">
44
<ArgumentTypeCoercion>
55
<code><![CDATA[$actualElement->childNodes->item($i)]]></code>
@@ -1661,6 +1661,8 @@
16611661
</RedundantCast>
16621662
<RiskyTruthyFalsyComparison>
16631663
<code><![CDATA[!preg_match_all(self::REGEX_DATA_PROVIDER, $docComment, $matches)]]></code>
1664+
<code><![CDATA[empty($matches['version'])]]></code>
1665+
<code><![CDATA[empty($requires[$matches['name']])]]></code>
16641666
<code><![CDATA[preg_match_all('/@(?P<name>[A-Za-z_-]+)(?:[ \t]+(?P<value>.*?))?[ \t]*\r?$/m', $docBlock, $matches)]]></code>
16651667
</RiskyTruthyFalsyComparison>
16661668
</file>

src/Runner/PhptTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ private function parseEnvSection(string $content): array
345345
foreach (explode("\n", trim($content)) as $e) {
346346
$e = explode('=', trim($e), 2);
347347

348-
if (!empty($e[0]) && isset($e[1])) {
348+
if ($e[0] !== '' && isset($e[1])) {
349349
$env[$e[0]] = $e[1];
350350
}
351351
}

tools/composer

2.99 KB
Binary file not shown.

tools/php-cs-fixer

9.73 KB
Binary file not shown.

tools/psalm

157 KB
Binary file not shown.

0 commit comments

Comments
 (0)