Skip to content

Commit 41be2f9

Browse files
committed
Make all internal classes final
1 parent 294e54d commit 41be2f9

12 files changed

Lines changed: 12 additions & 12 deletions

src/Profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Xhgui\Profiler\Profilers\ProfilerInterface;
77
use Xhgui\Profiler\Saver\SaverInterface;
88

9-
class Profiler
9+
final class Profiler
1010
{
1111
const SAVER_UPLOAD = 'upload';
1212
const SAVER_FILE = 'file';

src/Profilers/Tideways.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @see https://github.com/tideways/php-profiler-extension
1111
*/
12-
class Tideways extends AbstractProfiler
12+
final class Tideways extends AbstractProfiler
1313
{
1414
const EXTENSION_NAME = 'tideways';
1515

src/Profilers/TidewaysXHProf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @see https://github.com/tideways/php-profiler-extension
1111
*/
12-
class TidewaysXHProf extends AbstractProfiler
12+
final class TidewaysXHProf extends AbstractProfiler
1313
{
1414
const EXTENSION_NAME = 'tideways_xhprof';
1515

src/Profilers/UProfiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Xhgui\Profiler\ProfilingFlags;
66

7-
class UProfiler extends AbstractProfiler
7+
final class UProfiler extends AbstractProfiler
88
{
99
const EXTENSION_NAME = 'uprofiler';
1010

src/Profilers/XHProf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Xhgui\Profiler\ProfilingFlags;
66

7-
class XHProf extends AbstractProfiler
7+
final class XHProf extends AbstractProfiler
88
{
99
const EXTENSION_NAME = 'xhprof';
1010

src/ProfilingData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Xhgui\Profiler;
44

5-
class ProfilingData
5+
final class ProfilingData
66
{
77
/** @var array */
88
private $excludeEnv;

src/Saver/FileSaver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Xhgui\Profiler\Saver;
44

5-
class FileSaver implements SaverInterface
5+
final class FileSaver implements SaverInterface
66
{
77
/** @var string */
88
private $file;

src/Saver/MongoSaver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @property Xhgui_Saver_Mongo $saver
99
*/
10-
class MongoSaver extends AbstractSaver
10+
final class MongoSaver extends AbstractSaver
1111
{
1212
public function isSupported()
1313
{

src/Saver/PdoSaver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @property Xhgui_Saver_Pdo $saver
99
*/
10-
class PdoSaver extends AbstractSaver
10+
final class PdoSaver extends AbstractSaver
1111
{
1212
public function isSupported()
1313
{

src/Saver/StackSaver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* Supports saving to all savers, or to first successful one.
1111
*/
12-
class StackSaver implements SaverInterface
12+
final class StackSaver implements SaverInterface
1313
{
1414
/** @var array */
1515
private $savers;

0 commit comments

Comments
 (0)