Skip to content

Commit d33a6a9

Browse files
committed
Moved around tests due to PHP < 7.3 syntax error in tests
1 parent 2655740 commit d33a6a9

File tree

5 files changed

+68
-68
lines changed

5 files changed

+68
-68
lines changed

src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.inc

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,22 +1454,6 @@ return [
14541454
]),
14551455
];
14561456

1457-
return [
1458-
'lor' =>
1459-
<<<'INTRO'
1460-
lorem ipsum
1461-
INTRO,
1462-
'em' => [
1463-
[
1464-
'',
1465-
],
1466-
],
1467-
'abc' => [
1468-
'a' => 'wop wop',
1469-
'b' => 'ola ola.',
1470-
],
1471-
];
1472-
14731457
?>
14741458

14751459
<?php if (true) : ?>
@@ -1489,4 +1473,20 @@ $a = array(
14891473
*/
14901474
);
14911475

1476+
return [
1477+
'lor' =>
1478+
<<<'INTRO'
1479+
lorem ipsum
1480+
INTRO,
1481+
'em' => [
1482+
[
1483+
'',
1484+
],
1485+
],
1486+
'abc' => [
1487+
'a' => 'wop wop',
1488+
'b' => 'ola ola.',
1489+
],
1490+
];
1491+
14921492
echo ""

src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.inc.fixed

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,22 +1454,6 @@ return [
14541454
]),
14551455
];
14561456

1457-
return [
1458-
'lor' =>
1459-
<<<'INTRO'
1460-
lorem ipsum
1461-
INTRO,
1462-
'em' => [
1463-
[
1464-
'',
1465-
],
1466-
],
1467-
'abc' => [
1468-
'a' => 'wop wop',
1469-
'b' => 'ola ola.',
1470-
],
1471-
];
1472-
14731457
?>
14741458

14751459
<?php if (true) : ?>
@@ -1489,4 +1473,20 @@ $a = array(
14891473
*/
14901474
);
14911475

1476+
return [
1477+
'lor' =>
1478+
<<<'INTRO'
1479+
lorem ipsum
1480+
INTRO,
1481+
'em' => [
1482+
[
1483+
'',
1484+
],
1485+
],
1486+
'abc' => [
1487+
'a' => 'wop wop',
1488+
'b' => 'ola ola.',
1489+
],
1490+
];
1491+
14921492
echo ""

src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.2.inc

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,22 +1454,6 @@ return [
14541454
]),
14551455
];
14561456

1457-
return [
1458-
'lor' =>
1459-
<<<'INTRO'
1460-
lorem ipsum
1461-
INTRO,
1462-
'em' => [
1463-
[
1464-
'',
1465-
],
1466-
],
1467-
'abc' => [
1468-
'a' => 'wop wop',
1469-
'b' => 'ola ola.',
1470-
],
1471-
];
1472-
14731457
?>
14741458

14751459
<?php if (true) : ?>
@@ -1489,4 +1473,20 @@ $a = array(
14891473
*/
14901474
);
14911475

1476+
return [
1477+
'lor' =>
1478+
<<<'INTRO'
1479+
lorem ipsum
1480+
INTRO,
1481+
'em' => [
1482+
[
1483+
'',
1484+
],
1485+
],
1486+
'abc' => [
1487+
'a' => 'wop wop',
1488+
'b' => 'ola ola.',
1489+
],
1490+
];
1491+
14921492
echo ""

src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.2.inc.fixed

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,22 +1454,6 @@ return [
14541454
]),
14551455
];
14561456

1457-
return [
1458-
'lor' =>
1459-
<<<'INTRO'
1460-
lorem ipsum
1461-
INTRO,
1462-
'em' => [
1463-
[
1464-
'',
1465-
],
1466-
],
1467-
'abc' => [
1468-
'a' => 'wop wop',
1469-
'b' => 'ola ola.',
1470-
],
1471-
];
1472-
14731457
?>
14741458

14751459
<?php if (true) : ?>
@@ -1489,4 +1473,20 @@ $a = array(
14891473
*/
14901474
);
14911475

1476+
return [
1477+
'lor' =>
1478+
<<<'INTRO'
1479+
lorem ipsum
1480+
INTRO,
1481+
'em' => [
1482+
[
1483+
'',
1484+
],
1485+
],
1486+
'abc' => [
1487+
'a' => 'wop wop',
1488+
'b' => 'ola ola.',
1489+
],
1490+
];
1491+
14921492
echo ""

src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,10 @@ public function getErrorList($testFile='ScopeIndentUnitTest.inc')
178178
1340 => 1,
179179
1342 => 1,
180180
1345 => 1,
181-
1480 => 1,
182-
1481 => 1,
183-
1482 => 1,
184-
1483 => 1,
181+
1464 => 1,
182+
1465 => 1,
183+
1466 => 1,
184+
1467 => 1,
185185
];
186186

187187
}//end getErrorList()

0 commit comments

Comments
 (0)