Showing 26,336 of 26,336 total issues
The parameter $ExtractPalette is not named in camelCase. Open
public function getid3_bmp(&$BMPdata, &$ThisFileInfo, $ExtractPalette = false, $ExtractData = false)
{
// shortcuts
$ThisFileInfo['bmp']['header']['raw'] = 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 property $config_error_image_width is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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
Avoid variables with short names like $b. Configured minimum length is 3. Open
list($r, $g, $b) = $this->IntColor2RGB($color);
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
The property $config_nohotlink_text_message is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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 $config_cache_maxsize is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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 $config_high_security_enabled is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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
Avoid variables with short names like $wp. Configured minimum length is 3. Open
public $wp = null; // Width (Portrait Images Only)
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $ws. Configured minimum length is 3. Open
public $ws = null; // Width (Square Images Only)
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
The property $config_error_die_on_source_failure is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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 $config_cache_maxfiles is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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 $config_mysql_database is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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 $exif_thumbnail_width is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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 $config_mysql_query is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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 $thumbnail_image_width is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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 $config_http_user_agent is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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 $php_memory_limit is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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 $config_output_format is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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
Avoid variables with short names like $sy. Configured minimum length is 3. Open
public $sy = null; // Source crop top-left Y position
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
Avoid variables with short names like $hp. Configured minimum length is 3. Open
public $hp = null; // Height (Portrait Images Only)
- Read upRead up
- Exclude checks
ShortVariable
Since: 0.2
Detects when a field, local, or parameter has a very short name.
Example
class Something {
private $q = 15; // VIOLATION - Field
public static function main( array $as ) { // VIOLATION - Formal
$r = 20 + $this->q; // VIOLATION - Local
for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
$r += $this->q;
}
}
}
Source https://phpmd.org/rules/naming.html#shortvariable
The property $exif_raw_data is not named in camelCase. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- 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;
}