Skip to content

Commit

Permalink
Merge cc69968 into a1de588
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Dec 23, 2017
2 parents a1de588 + cc69968 commit 531e37b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PHPCompatibility/Sniffs/PHP/DeprecatedFunctionsSniff.php
Expand Up @@ -777,6 +777,10 @@ class DeprecatedFunctionsSniff extends AbstractRemovedFeatureSniff
'7.2' => false,
'alternative' => 'gmp_random_bits() or gmp_random_range()',
),
'read_exif_data' => array(
'7.2' => false,
'alternative' => 'exif_read_data()',
),
);


Expand Down
Expand Up @@ -200,6 +200,7 @@ public function dataDeprecatedFunctionWithAlternative()
array('create_function', '7.2', 'an anonymous function', array(146), '7.1'),
array('each', '7.2', 'a foreach loop', array(147), '7.1'),
array('gmp_random', '7.2', 'gmp_random_bits() or gmp_random_range()', array(148), '7.1'),
array('read_exif_data', '7.2', 'exif_read_data()', array(149), '7.1'),
);
}

Expand Down
Expand Up @@ -146,3 +146,4 @@ abstract class Split {}
create_function();
while (list($key, $val) = each($array)) {}
gmp_random(2);
read_exif_data();

0 comments on commit 531e37b

Please sign in to comment.