Skip to content

Commit e94627c

Browse files
committed
Moved tests around to group them (ref #3101)
1 parent 65aaa7c commit e94627c

File tree

3 files changed

+18
-22
lines changed

3 files changed

+18
-22
lines changed

src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.inc

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,6 @@ $foo =
7070
],
7171
];
7272

73-
// phpcs:set Generic.Arrays.ArrayIndent indent 2
74-
75-
$var = [
76-
1 => 'one',
77-
2 => 'two',
78-
/* three */ 3 => 'three',
79-
];
80-
81-
// phpcs:set Generic.Arrays.ArrayIndent indent 4
82-
8373
$foo = [
8474
'foo'
8575
. 'bar',
@@ -88,3 +78,11 @@ $foo = [
8878
'qux',
8979
],
9080
];
81+
82+
// phpcs:set Generic.Arrays.ArrayIndent indent 2
83+
84+
$var = [
85+
1 => 'one',
86+
2 => 'two',
87+
/* three */ 3 => 'three',
88+
];

src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.inc.fixed

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,6 @@ $foo =
7171
],
7272
];
7373

74-
// phpcs:set Generic.Arrays.ArrayIndent indent 2
75-
76-
$var = [
77-
1 => 'one',
78-
2 => 'two',
79-
/* three */ 3 => 'three',
80-
];
81-
82-
// phpcs:set Generic.Arrays.ArrayIndent indent 4
83-
8474
$foo = [
8575
'foo'
8676
. 'bar',
@@ -89,3 +79,11 @@ $foo = [
8979
'qux',
9080
],
9181
];
82+
83+
// phpcs:set Generic.Arrays.ArrayIndent indent 2
84+
85+
$var = [
86+
1 => 'one',
87+
2 => 'two',
88+
/* three */ 3 => 'three',
89+
];

src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ public function getErrorList()
3636
62 => 1,
3737
63 => 1,
3838
69 => 1,
39-
76 => 1,
4039
77 => 1,
4140
78 => 1,
4241
79 => 1,
42+
85 => 1,
43+
86 => 1,
4344
87 => 1,
4445
88 => 1,
45-
89 => 1,
4646
];
4747

4848
}//end getErrorList()

0 commit comments

Comments
 (0)