Fix indentation issues in PHP files

- Fixed tabs vs spaces indentation issues in PHP files
- Updated phpcs.xml configuration
This commit is contained in:
2025-04-21 15:01:09 +01:00
parent 398d24ed90
commit 200cc5671d
6 changed files with 184 additions and 184 deletions

View File

@@ -14,51 +14,51 @@ use WPALLSTARS\PluginStarterTemplate\Admin\Admin;
*/
class Plugin {
/**
* Core instance
*
* @var Core
*/
private $core;
/**
* Core instance
*
* @var Core
*/
private $core;
/**
* Admin instance
*
* @var Admin
*/
private $admin;
/**
* Admin instance
*
* @var Admin
*/
private $admin;
/**
* Plugin file
*
* @var string
*/
private $plugin_file;
/**
* Plugin file
*
* @var string
*/
private $plugin_file;
/**
* Plugin version
*
* @var string
*/
private $version;
/**
* Plugin version
*
* @var string
*/
private $version;
/**
* Constructor
*
* @param string $plugin_file Main plugin file path.
* @param string $version Plugin version.
*/
public function __construct( $plugin_file, $version ) {
$this->plugin_file = $plugin_file;
$this->version = $version;
$this->core = new Core( $version );
$this->admin = new Admin( $this->core );
}
/**
* Constructor
*
* @param string $plugin_file Main plugin file path.
* @param string $version Plugin version.
*/
public function __construct( $plugin_file, $version ) {
$this->plugin_file = $plugin_file;
$this->version = $version;
$this->core = new Core( $version );
$this->admin = new Admin( $this->core );
}
/**
* Initialize the plugin
*/
public function init() {
// Initialization logic goes here.
}
/**
* Initialize the plugin
*/
public function init() {
// Initialization logic goes here.
}
}