From fd76f39995443232b71f8b0bfce631482af07644 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 17 Jul 2016 21:09:06 +0200 Subject: [PATCH] Remove the unit test for namespaced functions. 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. --- WordPress/Tests/DB/RestrictedFunctionsUnitTest.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPress/Tests/DB/RestrictedFunctionsUnitTest.inc b/WordPress/Tests/DB/RestrictedFunctionsUnitTest.inc index dae0896f15..5c8c29fc08 100644 --- a/WordPress/Tests/DB/RestrictedFunctionsUnitTest.inc +++ b/WordPress/Tests/DB/RestrictedFunctionsUnitTest.inc @@ -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 /**