Skip to content

Commit

Permalink
Merge pull request #6 from core23/develop
Browse files Browse the repository at this point in the history
[PATCH] Make test classes final
  • Loading branch information
core23 committed Jun 25, 2019
2 parents 1e62176 + c3f2cf9 commit 9b1eb28
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/Core23MenuBundleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use PHPUnit\Framework\TestCase;
use Symfony\Component\DependencyInjection\ContainerBuilder;

class Core23MenuBundleTest extends TestCase
final class Core23MenuBundleTest extends TestCase
{
public function testItIsInstantiable(): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;

class MenuCompilerPassTest extends TestCase
final class MenuCompilerPassTest extends TestCase
{
/**
* @var ContainerBuilder
Expand Down
2 changes: 1 addition & 1 deletion tests/DependencyInjection/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use PHPUnit\Framework\TestCase;
use Symfony\Component\Config\Definition\Processor;

class ConfigurationTest extends TestCase
final class ConfigurationTest extends TestCase
{
public function testOptions(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/DependencyInjection/Core23MenuExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Core23\MenuBundle\DependencyInjection\Core23MenuExtension;
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;

class Core23MenuExtensionTest extends AbstractExtensionTestCase
final class Core23MenuExtensionTest extends AbstractExtensionTestCase
{
public function testLoadDefault(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Menu/ConfigBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use PHPUnit\Framework\TestCase;
use Symfony\Component\Translation\TranslatorInterface;

class ConfigBuilderTest extends TestCase
final class ConfigBuilderTest extends TestCase
{
private $factory;

Expand Down
2 changes: 1 addition & 1 deletion tests/Provider/ConfigProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Knp\Menu\ItemInterface;
use PHPUnit\Framework\TestCase;

class ConfigProviderTest extends TestCase
final class ConfigProviderTest extends TestCase
{
private $configBuilder;

Expand Down

0 comments on commit 9b1eb28

Please sign in to comment.