Skip to content

Commit

Permalink
Remove the unit test for namespaced functions.
Browse files Browse the repository at this point in the history
That particular test caused the unit tests to fail on PHP 5.2 and it was only included to ensure that the sniff would *not* run on namespaced functions.
  • Loading branch information
jrfnl committed Jul 17, 2016
1 parent 48c559a commit fd76f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WordPress/Tests/DB/RestrictedFunctionsUnitTest.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Bar {
$x = new Foo();
$x->mysql_info(); // ok
$y = Bar::mysql_info(); // ok
\SomeNamespace\mysql_info(); // ok
prefix_mysql_info(); // ok


/**
Expand Down

0 comments on commit fd76f39

Please sign in to comment.