Showing 85 of 85 total issues
The variable $sub_dir is not named in camelCase. Open
public function readDirRecursive( $dir, $pattern ) {
$sub_dirs = glob( $dir . '/*', \GLOB_ONLYDIR );
$files = array();
if ( ! empty( $sub_dirs ) ) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $base_dir is not named in camelCase. Open
public static function init( $base_dir = '' ) {
if ( self::$is_loaded )
return;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $base_ns is not named in camelCase. Open
function __construct( $base_dir, $base_ns = '', Loader\FileLoaderInterface $file_loader = NULL ) {
// trim potential trailing slashes
$this->base_dir = rtrim( (string) $base_dir, '\\/' );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $base_ns is not named in camelCase. Open
function __construct( $base_dir, $base_ns = '', Loader\FileLoaderInterface $file_loader = NULL ) {
// trim potential trailing slashes
$this->base_dir = rtrim( (string) $base_dir, '\\/' );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_data is not named in camelCase. Open
public function filter_data( $data ) {
$_data = $data->data;
$filtered_data = new Filter( $this->request, $_data );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $filtered_data is not named in camelCase. Open
public function filter_data( $data ) {
$_data = $data->data;
$filtered_data = new Filter( $this->request, $_data );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $filtered_data is not named in camelCase. Open
public function filter_data( $data ) {
$_data = $data->data;
$filtered_data = new Filter( $this->request, $_data );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $base_ns is not named in camelCase. Open
function __construct( $base_dir, $base_ns = '', Loader\FileLoaderInterface $file_loader = NULL ) {
// trim potential trailing slashes
$this->base_dir = rtrim( (string) $base_dir, '\\/' );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $sub_dirs is not named in camelCase. Open
public function readDirRecursive( $dir, $pattern ) {
$sub_dirs = glob( $dir . '/*', \GLOB_ONLYDIR );
$files = array();
if ( ! empty( $sub_dirs ) ) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_data is not named in camelCase. Open
public function filter_data( $data ) {
$_data = $data->data;
$filtered_data = new Filter( $this->request, $_data );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $base_ns is not named in camelCase. Open
function __construct( $base_dir, $base_ns = '', Loader\FileLoaderInterface $file_loader = NULL ) {
// trim potential trailing slashes
$this->base_dir = rtrim( (string) $base_dir, '\\/' );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_data is not named in camelCase. Open
public function filter_data( $data ) {
$_data = $data->data;
$filtered_data = new Filter( $this->request, $_data );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $base_dir is not named in camelCase. Open
public static function init( $base_dir = '' ) {
if ( self::$is_loaded )
return;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $base_ns is not named in camelCase. Open
function __construct( $base_dir, $base_ns = '', Loader\FileLoaderInterface $file_loader = NULL ) {
// trim potential trailing slashes
$this->base_dir = rtrim( (string) $base_dir, '\\/' );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $base_ns is not named in camelCase. Open
function __construct( $base_dir, $base_ns = '', Loader\FileLoaderInterface $file_loader = NULL ) {
// trim potential trailing slashes
$this->base_dir = rtrim( (string) $base_dir, '\\/' );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $file_loader is not named in camelCase. Open
function __construct( $base_dir, $base_ns = '', Loader\FileLoaderInterface $file_loader = NULL ) {
// trim potential trailing slashes
$this->base_dir = rtrim( (string) $base_dir, '\\/' );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $filtered_data is not named in camelCase. Open
public function filter_data( $data ) {
$_data = $data->data;
$filtered_data = new Filter( $this->request, $_data );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $filtered_data is not named in camelCase. Open
public function filter_data( $data ) {
$_data = $data->data;
$filtered_data = new Filter( $this->request, $_data );
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The method filter_data is not named in camelCase. Open
public function filter_data( $data ) {
$_data = $data->data;
$filtered_data = new Filter( $this->request, $_data );
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method set_filter is not named in camelCase. Open
public function set_filter() {
new Items\Post();
new Items\Taxonomy();
new Items\Comments();
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}