Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smoench committed Dec 17, 2020
1 parent 6c6f139 commit d213515
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
4 changes: 2 additions & 2 deletions tests/Compactor/PhpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class AClass
*/
public function aMethod()
{
\$test = true;# a comment
\$test = true;
}
}
PHP
Expand All @@ -130,7 +130,7 @@ class AClass
public function aMethod()
{
\$test = true;
}
}
}
PHP
];
Expand Down
16 changes: 4 additions & 12 deletions tests/Configuration/ConfigurationPhpCompactorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ public function providePhpContentsToCompact(): Generator
* @Acme(type = "function")
*/
function foo($x, $y): int {
// Compare the two values
return $x <=> $y;
}
PHP
Expand All @@ -253,8 +252,7 @@ function foo($x, $y): int {
*/
function foo($x, $y): int {
return $x <=> $y;
return $x <=> $y;
}
PHP
];
Expand Down Expand Up @@ -293,7 +291,6 @@ function foo($x, $y): int {
* @Acme(type = "function")
*/
function foo($x, $y): int {
// Compare the two values
return $x <=> $y;
}
PHP
Expand All @@ -315,8 +312,7 @@ function foo($x, $y): int {
*/
function foo($x, $y): int {
return $x <=> $y;
return $x <=> $y;
}
PHP
];
Expand Down Expand Up @@ -350,7 +346,6 @@ function foo($x, $y): int {
* @Acme(type = "function")
*/
function foo($x, $y): int {
// Compare the two values
return $x <=> $y;
}
PHP
Expand All @@ -372,8 +367,7 @@ function foo($x, $y): int {
*/
function foo($x, $y): int {
return $x <=> $y;
return $x <=> $y;
}
PHP
];
Expand All @@ -400,7 +394,6 @@ function foo($x, $y): int {
* @Acme(type = "function")
*/
function foo($x, $y): int {
// Compare the two values
return $x <=> $y;
}
PHP
Expand All @@ -422,8 +415,7 @@ function foo($x, $y): int {
*/
function foo($x, $y): int {
return $x <=> $y;
return $x <=> $y;
}
PHP
];
Expand Down

0 comments on commit d213515

Please sign in to comment.