Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Commit

Permalink
Merge pull request #436 from magnetik/final
Browse files Browse the repository at this point in the history
Make some class final
  • Loading branch information
alexislefebvre committed Jul 17, 2018
2 parents 2e6f7fb + 294f812 commit 15ec5ab
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Annotations/QueryCount.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @Annotation
* @Target({"METHOD"})
*/
class QueryCount
final class QueryCount
{
/** @var int */
public $maxQueries;
Expand Down
2 changes: 1 addition & 1 deletion src/EventListener/ExceptionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\KernelEvents;

class ExceptionListener implements EventSubscriberInterface
final class ExceptionListener implements EventSubscriberInterface
{
/**
* @var \Exception|null
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/AllowedQueriesExceededException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@

namespace Liip\FunctionalTestBundle\Exception;

class AllowedQueriesExceededException extends \Exception
final class AllowedQueriesExceededException extends \Exception
{
}
2 changes: 1 addition & 1 deletion src/QueryCounter.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use Liip\FunctionalTestBundle\Annotations\QueryCount;
use Liip\FunctionalTestBundle\Exception\AllowedQueriesExceededException;

class QueryCounter
final class QueryCounter
{
/** @var int */
private $defaultMaxCount;
Expand Down
2 changes: 1 addition & 1 deletion src/Services/DatabaseBackup/MongodbDatabaseBackup.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* @author Aleksey Tupichenkov <alekseytupichenkov@gmail.com>
*/
class MongodbDatabaseBackup extends AbstractDatabaseBackup implements DatabaseBackupInterface
final class MongodbDatabaseBackup extends AbstractDatabaseBackup implements DatabaseBackupInterface
{
protected static $referenceData;

Expand Down
2 changes: 1 addition & 1 deletion src/Services/DatabaseBackup/MysqlDatabaseBackup.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @author Aleksey Tupichenkov <alekseytupichenkov@gmail.com>
*/
class MysqlDatabaseBackup extends AbstractDatabaseBackup implements DatabaseBackupInterface
final class MysqlDatabaseBackup extends AbstractDatabaseBackup implements DatabaseBackupInterface
{
protected static $referenceData;

Expand Down
2 changes: 1 addition & 1 deletion src/Services/DatabaseBackup/SqliteDatabaseBackup.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @author Aleksey Tupichenkov <alekseytupichenkov@gmail.com>
*/
class SqliteDatabaseBackup extends AbstractDatabaseBackup implements DatabaseBackupInterface
final class SqliteDatabaseBackup extends AbstractDatabaseBackup implements DatabaseBackupInterface
{
public function getBackupFilePath(): string
{
Expand Down
2 changes: 1 addition & 1 deletion src/Services/DatabaseToolCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* @author Aleksey Tupichenkov <alekseytupichenkov@gmail.com>
*/
class DatabaseToolCollection
final class DatabaseToolCollection
{
private $container;

Expand Down
2 changes: 1 addition & 1 deletion src/Services/FixturesLoaderFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @author Aleksey Tupichenkov <alekseytupichenkov@gmail.com>
*/
class FixturesLoaderFactory
final class FixturesLoaderFactory
{
private $container;

Expand Down
2 changes: 1 addition & 1 deletion src/Services/SymfonyFixturesLoaderWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Doctrine\Bundle\FixturesBundle\Loader\SymfonyFixturesLoader;
use Doctrine\Common\DataFixtures\Loader;

class SymfonyFixturesLoaderWrapper extends Loader
final class SymfonyFixturesLoaderWrapper extends Loader
{
private $symfonyFixturesLoader;

Expand Down

0 comments on commit 15ec5ab

Please sign in to comment.