Skip to content

Commit

Permalink
Update for phpstan 1.12.3 (#4206)
Browse files Browse the repository at this point in the history
* phpstan fix

* updated composer.lock
  • Loading branch information
sreichel committed Sep 18, 2024
1 parent f10038f commit ff866ce
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
5 changes: 0 additions & 5 deletions .phpstan.dist.baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions .phpstan.dist.neon
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,5 @@ parameters:
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false
# For v1.12+ with "bleeding edge"
ignoreErrors:
-
identifier: missingType.iterableValue
# universalObjectCratesClasses:
# - Varien_Object
2 changes: 1 addition & 1 deletion lib/Mage/HTTP/Client/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Mage_HTTP_Client_Curl implements Mage_HTTP_IClient

/**
* Curl
* @var object
* @var false|resource
*/
protected $_ch;

Expand Down

0 comments on commit ff866ce

Please sign in to comment.