Skip to content

Commit 4409296

Browse files
committed
make test php7.4 compliant
1 parent ea3aef4 commit 4409296

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/lib/PhpCsFixer/Rule/MultilineParametersFixerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ function test(
8181
yield 'constructor with properties should be split' => [
8282
'<?php
8383
class Test {
84-
public function __construct(private string $foo, private int $bar) {
84+
public function __construct(string $foo, int $bar) {
8585
}
8686
}',
8787
'<?php
8888
class Test {
8989
public function __construct(
90-
private string $foo,
91-
private int $bar
90+
string $foo,
91+
int $bar
9292
) {
9393
}
9494
}',

0 commit comments

Comments
 (0)