diff --git a/CodeIgniterTarget.php b/CodeIgniterTarget.php index 23ac362..82da16e 100644 --- a/CodeIgniterTarget.php +++ b/CodeIgniterTarget.php @@ -9,7 +9,6 @@ * */ - final class CodeIgniterTarget extends PerfTarget { public function __construct( private PerfOptions $options, diff --git a/DatabaseInstaller.php b/DatabaseInstaller.php index 5b1e5b2..5bcffd3 100644 --- a/DatabaseInstaller.php +++ b/DatabaseInstaller.php @@ -9,7 +9,6 @@ * */ - final class DatabaseInstaller { private ?string $databaseName; private ?string $dumpFile; diff --git a/Drupal7Target.php b/Drupal7Target.php index 6da297c..fe5bc91 100644 --- a/Drupal7Target.php +++ b/Drupal7Target.php @@ -9,7 +9,6 @@ * */ - final class Drupal7Target extends PerfTarget { public function __construct( private PerfOptions $options, diff --git a/FibonacciTarget.php b/FibonacciTarget.php index 47e5a0a..2454d75 100644 --- a/FibonacciTarget.php +++ b/FibonacciTarget.php @@ -9,7 +9,6 @@ * */ - final class FibonacciTarget extends PerfTarget { public function getSanityCheckPath(): string { return '/fibonacci.php'; diff --git a/HHVMDaemon.php b/HHVMDaemon.php index 31c7cd7..80ec19a 100644 --- a/HHVMDaemon.php +++ b/HHVMDaemon.php @@ -9,7 +9,6 @@ * */ - final class HHVMDaemon extends PHPEngine { private PerfTarget $target; diff --git a/HelloWorldTarget.php b/HelloWorldTarget.php index 04648a8..0c8a757 100644 --- a/HelloWorldTarget.php +++ b/HelloWorldTarget.php @@ -9,7 +9,6 @@ * */ - final class HelloWorldTarget extends PerfTarget { public function getSanityCheckPath(): string { return '/helloworld.php'; diff --git a/LaravelTarget.php b/LaravelTarget.php index 8f4ddc7..07e9e08 100644 --- a/LaravelTarget.php +++ b/LaravelTarget.php @@ -9,7 +9,6 @@ * */ - final class LaravelTarget extends PerfTarget { public function __construct( private PerfOptions $options, diff --git a/Magento1Target.php b/Magento1Target.php index c188acb..508fbc4 100644 --- a/Magento1Target.php +++ b/Magento1Target.php @@ -9,7 +9,6 @@ * */ - final class Magento1Target extends PerfTarget { private DatabaseInstaller $installer; diff --git a/NginxDaemon.php b/NginxDaemon.php index a6fe909..771711a 100644 --- a/NginxDaemon.php +++ b/NginxDaemon.php @@ -9,7 +9,6 @@ * */ - final class NginxDaemon extends Process { public function __construct( diff --git a/PHP5Daemon.php b/PHP5Daemon.php index cbc77ac..e20e7d6 100644 --- a/PHP5Daemon.php +++ b/PHP5Daemon.php @@ -9,7 +9,6 @@ * */ - final class PHP5Daemon extends PHPEngine { private PerfTarget $target; diff --git a/PHPEngine.php b/PHPEngine.php index f4ec65e..22bdea5 100644 --- a/PHPEngine.php +++ b/PHPEngine.php @@ -9,6 +9,5 @@ * */ - abstract class PHPEngine extends Process { } diff --git a/PerfOptions.php b/PerfOptions.php index 4f4921e..d6453ef 100644 --- a/PerfOptions.php +++ b/PerfOptions.php @@ -9,7 +9,6 @@ * */ - final class PerfOptions { public bool $help; public bool $verbose; @@ -127,7 +126,6 @@ public function __construct($argv) { $this->notBenchmarking = array_key_exists('i-am-not-benchmarking', $o); - // If any arguments below here are given, then the "standard // semantics" have changed, and any results are potentially not // consistent with the benchmark standards for HHVM. You can only diff --git a/PerfTarget.php b/PerfTarget.php index fb37efb..de64b48 100644 --- a/PerfTarget.php +++ b/PerfTarget.php @@ -9,7 +9,6 @@ * */ - abstract class PerfTarget { public function install(): void { } diff --git a/Siege.php b/Siege.php index a1beedf..69e1489 100644 --- a/Siege.php +++ b/Siege.php @@ -9,7 +9,6 @@ * */ - final class Siege extends Process { use SiegeStats; diff --git a/SiegeStats.php b/SiegeStats.php index 05c016a..dc1d4e0 100644 --- a/SiegeStats.php +++ b/SiegeStats.php @@ -9,7 +9,6 @@ * */ - trait SiegeStats { abstract protected function getLogFilePath(): string; diff --git a/SugarCRMTarget.php b/SugarCRMTarget.php index ca4bedd..c0c08ea 100644 --- a/SugarCRMTarget.php +++ b/SugarCRMTarget.php @@ -9,7 +9,6 @@ * */ - final class SugarCRMTarget extends PerfTarget { public function __construct( private PerfOptions $options, diff --git a/WordpressTarget.php b/WordpressTarget.php index 3e3be7e..781b87d 100644 --- a/WordpressTarget.php +++ b/WordpressTarget.php @@ -9,7 +9,6 @@ * */ - final class WordpressTarget extends PerfTarget { public function __construct( diff --git a/perf.php b/perf.php index 35724cd..f4ae2ff 100644 --- a/perf.php +++ b/perf.php @@ -9,7 +9,6 @@ * */ - function check_cpufreq(): void { $sys_cpu_root = '/sys/devices/system/cpu'; if (file_exists($sys_cpu_root)) {