Skip to content

Commit

Permalink
Moved around tests due to PHP < 7.3 syntax error in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Aug 21, 2020
1 parent 2655740 commit d33a6a9
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 68 deletions.
32 changes: 16 additions & 16 deletions src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1454,22 +1454,6 @@ return [
]),
];

return [
'lor' =>
<<<'INTRO'
lorem ipsum
INTRO,
'em' => [
[
'',
],
],
'abc' => [
'a' => 'wop wop',
'b' => 'ola ola.',
],
];

?>

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

return [
'lor' =>
<<<'INTRO'
lorem ipsum
INTRO,
'em' => [
[
'',
],
],
'abc' => [
'a' => 'wop wop',
'b' => 'ola ola.',
],
];

echo ""
Original file line number Diff line number Diff line change
Expand Up @@ -1454,22 +1454,6 @@ return [
]),
];

return [
'lor' =>
<<<'INTRO'
lorem ipsum
INTRO,
'em' => [
[
'',
],
],
'abc' => [
'a' => 'wop wop',
'b' => 'ola ola.',
],
];

?>

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

return [
'lor' =>
<<<'INTRO'
lorem ipsum
INTRO,
'em' => [
[
'',
],
],
'abc' => [
'a' => 'wop wop',
'b' => 'ola ola.',
],
];

echo ""
32 changes: 16 additions & 16 deletions src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.2.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1454,22 +1454,6 @@ return [
]),
];

return [
'lor' =>
<<<'INTRO'
lorem ipsum
INTRO,
'em' => [
[
'',
],
],
'abc' => [
'a' => 'wop wop',
'b' => 'ola ola.',
],
];

?>

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

return [
'lor' =>
<<<'INTRO'
lorem ipsum
INTRO,
'em' => [
[
'',
],
],
'abc' => [
'a' => 'wop wop',
'b' => 'ola ola.',
],
];

echo ""
Original file line number Diff line number Diff line change
Expand Up @@ -1454,22 +1454,6 @@ return [
]),
];

return [
'lor' =>
<<<'INTRO'
lorem ipsum
INTRO,
'em' => [
[
'',
],
],
'abc' => [
'a' => 'wop wop',
'b' => 'ola ola.',
],
];

?>

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

return [
'lor' =>
<<<'INTRO'
lorem ipsum
INTRO,
'em' => [
[
'',
],
],
'abc' => [
'a' => 'wop wop',
'b' => 'ola ola.',
],
];

echo ""
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ public function getErrorList($testFile='ScopeIndentUnitTest.inc')
1340 => 1,
1342 => 1,
1345 => 1,
1480 => 1,
1481 => 1,
1482 => 1,
1483 => 1,
1464 => 1,
1465 => 1,
1466 => 1,
1467 => 1,
];

}//end getErrorList()
Expand Down

0 comments on commit d33a6a9

Please sign in to comment.