Skip to content

Commit ff866ce

Browse files
authored
Update for phpstan 1.12.3 (#4206)
* phpstan fix * updated composer.lock
1 parent f10038f commit ff866ce

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

.phpstan.dist.baseline.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4860,11 +4860,6 @@ parameters:
48604860
count: 1
48614861
path: lib/Mage/DB/Mysqli.php
48624862

4863-
-
4864-
message: "#^Property Mage_HTTP_Client_Curl\\:\\:\\$_ch \\(object\\) does not accept resource\\.$#"
4865-
count: 1
4866-
path: lib/Mage/HTTP/Client/Curl.php
4867-
48684863
-
48694864
message: "#^Property Mage_HTTP_Client_Socket\\:\\:\\$_postFields is never read, only written\\.$#"
48704865
count: 1

.phpstan.dist.neon

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,5 @@ parameters:
6969
checkFunctionNameCase: true
7070
checkInternalClassCaseSensitivity: true
7171
treatPhpDocTypesAsCertain: false
72-
# For v1.12+ with "bleeding edge"
73-
ignoreErrors:
74-
-
75-
identifier: missingType.iterableValue
7672
# universalObjectCratesClasses:
7773
# - Varien_Object

lib/Mage/HTTP/Client/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class Mage_HTTP_Client_Curl implements Mage_HTTP_IClient
8989

9090
/**
9191
* Curl
92-
* @var object
92+
* @var false|resource
9393
*/
9494
protected $_ch;
9595

0 commit comments

Comments
 (0)