Roave / BetterReflection

:crystal_ball: Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.
MIT License
1.18k stars 131 forks source link

Failing test - CURLOPT_FTP_SSL being deprecated is false #1412

Closed ondrejmirtes closed 5 months ago

ondrejmirtes commented 5 months ago

The test passes if I revert https://github.com/Roave/BetterReflection/commit/145cdb2d78b7340d061a47114880dbed0a7f5367 from https://github.com/Roave/BetterReflection/pull/1408.

/cc @staabm

This is how the constant looks like in phpstorm-stubs:

/**
 * @link https://php.net/manual/en/curl.constants.php
 * @deprecated use <b>CURLOPT_USE_SSL</b> instead.
 */
define('CURLOPT_FTP_SSL', 119);
staabm commented 5 months ago

picked your test into https://github.com/Roave/BetterReflection/pull/1413

thank you