Skip to content

Commit

Permalink
rename SingleInArrayToCompareRector unpacking fixture as suggested by
Browse files Browse the repository at this point in the history
  • Loading branch information
raoz committed Apr 21, 2023
1 parent 66ef574 commit 3f21dcc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace Rector\Tests\CodeQuality\Rector\FuncCall\SingleInArrayToCompareRector\Fixture;

final class SkipUnpackArrayItemExists
{
public function run()
{
$a = ['a', 'b'];
echo in_array('a', [...$a]);
}
}

This file was deleted.

0 comments on commit 3f21dcc

Please sign in to comment.