We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbbc50f commit 764f453Copy full SHA for 764f453
1 file changed
tests/Rest/RestServerTest.php
@@ -58,7 +58,7 @@ public function testRegisterRoutesRegistersAllControllerRoutes(): void {
58
foreach ( $expectedPatterns as $pattern ) {
59
$found = false;
60
foreach ( $routes as $route ) {
61
- if ( str_contains( $route, $pattern ) ) {
+ if ( strpos( $route, $pattern ) !== false ) {
62
$found = true;
63
break;
64
}
0 commit comments