mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-31 04:34:27 +00:00
bd793d1287
* Increase Psalm strictness * Fix static analysis errors ERROR: RedundantCast - ../src/Curl/CaseInsensitiveArray.php:91:16 - Redundant cast to bool (see https://psalm.dev/262) return (bool) array_key_exists(strtolower($offset), $this->data); ERROR: RedundantCast - ../src/Curl/CaseInsensitiveArray.php:138:16 - Redundant cast to int<0, max> (see https://psalm.dev/262) return (int) count($this->data); ERROR: RedundantCast - ../src/Curl/CaseInsensitiveArray.php:187:16 - Redundant cast to bool (see https://psalm.dev/262) return (bool) (key($this->data) !== null); ERROR: ForbiddenCode - ../src/Curl/Curl.php:1765:13 - Unsafe var_dump (see https://psalm.dev/002) var_dump($value); ERROR: ForbiddenCode - ../src/Curl/Curl.php:1770:13 - Unsafe var_dump (see https://psalm.dev/002) var_dump($value); ERROR: InvalidOperand - ../src/Curl/Curl.php:1816:35 - Cannot concatenate with a value-of<TArray> (see https://psalm.dev/058) return $k . '=' . $v;
10 lines
239 B
XML
10 lines
239 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<files>
|
|
<file src="../src/Curl/Curl.php">
|
|
<ForbiddenCode>
|
|
<code><![CDATA[var_dump($value)]]></code>
|
|
<code><![CDATA[var_dump($value)]]></code>
|
|
</ForbiddenCode>
|
|
</file>
|
|
</files>
|