Skip to content

Commit d7d1aff

Browse files
committed
fix
1 parent 63d57bd commit d7d1aff

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
namespace Rector\Tests\DowngradePhp81\Rector\FuncCall\DowngradeHashAlgorithmXxHash\Fixture;
4+
5+
final class FixtureFullyQualifiedConstant
6+
{
7+
public function run()
8+
{
9+
return hash(\MHASH_XXH128, 'some-data-to-hash');
10+
}
11+
}
12+
13+
?>
14+
-----
15+
<?php
16+
17+
namespace Rector\Tests\DowngradePhp81\Rector\FuncCall\DowngradeHashAlgorithmXxHash\Fixture;
18+
19+
final class FixtureFullyQualifiedConstant
20+
{
21+
public function run()
22+
{
23+
return hash('md5', 'some-data-to-hash');
24+
}
25+
}
26+
27+
?>

0 commit comments

Comments
 (0)