mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests.
See #47632. git-svn-id: https://develop.svn.wordpress.org/trunk@45588 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -54,7 +54,8 @@ class Tests_Kses extends WP_UnitTestCase {
|
||||
$attr = "$name='$value'";
|
||||
$expected_attr = "$name='" . trim( $value, ';' ) . "'";
|
||||
} else {
|
||||
$attr = $expected_attr = $name;
|
||||
$attr = $name;
|
||||
$expected_attr = $name;
|
||||
}
|
||||
$string = "<a $attr>I link this</a>";
|
||||
$expect_string = "<a $expected_attr>I link this</a>";
|
||||
|
||||
Reference in New Issue
Block a user