Skip to content

Commit 16216f7

Browse files
Merge branch '11.0'
2 parents 73ac819 + fd3f0bf commit 16216f7

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<phive xmlns="https://phar.io/phive">
33
<phar name="phpab" version="^1.25" installed="1.29.0" location="./tools/phpab" copy="true"/>
44
<phar name="php-cs-fixer" version="^3.0" installed="3.51.0" location="./tools/php-cs-fixer" copy="true"/>
5-
<phar name="psalm" version="^5.0" installed="5.22.2" location="./tools/psalm" copy="true"/>
5+
<phar name="psalm" version="^5.0" installed="5.23.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"/>
77
<phar name="composer" version="^2.0.3" installed="2.7.1" location="./tools/composer" copy="true"/>
88
</phive>

.psalm/baseline.xml

Lines changed: 16 additions & 2 deletions
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.22.2@d768d914152dbbf3486c36398802f74e80cfde48">
2+
<files psalm-version="5.23.0@005e3184fb6de4350a873b9b8c4dc3cede9db762">
33
<file src="src/Event/Dispatcher/DirectDispatcher.php">
44
<UndefinedInterfaceMethod>
55
<code><![CDATA[notify]]></code>
@@ -59,6 +59,9 @@
5959
<ArgumentTypeCoercion>
6060
<code><![CDATA[$eventClass . 'Subscriber']]></code>
6161
</ArgumentTypeCoercion>
62+
<InvalidArrayOffset>
63+
<code><![CDATA[gc_status()['running']]]></code>
64+
</InvalidArrayOffset>
6265
</file>
6366
<file src="src/Event/Value/Runtime/PHP.php">
6467
<ImpureFunctionCall>
@@ -83,6 +86,18 @@
8386
<code><![CDATA[fromBytes]]></code>
8487
</ImpureMethodCall>
8588
</file>
89+
<file src="src/Event/Value/Telemetry/Php83GarbageCollectorStatusProvider.php">
90+
<InvalidArrayOffset>
91+
<code><![CDATA[$status['application_time']]]></code>
92+
<code><![CDATA[$status['buffer_size']]]></code>
93+
<code><![CDATA[$status['collector_time']]]></code>
94+
<code><![CDATA[$status['destructor_time']]]></code>
95+
<code><![CDATA[$status['free_time']]]></code>
96+
<code><![CDATA[$status['full']]]></code>
97+
<code><![CDATA[$status['protected']]]></code>
98+
<code><![CDATA[$status['running']]]></code>
99+
</InvalidArrayOffset>
100+
</file>
86101
<file src="src/Event/Value/Test/TestCollection.php">
87102
<PropertyTypeCoercion>
88103
<code><![CDATA[$tests]]></code>
@@ -527,7 +542,6 @@
527542
* >]]></code>
528543
</InvalidReturnType>
529544
<RiskyTruthyFalsyComparison>
530-
<code><![CDATA[empty($requires[$matches['name']])]]></code>
531545
<code><![CDATA[preg_match_all('/@(?P<name>[A-Za-z_-]+)(?:[ \t]+(?P<value>.*?))?[ \t]*\r?$/m', $docBlock, $matches)]]></code>
532546
</RiskyTruthyFalsyComparison>
533547
</file>

tools/psalm

11.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)