diff --git a/CodeIgniterTarget.php b/CodeIgniterTarget.php index 807a422..23ac362 100644 --- a/CodeIgniterTarget.php +++ b/CodeIgniterTarget.php @@ -9,7 +9,6 @@ * */ -require_once('PerfTarget.php'); final class CodeIgniterTarget extends PerfTarget { public function __construct( diff --git a/DatabaseInstaller.php b/DatabaseInstaller.php index 9d63681..5b1e5b2 100644 --- a/DatabaseInstaller.php +++ b/DatabaseInstaller.php @@ -9,8 +9,6 @@ * */ -require_once('PerfOptions.php'); -require_once('Utils.php'); final class DatabaseInstaller { private ?string $databaseName; diff --git a/Drupal7Target.php b/Drupal7Target.php index 2283d20..6da297c 100644 --- a/Drupal7Target.php +++ b/Drupal7Target.php @@ -9,8 +9,6 @@ * */ -require_once('DatabaseInstaller.php'); -require_once('PerfTarget.php'); final class Drupal7Target extends PerfTarget { public function __construct( diff --git a/FibonacciTarget.php b/FibonacciTarget.php index 9413bb3..47e5a0a 100644 --- a/FibonacciTarget.php +++ b/FibonacciTarget.php @@ -9,7 +9,6 @@ * */ -require_once('PerfTarget.php'); final class FibonacciTarget extends PerfTarget { public function getSanityCheckPath(): string { diff --git a/HHVMDaemon.php b/HHVMDaemon.php index 4f379bb..31c7cd7 100644 --- a/HHVMDaemon.php +++ b/HHVMDaemon.php @@ -9,10 +9,6 @@ * */ -require_once('PerfOptions.php'); -require_once('PerfSettings.php'); -require_once('PHPEngine.php'); -require_once('Process.php'); final class HHVMDaemon extends PHPEngine { private PerfTarget $target; diff --git a/HelloWorldTarget.php b/HelloWorldTarget.php index ed6180e..04648a8 100644 --- a/HelloWorldTarget.php +++ b/HelloWorldTarget.php @@ -9,7 +9,6 @@ * */ -require_once('PerfTarget.php'); final class HelloWorldTarget extends PerfTarget { public function getSanityCheckPath(): string { diff --git a/LaravelTarget.php b/LaravelTarget.php index 4c64e79..8f4ddc7 100644 --- a/LaravelTarget.php +++ b/LaravelTarget.php @@ -9,7 +9,6 @@ * */ -require_once('PerfTarget.php'); final class LaravelTarget extends PerfTarget { public function __construct( diff --git a/Magento1Target.php b/Magento1Target.php index 38a232d..c188acb 100644 --- a/Magento1Target.php +++ b/Magento1Target.php @@ -9,8 +9,6 @@ * */ -require_once('DatabaseInstaller.php'); -require_once('PerfTarget.php'); final class Magento1Target extends PerfTarget { private DatabaseInstaller $installer; diff --git a/NginxDaemon.php b/NginxDaemon.php index c63f803..a6fe909 100644 --- a/NginxDaemon.php +++ b/NginxDaemon.php @@ -9,9 +9,6 @@ * */ -require_once('PerfOptions.php'); -require_once('PerfSettings.php'); -require_once('Process.php'); final class NginxDaemon extends Process { diff --git a/PHP5Daemon.php b/PHP5Daemon.php index 7630f7e..cbc77ac 100644 --- a/PHP5Daemon.php +++ b/PHP5Daemon.php @@ -9,9 +9,6 @@ * */ -require_once('PerfOptions.php'); -require_once('PerfSettings.php'); -require_once('PHPEngine.php'); final class PHP5Daemon extends PHPEngine { private PerfTarget $target; diff --git a/PHPEngine.php b/PHPEngine.php index 052ccfb..f4ec65e 100644 --- a/PHPEngine.php +++ b/PHPEngine.php @@ -9,7 +9,6 @@ * */ -require('Process.php'); abstract class PHPEngine extends Process { } diff --git a/PerfOptions.php b/PerfOptions.php index a2d95d1..4f4921e 100644 --- a/PerfOptions.php +++ b/PerfOptions.php @@ -9,14 +9,6 @@ * */ -require_once('CodeIgniterTarget.php'); -require_once('Drupal7Target.php'); -require_once('FibonacciTarget.php'); -require_once('HelloWorldTarget.php'); -require_once('LaravelTarget.php'); -require_once('SugarCRMTarget.php'); -require_once('WordpressTarget.php'); -require_once('Magento1Target.php'); final class PerfOptions { public bool $help; diff --git a/PerfTarget.php b/PerfTarget.php index 315b3bc..fb37efb 100644 --- a/PerfTarget.php +++ b/PerfTarget.php @@ -9,7 +9,6 @@ * */ -require_once('Utils.php'); abstract class PerfTarget { public function install(): void { } diff --git a/Siege.php b/Siege.php index 89f5dd6..a1beedf 100644 --- a/Siege.php +++ b/Siege.php @@ -9,11 +9,6 @@ * */ -require_once('PerfOptions.php'); -require_once('PerfSettings.php'); -require_once('Process.php'); -require_once('RequestMode.php'); -require_once('SiegeStats.php'); final class Siege extends Process { use SiegeStats; diff --git a/SiegeStats.php b/SiegeStats.php index e5068a3..05c016a 100644 --- a/SiegeStats.php +++ b/SiegeStats.php @@ -9,7 +9,6 @@ * */ -require('SiegeFields.php'); trait SiegeStats { abstract protected function getLogFilePath(): string; diff --git a/SugarCRMTarget.php b/SugarCRMTarget.php index 9fc31cb..ca4bedd 100644 --- a/SugarCRMTarget.php +++ b/SugarCRMTarget.php @@ -9,8 +9,6 @@ * */ -require_once('DatabaseInstaller.php'); -require_once('PerfTarget.php'); final class SugarCRMTarget extends PerfTarget { public function __construct( diff --git a/WordpressTarget.php b/WordpressTarget.php index c89ec22..3e3be7e 100644 --- a/WordpressTarget.php +++ b/WordpressTarget.php @@ -9,8 +9,6 @@ * */ -require_once('DatabaseInstaller.php'); -require_once('PerfTarget.php'); final class WordpressTarget extends PerfTarget { diff --git a/perf.php b/perf.php index 339ee3a..35724cd 100644 --- a/perf.php +++ b/perf.php @@ -9,11 +9,6 @@ * */ -require_once('HHVMDaemon.php'); -require_once('PHP5Daemon.php'); -require_once('NginxDaemon.php'); -require_once('PerfOptions.php'); -require_once('Siege.php'); function check_cpufreq(): void { $sys_cpu_root = '/sys/devices/system/cpu';