Fix SonarQube code quality issues to improve rating from B to A
This commit is contained in:
1 parent
cdd9b050c7
commit
04cdd49a3f
4 files changed
+33
-176
No files matched your search
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user