Skip to content

Commit 222a0e4

Browse files
committed
Remove RunTestTrait
1 parent e7bb106 commit 222a0e4

File tree

2 files changed

+2
-40
lines changed

2 files changed

+2
-40
lines changed

Test/FormPerformanceTestCase.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\Form\Test;
1313

14-
use Symfony\Component\Form\Test\Traits\RunTestTrait;
1514
use Symfony\Component\Form\Tests\VersionAwareTest;
1615

1716
/**
@@ -24,12 +23,11 @@
2423
*/
2524
abstract class FormPerformanceTestCase extends FormIntegrationTestCase
2625
{
27-
use RunTestTrait;
2826
use VersionAwareTest;
2927

3028
protected int $maxRunningTime = 0;
3129

32-
private function doRunTest(): mixed
30+
protected function runTest(): mixed
3331
{
3432
$s = microtime(true);
3533
$result = parent::runTest();
@@ -45,7 +43,7 @@ private function doRunTest(): mixed
4543
/**
4644
* @throws \InvalidArgumentException
4745
*/
48-
public function setMaxRunningTime(int $maxRunningTime)
46+
public function setMaxRunningTime(int $maxRunningTime): void
4947
{
5048
if ($maxRunningTime < 0) {
5149
throw new \InvalidArgumentException();

Test/Traits/RunTestTrait.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)