diff --git a/PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml b/PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml index af10b11..a6401cb 100644 --- a/PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml +++ b/PHPCompatibilitySymfonyPolyfillPHP72/ruleset.xml @@ -4,12 +4,16 @@ + + + + + - diff --git a/README.md b/README.md index f55d7b4..5a58c38 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,10 @@ All code within the PHPCompatibility organisation is released under the GNU Less ## Changelog +### 1.1.3 - 2020-07-19 + +* `PHPCompatibilitySymfonyPolyfillPHP72` ruleset: allow for four polyfilled `PHP_FLOAT_*` constants, which were added in `polyfill-php72` version `1.16.0`. + ### 1.1.2 - 2020-05-20 * `PHPCompatibilitySymfonyPolyfillPHP56` ruleset: allow for two polyfilled LDAP constants (undocumented in the Polyfill docs) diff --git a/Test/SymfonyPolyfillPHP72Test.php b/Test/SymfonyPolyfillPHP72Test.php index e03f1cf..151b107 100644 --- a/Test/SymfonyPolyfillPHP72Test.php +++ b/Test/SymfonyPolyfillPHP72Test.php @@ -8,3 +8,5 @@ $d = sapi_windows_vt100_support(); $e = mb_scrub(mb_ord(mb_chr(spl_object_id(), $encoding), $encoding), $encoding); + +$floats = PHP_FLOAT_DIG + PHP_FLOAT_EPSILON + PHP_FLOAT_MIN + PHP_FLOAT_MAX;