Skip to content

Commit 377e74b

Browse files
committed
[CodeQuality] Skip mix equal and identical on RepeatedOrEqualToInArrayRector
1 parent 73031f7 commit 377e74b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
namespace Rector\Tests\CodeQuality\Rector\BooleanOr\RepeatedOrEqualToInArrayRector\Fixture;
4+
5+
final class SkipMixEqualAndIdentical
6+
{
7+
public function demo()
8+
{
9+
$a = false;
10+
var_dump($a == 'a' || $a == 'b' || $a === null);
11+
}
12+
}

0 commit comments

Comments
 (0)