* Use nullable type declaration
Fixes warning:
FILE: ./src/Curl/CaseInsensitiveArray.php
-------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------
45 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update
| | the type to be explicitly nullable instead. Found implicitly nullable parameter:
| | $initial.
| | (PHPCompatibility.FunctionDeclarations.RemovedImplicitlyNullableParam.Deprecated)
-------------------------------------------------------------------------------------------------
* Remove parameter type to fix PHP 7.0
Error message:
Uncaught ErrorException: iconv_strpos(): Detected an illegal character in input string in
/var/www/site/vendor/symfony/polyfill-mbstring/Mbstring.php:536
FILE: ./src/Curl/Curl.php
----------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES
----------------------------------------------------------------------------------------------------------------------------------
1688 | WARNING | Method name "_getCurlErrorCodeConstants" should not be prefixed with an underscore to indicate visibility
| | (PSR2.Methods.MethodDeclaration.Underscore)
1707 | WARNING | Method name "_getCurlErrorCodeConstant" should not be prefixed with an underscore to indicate visibility
| | (PSR2.Methods.MethodDeclaration.Underscore)
1721 | WARNING | Method name "_getCurlOptionCodeConstants" should not be prefixed with an underscore to indicate visibility
| | (PSR2.Methods.MethodDeclaration.Underscore)
1745 | WARNING | Method name "_getEffectiveUrl" should not be prefixed with an underscore to indicate visibility
| | (PSR2.Methods.MethodDeclaration.Underscore)
1755 | WARNING | Method name "_getRfc2616" should not be prefixed with an underscore to indicate visibility
| | (PSR2.Methods.MethodDeclaration.Underscore)
1765 | WARNING | Method name "_getRfc6265" should not be prefixed with an underscore to indicate visibility
| | (PSR2.Methods.MethodDeclaration.Underscore)
1775 | WARNING | Method name "_getTotalTime" should not be prefixed with an underscore to indicate visibility
| | (PSR2.Methods.MethodDeclaration.Underscore)
----------------------------------------------------------------------------------------------------------------------------------
This change attempts to determine which underlying constants were
bitmasked together to reach the resulting value passed to curl_setopt()
using Curl::setOpt().