File tree Expand file tree Collapse file tree 2 files changed +2
-40
lines changed
Expand file tree Collapse file tree 2 files changed +2
-40
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Component \Form \Test ;
1313
14- use Symfony \Component \Form \Test \Traits \RunTestTrait ;
1514use Symfony \Component \Form \Tests \VersionAwareTest ;
1615
1716/**
2423 */
2524abstract 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 ();
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments