Skip to content

Commit 46d4e72

Browse files
committed
phpstan: regenerate baselines
1 parent f6af340 commit 46d4e72

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/phpstan/baseline/level-1.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,5 @@
127127
'count' => 1,
128128
'path' => __DIR__ . '/../../../src/wp-includes/template.php',
129129
];
130-
$ignoreErrors[] = [
131-
'message' => '#^Variable \\$old_user_data in empty\\(\\) always exists and is not falsy\\.$#',
132-
'identifier' => 'empty.variable',
133-
'count' => 1,
134-
'path' => __DIR__ . '/../../../src/wp-includes/user.php',
135-
];
136130

137131
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];

tests/phpstan/baseline/level-5.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,12 @@
919919
'count' => 1,
920920
'path' => __DIR__ . '/../../../src/wp-includes/class-wp-hook.php',
921921
];
922+
$ignoreErrors[] = [
923+
'message' => '#^Parameter \\#3 \\$value of function curl_setopt expects int, string given\\.$#',
924+
'identifier' => 'argument.type',
925+
'count' => 1,
926+
'path' => __DIR__ . '/../../../src/wp-includes/class-wp-http-curl.php',
927+
];
922928
$ignoreErrors[] = [
923929
'message' => '#^Parameter \\#2 \\$mode of function stream_set_blocking expects bool, int given\\.$#',
924930
'identifier' => 'argument.type',

0 commit comments

Comments
 (0)