Skip to content

1.2.0

Compare
Choose a tag to compare
@aboks aboks released this 03 Nov 12:05
· 77 commits to master since this release

Added new sniff Moxio.PHP.DisallowArrayCombinersWithSingleArray. This sniff disallows calls to functions that combine two or more with only a single array given as an argument. This applies to functions like array_merge(_recursive), array_replace(_recursive) and all variants of array_diff and array_intersect. Such a call does not make sense, and is most likely a result of a misplaced comma or parenthesis.