Remove dead tests fixtures

This commit is contained in:
Thomas Calvet 2019-07-21 19:35:01 +02:00
parent f6d6931fff
commit 016a214bc5
8 changed files with 0 additions and 156 deletions

View File

@ -1,21 +0,0 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace TestBundle\Fabpot\FooBundle\Controller;
/**
* DefaultController.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class DefaultController
{
}

View File

@ -1,30 +0,0 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace TestBundle\Fabpot\FooBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Bundle.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class FabpotFooBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function getParent()
{
return 'SensioFooBundle';
}
}

View File

@ -148,10 +148,3 @@ class AddSecurityVotersPassTest extends TestCase
$compilerPass->process($container);
}
}
class VoterWithoutInterface
{
public function vote()
{
}
}

View File

@ -1,18 +0,0 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionAbsentBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class ExtensionAbsentBundle extends Bundle
{
}

View File

@ -1,22 +0,0 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\Command;
use Symfony\Component\Console\Command\Command;
class FooCommand extends Command
{
protected function configure()
{
$this->setName('foo');
}
}

View File

@ -605,14 +605,6 @@ class DummyReceiver implements ReceiverInterface
}
}
class InvalidReceiver
{
}
class InvalidSender
{
}
class UndefinedMessageHandler
{
public function __invoke(UndefinedMessage $message)

View File

@ -1,42 +0,0 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\PropertyInfo\Tests\Fixtures;
class Php71DummyParent
{
public $string;
public function __construct(string $string)
{
$this->string = $string;
}
}
class Php71DummyChild extends Php71DummyParent
{
public function __construct(string $string)
{
parent::__construct($string);
}
}
class Php71DummyChild2 extends Php71DummyParent
{
}
class Php71DummyChild3 extends Php71DummyParent
{
public function __construct()
{
parent::__construct('hello');
}
}

View File

@ -91,11 +91,3 @@ class UserValueResolverTest extends TestCase
$this->assertSame([null], $argumentResolver->getArguments(Request::create('/'), function (UserInterface $user = null) {}));
}
}
abstract class DummyUser implements UserInterface
{
}
abstract class DummySubUser extends DummyUser
{
}