Skip to content

[Form] Remove RunTestTrait #51889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/Symfony/Component/Form/Test/FormPerformanceTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Symfony\Component\Form\Test;

use Symfony\Component\Form\Test\Traits\RunTestTrait;
use Symfony\Component\Form\Tests\VersionAwareTest;

/**
Expand All @@ -24,12 +23,11 @@
*/
abstract class FormPerformanceTestCase extends FormIntegrationTestCase
{
use RunTestTrait;
use VersionAwareTest;

protected int $maxRunningTime = 0;

private function doRunTest(): mixed
protected function runTest(): mixed
{
$s = microtime(true);
$result = parent::runTest();
Expand All @@ -45,7 +43,7 @@ private function doRunTest(): mixed
/**
* @throws \InvalidArgumentException
*/
public function setMaxRunningTime(int $maxRunningTime)
public function setMaxRunningTime(int $maxRunningTime): void
{
if ($maxRunningTime < 0) {
throw new \InvalidArgumentException();
Expand Down
36 changes: 0 additions & 36 deletions src/Symfony/Component/Form/Test/Traits/RunTestTrait.php

This file was deleted.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy