Skip to content

Commit edf8e07

Browse files
committed
tests: Replace call_user_func_array with real function call
Use modern syntax to unpack argument list Change-Id: I223a3b6fac36258b31c420d66373724889cdab34
1 parent 7e7ae48 commit edf8e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/suites/CSSJanusTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function testTransform( $input, $args, $output, $name ) {
5454
array_unshift( $args, $input );
5555
$this->assertEquals(
5656
$output,
57-
call_user_func_array( 'CSSJanus::transform', $args ),
57+
CSSJanus::transform( ...$args ),
5858
$name
5959
);
6060
}

0 commit comments

Comments
 (0)