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

@@ -12,39 +12,39 @@ namespace WPALLSTARS\PluginStarterTemplate;
*/
class Core {
/**
* Plugin version
*
* @var string
*/
private $version;
/**
* Plugin version
*
* @var string
*/
private $version;
/**
* Constructor
*
* @param string $version Plugin version.
*/
public function __construct( $version = '' ) {
// Initialize hooks.
$this->version = $version;
}
/**
* Constructor
*
* @param string $version Plugin version.
*/
public function __construct( $version = '' ) {
// Initialize hooks.
$this->version = $version;
}
/**
* Example method to filter content
*
* @param string $content The content to filter.
* @return string The filtered content.
*/
public function filter_content( $content ) {
return $content;
}
/**
* Example method to filter content
*
* @param string $content The content to filter.
* @return string The filtered content.
*/
public function filter_content( $content ) {
return $content;
}
/**
* Get the plugin version
*
* @return string The plugin version.
*/
public function get_plugin_version() {
return $this->version;
}
/**
* Get the plugin version
*
* @return string The plugin version.
*/
public function get_plugin_version() {
return $this->version;
}
}