Skip to content

Commit 5ffa719

Browse files
localheinzsebastianbergmann
authored andcommitted
Fix: Remove unnecessary require_once
1 parent 843c197 commit 5ffa719

File tree

5 files changed

+0
-11
lines changed

5 files changed

+0
-11
lines changed

tests/end-to-end/cli/mycommand.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ $_SERVER['argv'][] = '--my-other-option';
99
$_SERVER['argv'][] = \realpath(__DIR__ . '/../../_files/BankAccountTest.php');
1010

1111
require_once __DIR__ . '/../../bootstrap.php';
12-
require_once __DIR__ . '/_files/MyCommand.php';
1312

1413
MyCommand::main();
1514
--EXPECTF--

tests/end-to-end/regression/GitHub/4232/Issue4232Test.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
*/
1010
namespace Foo\Bar;
1111

12-
require_once __DIR__ . '/ParentIssue4232Test.php';
13-
1412
final class Issue4232Test extends ParentIssue4232Test
1513
{
1614
public function testOne(): void

tests/end-to-end/regression/GitHub/74/Issue74Test.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ class Issue74Test extends TestCase
1313
{
1414
public function testCreateAndThrowNewExceptionInProcessIsolation(): void
1515
{
16-
require_once __DIR__ . '/NewException.php';
17-
1816
throw new NewException('Testing GH-74');
1917
}
2018
}

tests/end-to-end/regression/Trac/783/ChildSuite.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
*/
1010
use PHPUnit\Framework\TestSuite;
1111

12-
require_once 'OneTest.php';
13-
14-
require_once 'TwoTest.php';
15-
1612
class ChildSuite
1713
{
1814
public static function suite()

tests/end-to-end/regression/Trac/783/ParentSuite.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
*/
1010
use PHPUnit\Framework\TestSuite;
1111

12-
require_once 'ChildSuite.php';
13-
1412
class ParentSuite
1513
{
1614
public static function suite()

0 commit comments

Comments
 (0)