Skip to content

Commit 48e0471

Browse files
authored
Made all classes final (#56)
1 parent 052fb1c commit 48e0471

27 files changed

+27
-27
lines changed

src/DSN.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @see https://github.com/snc/SncRedisBundle/blob/master/DependencyInjection/Configuration/RedisDsn.php
1818
*/
19-
class DSN
19+
final class DSN
2020
{
2121
private static $PORTS = [
2222
'redis' => 6379,

src/DummyAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* @author Tobias Nyholm <[email protected]>
2121
*/
22-
class DummyAdapter implements CacheItemPoolInterface
22+
final class DummyAdapter implements CacheItemPoolInterface
2323
{
2424
public function getItem($key)
2525
{

src/Factory/ApcFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @author Tobias Nyholm <[email protected]>
1818
*/
19-
class ApcFactory extends AbstractAdapterFactory
19+
final class ApcFactory extends AbstractAdapterFactory
2020
{
2121
protected static $dependencies = [
2222
['requiredClass' => 'Cache\Adapter\Apc\ApcCachePool', 'packageName' => 'cache/apc-adapter'],

src/Factory/ApcuFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @author Tobias Nyholm <[email protected]>
1818
*/
19-
class ApcuFactory extends AbstractAdapterFactory
19+
final class ApcuFactory extends AbstractAdapterFactory
2020
{
2121
protected static $dependencies = [
2222
['requiredClass' => 'Cache\Adapter\Apcu\ApcuCachePool', 'packageName' => 'cache/apcu-adapter'],

src/Factory/ArrayFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* @author Tobias Nyholm <[email protected]>
2020
*/
21-
class ArrayFactory extends AbstractAdapterFactory
21+
final class ArrayFactory extends AbstractAdapterFactory
2222
{
2323
protected static $dependencies = [
2424
['requiredClass' => 'Cache\Adapter\PHPArray\ArrayCachePool', 'packageName' => 'cache/array-adapter'],

src/Factory/ChainFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* @author Aaron Scherer <[email protected]>
1919
*/
20-
class ChainFactory extends AbstractAdapterFactory
20+
final class ChainFactory extends AbstractAdapterFactory
2121
{
2222
protected static $dependencies = [
2323
['requiredClass' => 'Cache\Adapter\Chain\CachePoolChain', 'packageName' => 'cache/chain-adapter'],

src/Factory/DoctrineCouchbaseFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @author Tobias Nyholm <[email protected]>
2121
*/
22-
class DoctrineCouchbaseFactory extends AbstractDoctrineAdapterFactory
22+
final class DoctrineCouchbaseFactory extends AbstractDoctrineAdapterFactory
2323
{
2424
/**
2525
* {@inheritdoc}

src/Factory/DoctrineFilesystemFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* @author Tobias Nyholm <[email protected]>
2020
*/
21-
class DoctrineFilesystemFactory extends AbstractDoctrineAdapterFactory
21+
final class DoctrineFilesystemFactory extends AbstractDoctrineAdapterFactory
2222
{
2323
/**
2424
* {@inheritdoc}

src/Factory/DoctrineMemcacheFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @author Tobias Nyholm <[email protected]>
2121
*/
22-
class DoctrineMemcacheFactory extends AbstractDoctrineAdapterFactory
22+
final class DoctrineMemcacheFactory extends AbstractDoctrineAdapterFactory
2323
{
2424
/**
2525
* {@inheritdoc}

src/Factory/DoctrineMemcachedFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @author Tobias Nyholm <[email protected]>
2121
*/
22-
class DoctrineMemcachedFactory extends AbstractDoctrineAdapterFactory
22+
final class DoctrineMemcachedFactory extends AbstractDoctrineAdapterFactory
2323
{
2424
/**
2525
* {@inheritdoc}

0 commit comments

Comments
 (0)