Skip to content

Commit bf27b0b

Browse files
author
smoench
committed
fix tests
1 parent 6c6f139 commit bf27b0b

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

tests/Compactor/PhpTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class AClass
111111
*/
112112
public function aMethod()
113113
{
114-
\$test = true;# a comment
114+
\$test = true;
115115
}
116116
}
117117
PHP
@@ -130,7 +130,7 @@ class AClass
130130
public function aMethod()
131131
{
132132
\$test = true;
133-
}
133+
}
134134
}
135135
PHP
136136
];

tests/Configuration/ConfigurationPhpCompactorTest.php

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ public function providePhpContentsToCompact(): Generator
231231
* @Acme(type = "function")
232232
*/
233233
function foo($x, $y): int {
234-
// Compare the two values
235234
return $x <=> $y;
236235
}
237236
PHP
@@ -253,8 +252,7 @@ function foo($x, $y): int {
253252
254253
*/
255254
function foo($x, $y): int {
256-
257-
return $x <=> $y;
255+
return $x <=> $y;
258256
}
259257
PHP
260258
];
@@ -293,7 +291,6 @@ function foo($x, $y): int {
293291
* @Acme(type = "function")
294292
*/
295293
function foo($x, $y): int {
296-
// Compare the two values
297294
return $x <=> $y;
298295
}
299296
PHP
@@ -316,7 +313,7 @@ function foo($x, $y): int {
316313
*/
317314
function foo($x, $y): int {
318315
319-
return $x <=> $y;
316+
return $x <=> $y;
320317
}
321318
PHP
322319
];
@@ -350,7 +347,6 @@ function foo($x, $y): int {
350347
* @Acme(type = "function")
351348
*/
352349
function foo($x, $y): int {
353-
// Compare the two values
354350
return $x <=> $y;
355351
}
356352
PHP
@@ -372,8 +368,7 @@ function foo($x, $y): int {
372368
373369
*/
374370
function foo($x, $y): int {
375-
376-
return $x <=> $y;
371+
return $x <=> $y;
377372
}
378373
PHP
379374
];
@@ -400,7 +395,6 @@ function foo($x, $y): int {
400395
* @Acme(type = "function")
401396
*/
402397
function foo($x, $y): int {
403-
// Compare the two values
404398
return $x <=> $y;
405399
}
406400
PHP
@@ -422,8 +416,7 @@ function foo($x, $y): int {
422416
423417
*/
424418
function foo($x, $y): int {
425-
426-
return $x <=> $y;
419+
return $x <=> $y;
427420
}
428421
PHP
429422
];

0 commit comments

Comments
 (0)