Showing 2,255 of 2,255 total issues
The property $backup_group is not named in camelCase. Open
class Instance
{
const TYPES = 'local,ftp,ssh';
const SQL_SELECT_INSTANCE = <<<SQL
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $backup_user is not named in camelCase. Open
class Instance
{
const TYPES = 'local,ftp,ssh';
const SQL_SELECT_INSTANCE = <<<SQL
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $last_revision_date is not named in camelCase. Open
class Instance
{
const TYPES = 'local,ftp,ssh';
const SQL_SELECT_INSTANCE = <<<SQL
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $RSYNC_ERRORS is not named in camelCase. Open
class BackupCopyException extends \Exception
{
const RSYNC_ERROR = 1;
private $RSYNC_ERRORS = [
0 => 'Success',
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The parameter $exclude_blank is not named in camelCase. Open
public static function getInstances($exclude_blank = false)
{
$result = query(self::SQL_SELECT_INSTANCE);
$instances = [];
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $version_id is not named in camelCase. Open
public static function validate($version_id, $current_checksums = [])
{
$newFiles = [];
$modifiedFiles = [];
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $version_id is not named in camelCase. Open
public static function replaceFile($version_id, $hash, $filename)
{
self::removeFile($version_id, $filename);
return self::addFile($version_id, $hash, $filename);
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $version_id is not named in camelCase. Open
public static function addFiles($version_id, $hashFiles = [])
{
query('BEGIN TRANSACTION');
foreach ($hashFiles as $hashFile) {
list($hash, $filename) = $hashFile;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $version_id is not named in camelCase. Open
public static function replaceFiles($version_id, $hashFiles)
{
query('BEGIN TRANSACTION');
foreach ($hashFiles as $hashFile) {
list($hash, $filename) = $hashFile;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $version_id is not named in camelCase. Open
public static function hasChecksums($version_id)
{
$args = [':id' => $version_id];
$result = query(self::SQL_SELECT_FILE_COUNT_BY_VERSION, $args);
return ($result->fetchColumn() > 0);
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $version_id is not named in camelCase. Open
public static function getChecksums($version_id)
{
$map = [];
$result = query(self::SQL_SELECT_FILE_MAP, [':v' => $version_id]);
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $current_checksums is not named in camelCase. Open
public static function validate($version_id, $current_checksums = [])
{
$newFiles = [];
$modifiedFiles = [];
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $db_local_path is not named in camelCase. Open
public static function getInstanceDataBaseConfig($db_local_path)
{
$getConfig = function ($db_local_path) {
include($db_local_path);
return array(
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $version_id is not named in camelCase. Open
public static function addFile($version_id, $hash, $filename)
{
$args = [
':version' => $version_id,
':path' => $filename,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $version_id is not named in camelCase. Open
public static function removeFile($version_id, $filename)
{
$args = [':v' => $version_id, ':p' => $filename];
return query(self::SQL_DELETE_FILE, $args);
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $version_id is not named in camelCase. Open
public static function saveChecksums($version_id, $entries)
{
query('BEGIN TRANSACTION');
foreach ($entries as $parts) {
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $db_local_path is not named in camelCase. Open
public static function createFromConfig($instance, $db_local_path)
{
if (! (file_exists($db_local_path) && filesize($db_local_path) > 0)) {
return null;
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $wrapped_methods is not named in camelCase. Open
class Wrapper
{
private $wrapped_object;
private $wrapped_properties;
private $wrapped_methods;
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $wrapped_object is not named in camelCase. Open
class Wrapper
{
private $wrapped_object;
private $wrapped_properties;
private $wrapped_methods;
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The parameter $should_set is not named in camelCase. Open
function secure_trim_data($should_set = false)
{
$modes = ['---', '--x', '-w-', '-wx', 'r--', 'r-x', 'rw-', 'rwx'];
$stat = stat($_ENV['TRIM_DATA']);
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}