minor #32647 [4.2] Remove dead tests fixtures (fancyweb)

This PR was merged into the 4.2 branch.

Discussion
----------

[4.2] Remove dead tests fixtures

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

More cleaning on 4.2.

Commits
-------

016a214bc5 Remove dead tests fixtures
This commit is contained in:
Fabien Potencier 2019-07-22 11:20:36 +02:00
commit 79a9bf1ec6
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
{
}