Skip to content

Commit

Permalink
no not mutate static calls
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Mar 25, 2020
1 parent a366619 commit 95ddae9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/phpunit/Mutator/Augmentation/ExpressionRepeatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ public function mutationsProvider(): iterable
PHP
];

yield 'It does not mutate static calls' => [
<<<'PHP'
<?php
Any::foo();
PHP
];

yield 'It does not mutate non-statements' => [
<<<'PHP'
<?php
Expand Down

0 comments on commit 95ddae9

Please sign in to comment.