Skip to content

Commit 77fbb02

Browse files
committed
Generate stubs for WordPress Tests 6.7.0
1 parent 4878404 commit 77fbb02

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.6.2
1+
6.7.0

wordpress-tests-stubs.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,31 @@ public function assertEqualSetsWithIndex($expected, $actual, $message = '')
514514
public function assertNonEmptyMultidimensionalArray($actual, $message = '')
515515
{
516516
}
517+
/**
518+
* Assert that two text strings representing file paths are the same, while ignoring
519+
* OS-specific differences in the directory separators.
520+
*
521+
* This allows for tests to be compatible for running on both *nix based as well as Windows OS.
522+
*
523+
* @since 6.7.0
524+
*
525+
* @param string $path_a File or directory path.
526+
* @param string $path_b File or directory path.
527+
*/
528+
public function assertSamePathIgnoringDirectorySeparators($path_a, $path_b)
529+
{
530+
}
531+
/**
532+
* Normalize directory separators in a file path to be a forward slash.
533+
*
534+
* @since 6.7.0
535+
*
536+
* @param string $path File or directory path.
537+
* @return string The normalized file or directory path.
538+
*/
539+
public function normalizeDirectorySeparatorsInPath($path)
540+
{
541+
}
517542
/**
518543
* Checks each of the WP_Query is_* functions/properties against expected boolean value.
519544
*

0 commit comments

Comments
 (0)