{"code":"<?php declare(strict_types = 1);\n\n$ch = curl_init();\nif (!is_resource($ch)) {\n\tthrow new \\Exception('curl error');\n}","errors":[{"line":4,"message":"Call to function is_resource() with CurlHandle will always evaluate to false."}],"version":"N/A","level":"8","config":{"strictRules":false,"bleedingEdge":false,"treatPhpDocTypesAsCertain":true},"upToDateTabs":[{"errors":[{"line":4,"message":"Negated boolean expression is always true.","ignorable":true,"tip":"Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your %configurationFile%.","identifier":"booleanNot.alwaysTrue"}],"title":"PHP 8.0 (1 error)"},{"errors":[],"title":"PHP 7.1 – 7.4"}],"upToDateVersionedErrors":[{"phpVersion":70100,"errors":[]},{"phpVersion":70200,"errors":[]},{"phpVersion":70300,"errors":[]},{"phpVersion":70400,"errors":[]},{"phpVersion":80000,"errors":[{"line":4,"message":"Negated boolean expression is always true.","ignorable":true,"tip":"Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your %configurationFile%.","identifier":"booleanNot.alwaysTrue"}]},{"phpVersion":80100,"errors":[{"line":4,"message":"Negated boolean expression is always true.","ignorable":true,"tip":"Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your %configurationFile%.","identifier":"booleanNot.alwaysTrue"}]},{"phpVersion":80200,"errors":[{"line":4,"message":"Negated boolean expression is always true.","ignorable":true,"tip":"Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your %configurationFile%.","identifier":"booleanNot.alwaysTrue"}]},{"phpVersion":80300,"errors":[{"line":4,"message":"Negated boolean expression is always true.","ignorable":true,"tip":"Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your %configurationFile%.","identifier":"booleanNot.alwaysTrue"}]},{"phpVersion":80400,"errors":[{"line":4,"message":"Negated boolean expression is always true.","ignorable":true,"tip":"Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your %configurationFile%.","identifier":"booleanNot.alwaysTrue"}]},{"phpVersion":80500,"errors":[{"line":4,"message":"Negated boolean expression is always true.","ignorable":true,"tip":"Because the type is coming from a PHPDoc, you can turn off this check by setting treatPhpDocTypesAsCertain: false in your %configurationFile%.","identifier":"booleanNot.alwaysTrue"}]}],"versionedErrors":[{"phpVersion":70100,"errors":[]},{"phpVersion":70200,"errors":[]},{"phpVersion":70300,"errors":[]},{"phpVersion":70400,"errors":[]},{"phpVersion":80000,"errors":[{"line":4,"message":"Call to function is_resource() with CurlHandle will always evaluate to false."}]}],"tabs":[{"errors":[{"line":4,"message":"Call to function is_resource() with CurlHandle will always evaluate to false."}],"title":"PHP 8.0 (1 error)"},{"errors":[],"title":"PHP 7.1 – 7.4"}]}