Fix SonarQube code quality issues to improve rating from B to A

This commit is contained in:
2025-04-20 04:54:13 +01:00
parent cdd9b050c7
commit 04cdd49a3f
4 changed files with 33 additions and 176 deletions

View File

@@ -51,7 +51,7 @@ class Plugin {
public function __construct( $plugin_file, $version ) {
$this->plugin_file = $plugin_file;
$this->version = $version;
$this->core = new Core();
$this->core = new Core( $version );
$this->admin = new Admin( $this->core );
}