Skip to content

Commit 2e345b8

Browse files
VincentLangletondrejmirtes
authored andcommitted
Update stubs and patch
1 parent 6973519 commit 2e345b8

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"hoa/compiler": "3.17.08.08",
1616
"hoa/exception": "^1.0",
1717
"hoa/file": "1.17.07.11",
18-
"jetbrains/phpstorm-stubs": "dev-master#5686f9ceebde3d9338bea53b78d70ebde5fb5710",
18+
"jetbrains/phpstorm-stubs": "dev-master#56f6b9e55f5885e651553843a1aaf9ec9c586c04",
1919
"nette/bootstrap": "^3.0",
2020
"nette/di": "^3.1.4",
2121
"nette/neon": "3.3.3",

composer.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

patches/PDO.patch

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
--- PDO/PDO.php 2021-12-26 15:44:39.000000000 +0100
22
+++ PDO/PDO.php 2022-01-03 22:54:21.000000000 +0100
3-
@@ -1415,7 +1415,7 @@
4-
* @return array|false if one or more notifications is pending, returns a single row,
5-
* with fields message and pid, otherwise <b>FALSE</b>.
6-
*/
7-
- public function pgsqlGetNotify(int $fetchMode = PDO::FETCH_DEFAULT, int $timeoutMilliseconds = 0): array|false {}
8-
+ public function pgsqlGetNotify(int $fetchMode = 1, int $timeoutMilliseconds = 0): array|false {}
3+
@@ -1476,7 +1476,7 @@ namespace {
4+
* @return array|false if one or more notifications is pending, returns a single row,
5+
* with fields message and pid, otherwise <b>FALSE</b>.
6+
*/
7+
- public function pgsqlGetNotify($fetchMode = PDO::FETCH_DEFAULT, $timeoutMilliseconds = 0) {}
8+
+ public function pgsqlGetNotify($fetchMode = 1, $timeoutMilliseconds = 0) {}
99

10-
/**
11-
* (PHP 5 &gt;= 5.6.0, PHP 7, PHP 8)<br/>
10+
/**
11+
* (PHP 5 &gt;= 5.6.0, PHP 7, PHP 8)<br/>

tests/PHPStan/Rules/Generics/ClassAncestorsRuleTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function testRuleExtends(): void
108108
215,
109109
],
110110
[
111-
'Class ClassAncestorsExtends\FooObjectStorage @extends tag contains incompatible type ClassAncestorsExtends\FooObjectStorage.',
111+
'Class ClassAncestorsExtends\FooObjectStorage @extends tag contains incompatible type ClassAncestorsExtends\FooObjectStorage&iterable<object>.',
112112
226,
113113
],
114114
[

0 commit comments

Comments
 (0)