Skip to content

Commit 9bd569b

Browse files
committed
Add more tests based on suggestions from PR review
1 parent e21e8fb commit 9bd569b

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.1.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,8 @@ $foo = new MyClass(
172172
$obj,
173173
'getMethod',
174174
);
175+
176+
#[AttributeName(1, 2)]
177+
#[AttributeName(1,2)]
178+
179+
$callable = myCallable(...);

src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.1.inc.fixed

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,8 @@ $foo = new MyClass(
172172
$obj,
173173
'getMethod',
174174
);
175+
176+
#[AttributeName(1, 2)]
177+
#[AttributeName(1, 2)]
178+
179+
$callable = myCallable(...);

src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public function getErrorList($testFile='')
6565
155 => 1,
6666
162 => 2,
6767
170 => 1,
68+
177 => 1,
6869
];
6970

7071
default:

0 commit comments

Comments
 (0)