Skip to content

Commit f7e24c2

Browse files
committed
Remove dead tests fixtures
1 parent aece546 commit f7e24c2

File tree

17 files changed

+0
-276
lines changed

17 files changed

+0
-276
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/AddConsoleCommandPassTest.php

-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Symfony\Component\Console\Command\Command;
1717
use Symfony\Component\DependencyInjection\ContainerBuilder;
1818
use Symfony\Component\DependencyInjection\Definition;
19-
use Symfony\Component\HttpKernel\Bundle\Bundle;
2019

2120
/**
2221
* @group legacy
@@ -123,7 +122,3 @@ public function testProcessPrivateServicesWithSameCommand()
123122
class MyCommand extends Command
124123
{
125124
}
126-
127-
class ExtensionPresentBundle extends Bundle
128-
{
129-
}

src/Symfony/Bundle/SecurityBundle/Tests/SecurityUserValueResolverTest.php

-8
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,3 @@ public function testIntegrationNoUser()
9191
$this->assertSame([null], $argumentResolver->getArguments(Request::create('/'), function (UserInterface $user = null) {}));
9292
}
9393
}
94-
95-
abstract class DummyUser implements UserInterface
96-
{
97-
}
98-
99-
abstract class DummySubUser extends DummyUser
100-
{
101-
}

src/Symfony/Component/Debug/Tests/MockExceptionHandler.php

-24
This file was deleted.

src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Component1/Dir3/Service3.php

-8
This file was deleted.

src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/Sub/NoLoadAbstractBar.php

-7
This file was deleted.

src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/Sub/NoLoadBarInterface.php

-7
This file was deleted.

src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/Sub/NoLoadBarTrait.php

-7
This file was deleted.

src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php

-14
Original file line numberDiff line numberDiff line change
@@ -116,20 +116,6 @@ public function __construct(CollisionInterface $collision)
116116
}
117117
}
118118

119-
class CannotBeAutowiredForwardOrder
120-
{
121-
public function __construct(CollisionA $a, CollisionInterface $b, CollisionB $c)
122-
{
123-
}
124-
}
125-
126-
class CannotBeAutowiredReverseOrder
127-
{
128-
public function __construct(CollisionA $a, CollisionB $c, CollisionInterface $b)
129-
{
130-
}
131-
}
132-
133119
class Lille
134120
{
135121
}

src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php

-11
Original file line numberDiff line numberDiff line change
@@ -1001,14 +1001,3 @@ public function __toString()
10011001
class DefaultResponse extends Response
10021002
{
10031003
}
1004-
1005-
class ExtendedResponse extends Response
1006-
{
1007-
public function setLastModified(\DateTime $date = null)
1008-
{
1009-
}
1010-
1011-
public function getDate()
1012-
{
1013-
}
1014-
}

src/Symfony/Component/HttpKernel/Tests/Fixtures/ExtensionLoadedBundle/DependencyInjection/ExtensionLoadedExtension.php

-22
This file was deleted.

src/Symfony/Component/HttpKernel/Tests/Fixtures/ExtensionLoadedBundle/ExtensionLoadedBundle.php

-18
This file was deleted.

src/Symfony/Component/HttpKernel/Tests/Fixtures/ExtensionPresentBundle/Command/BarCommand.php

-17
This file was deleted.

src/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php

-37
Original file line numberDiff line numberDiff line change
@@ -756,43 +756,6 @@ public function otherMethod()
756756
}
757757
}
758758

759-
class GetCamelizedDummy
760-
{
761-
private $kevinDunglas;
762-
private $fooBar;
763-
private $bar_foo;
764-
765-
public function __construct($kevinDunglas = null)
766-
{
767-
$this->kevinDunglas = $kevinDunglas;
768-
}
769-
770-
public function getKevinDunglas()
771-
{
772-
return $this->kevinDunglas;
773-
}
774-
775-
public function setFooBar($fooBar)
776-
{
777-
$this->fooBar = $fooBar;
778-
}
779-
780-
public function getFooBar()
781-
{
782-
return $this->fooBar;
783-
}
784-
785-
public function setBar_foo($bar_foo)
786-
{
787-
$this->bar_foo = $bar_foo;
788-
}
789-
790-
public function getBar_foo()
791-
{
792-
return $this->bar_foo;
793-
}
794-
}
795-
796759
class ObjectConstructorArgsWithPrivateMutatorDummy
797760
{
798761
private $foo;

src/Symfony/Component/Serializer/Tests/Normalizer/PropertyNormalizerTest.php

-12
Original file line numberDiff line numberDiff line change
@@ -497,18 +497,6 @@ public function getBar()
497497
}
498498
}
499499

500-
class PropertyCamelizedDummy
501-
{
502-
private $kevinDunglas;
503-
public $fooBar;
504-
public $bar_foo;
505-
506-
public function __construct($kevinDunglas = null)
507-
{
508-
$this->kevinDunglas = $kevinDunglas;
509-
}
510-
}
511-
512500
class StaticPropertyDummy
513501
{
514502
private static $property = 'value';

src/Symfony/Component/Validator/Tests/Fixtures/ConstraintAValidator.php

-37
This file was deleted.

src/Symfony/Component/Validator/Tests/Fixtures/FakeClassMetadata.php

-26
This file was deleted.

src/Symfony/Component/Validator/Tests/Fixtures/InvalidConstraintValidator.php

-16
This file was deleted.

0 commit comments

Comments
 (0)