minor #33964 Make Symfony\Contracts\Service\Test\ServiceLocatorTest abstract (reedy)

This PR was merged into the 4.3 branch.

Discussion
----------

Make Symfony\Contracts\Service\Test\ServiceLocatorTest abstract

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #33946
| License       | MIT

Commits
-------

c2dd804a24 Make Symfony\Contracts\Service\Test\ServiceLocatorTest abstract
This commit is contained in:
Nicolas Grekas 2019-10-12 11:16:01 +02:00
commit 6f54733a9c

View File

@ -15,9 +15,9 @@ use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
use Symfony\Contracts\Service\ServiceLocatorTrait;
class ServiceLocatorTest extends TestCase
abstract class ServiceLocatorTest extends TestCase
{
public function getServiceLocator(array $factories)
protected function getServiceLocator(array $factories)
{
return new class($factories) implements ContainerInterface {
use ServiceLocatorTrait;