We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ae0df commit 45a84faCopy full SHA for 45a84fa
tests/Infection/TrinaryLogicMutator.php
@@ -1,4 +1,4 @@
1
-<?php declare(strict_types=1);
+<?php declare(strict_types = 1);
2
3
namespace PHPStan\Infection;
4
@@ -7,11 +7,13 @@
7
use Infection\Mutator\MutatorCategory;
8
use LogicException;
9
use PhpParser\Node;
10
+use function in_array;
11
12
/**
13
* @implements Mutator<Node\Expr\MethodCall>
14
*/
-final class TrinaryLogicMutator implements Mutator {
15
+final class TrinaryLogicMutator implements Mutator
16
+{
17
18
public static function getDefinition(): Definition
19
{
@@ -63,4 +65,5 @@ public function mutate(Node $node): iterable
63
65
yield new Node\Expr\BooleanNot(new Node\Expr\MethodCall($node->var, 'yes'));
64
66
}
67
68
+
69
0 commit comments