Showing 9,653 of 9,653 total issues
The variable $new_y is not named in camelCase. Open
public function _resize($new_x, $new_y, $options = null)
{
if (!imagick_resize($this->imageHandle, $new_x, $new_y, IMAGICK_FILTER_UNKNOWN, 1, '!')) {
return $this->raiseError('Couldn\'t resize image.', IMAGE_TRANSFORM_ERROR_FAILED);
}
- 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 $new_y is not named in camelCase. Open
public function _resize($new_x, $new_y, $options = null)
{
if (!imagick_resize($this->imageHandle, $new_x, $new_y, IMAGICK_FILTER_UNKNOWN, 1, '!')) {
return $this->raiseError('Couldn\'t resize image.', IMAGE_TRANSFORM_ERROR_FAILED);
}
- 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 $new_x is not named in camelCase. Open
public function _resize($new_x, $new_y, $options = null)
{
try {
$scaleMethod = $this->_getOption('scaleMethod', $options, 'smooth');
$blur = ('pixel' == $scaleMethod) ? 0 : 1;
- 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 $new_x is not named in camelCase. Open
public function rotate($angle)
{
$this->oldHandle = $this->imageHandle;
$this->imageHandle = imlib_create_rotated_image($this->imageHandle, $angle);
$new_x = imlib_image_get_width($this->imageHandle);
- 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 $y_pos is not named in camelCase. Open
public function rotate($angle)
{
$this->oldHandle = $this->imageHandle;
$this->imageHandle = imlib_create_rotated_image($this->imageHandle, $angle);
$new_x = imlib_image_get_width($this->imageHandle);
- 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 $new_x is not named in camelCase. Open
public function _resize($new_x, $new_y, $options = null)
{
// there's no technical reason why resize can't be called multiple
// times...it's just silly to do so
$scaleMethod = $this->_getOption('scaleMethod', $options, 'smooth');
- 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 $new_y is not named in camelCase. Open
public function resize($new_x = 0, $new_y = 0, $options = null)
{
// 0 means keep original size
$new_x = (0 == $new_x) ? $this->img_x : $this->_parse_size($new_x, $this->img_x);
$new_y = (0 == $new_y) ? $this->img_y : $this->_parse_size($new_y, $this->img_y);
- 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 $new_x is not named in camelCase. Open
public function resize($new_x = 0, $new_y = 0, $options = null)
{
// 0 means keep original size
$new_x = (0 == $new_x) ? $this->img_x : $this->_parse_size($new_x, $this->img_x);
$new_y = (0 == $new_y) ? $this->img_y : $this->_parse_size($new_y, $this->img_y);
- 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 $new_y is not named in camelCase. Open
public function scaleByY($new_y)
{
if ($new_y <= 0) {
return PEAR::raiseError('New size must be strictly positive', IMAGE_TRANSFORM_ERROR_OUTOFBOUND);
}
- 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 $x_pos is not named in camelCase. Open
public function rotate($angle)
{
$this->oldHandle = $this->imageHandle;
$this->imageHandle = imlib_create_rotated_image($this->imageHandle, $angle);
$new_x = imlib_image_get_width($this->imageHandle);
- 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 $y_pos is not named in camelCase. Open
public function rotate($angle)
{
$this->oldHandle = $this->imageHandle;
$this->imageHandle = imlib_create_rotated_image($this->imageHandle, $angle);
$new_x = imlib_image_get_width($this->imageHandle);
- 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 $new_y is not named in camelCase. Open
public function rotate($angle)
{
$this->oldHandle = $this->imageHandle;
$this->imageHandle = imlib_create_rotated_image($this->imageHandle, $angle);
$new_x = imlib_image_get_width($this->imageHandle);
- 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 $ext_driver is not named in camelCase. Open
public function &factory($driver = '')
{
if ('' == $driver) {
$extensions = [
'imagick' => 'Imagick3',
- 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 $new_x is not named in camelCase. Open
public function scaleByY($new_y)
{
if ($new_y <= 0) {
return PEAR::raiseError('New size must be strictly positive', IMAGE_TRANSFORM_ERROR_OUTOFBOUND);
}
- 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 $new_x is not named in camelCase. Open
public function scaleByFactor($size)
{
if ($size <= 0) {
return PEAR::raiseError('New size must be strictly positive', IMAGE_TRANSFORM_ERROR_OUTOFBOUND);
}
- 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 $new_x is not named in camelCase. Open
public function rotate($angle)
{
$this->oldHandle = $this->imageHandle;
$this->imageHandle = imlib_create_rotated_image($this->imageHandle, $angle);
$new_x = imlib_image_get_width($this->imageHandle);
- 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 $in_cropY is not named in camelCase. Open
public function crop($in_cropWidth, $in_cropHeight, $in_cropX, $in_cropY)
{
// Sanity check
if (!$this->_intersects($in_cropWidth, $in_cropHeight, $in_cropX, $in_cropY)) {
return PEAR::raiseError('Nothing to crop', IMAGE_TRANSFORM_ERROR_OUTOFBOUND);
- 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 $max_x is not named in camelCase. Open
public function rotate($angle, $options = null)
{
if (null === $options) {
$autoresize = true;
$color_mask = [255, 255, 0];
- 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 $max_y is not named in camelCase. Open
public function rotate($angle, $options = null)
{
if (null === $options) {
$autoresize = true;
$color_mask = [255, 255, 0];
- 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 $max_x2 is not named in camelCase. Open
public function rotate($angle, $options = null)
{
if (null === $options) {
$autoresize = true;
$color_mask = [255, 255, 0];
- 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();
}
}