diff --git a/.phpstan.dist.baseline.neon b/.phpstan.dist.baseline.neon index 18291848aca..8e50e08bf4f 100644 --- a/.phpstan.dist.baseline.neon +++ b/.phpstan.dist.baseline.neon @@ -4860,11 +4860,6 @@ parameters: count: 1 path: lib/Mage/DB/Mysqli.php - - - message: "#^Property Mage_HTTP_Client_Curl\\:\\:\\$_ch \\(object\\) does not accept resource\\.$#" - count: 1 - path: lib/Mage/HTTP/Client/Curl.php - - message: "#^Property Mage_HTTP_Client_Socket\\:\\:\\$_postFields is never read, only written\\.$#" count: 1 diff --git a/.phpstan.dist.neon b/.phpstan.dist.neon index 77ead18bbde..d56b4f77325 100644 --- a/.phpstan.dist.neon +++ b/.phpstan.dist.neon @@ -69,9 +69,5 @@ parameters: checkFunctionNameCase: true checkInternalClassCaseSensitivity: true treatPhpDocTypesAsCertain: false - # For v1.12+ with "bleeding edge" - ignoreErrors: - - - identifier: missingType.iterableValue # universalObjectCratesClasses: # - Varien_Object diff --git a/lib/Mage/HTTP/Client/Curl.php b/lib/Mage/HTTP/Client/Curl.php index 6ec2afba3ea..4fab8a3ac51 100644 --- a/lib/Mage/HTTP/Client/Curl.php +++ b/lib/Mage/HTTP/Client/Curl.php @@ -89,7 +89,7 @@ class Mage_HTTP_Client_Curl implements Mage_HTTP_IClient /** * Curl - * @var object + * @var false|resource */ protected $_ch;