Showing 9,653 of 9,653 total issues
The method _resize is not named in camelCase. Open
public function _resize($new_x, $new_y)
{
$img2 = imagick_copy_resize($this->imageHandle, $new_x, $new_y, IMAGICK_FILTER_CUBIC, 1);
if ($img2) {
$this->oldImage = $this->imageHandle;
- 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 Image_Transform_Driver_IM is not named in camelCase. Open
public function Image_Transform_Driver_IM()
{
$this->__construct();
}
- 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 _resize 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
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 _resize is not named in camelCase. Open
public function _resize($new_x, $new_y, $options = null)
{
if (true === $this->resized) {
return PEAR::raiseError('You have already resized the image without saving it. Your previous resizing will be overwritten', null, PEAR_ERROR_TRIGGER, E_USER_NOTICE);
}
- 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 _get_image_details is not named in camelCase. Open
public function _get_image_details()
{
$this->img_x = imlib_image_get_width($this->imageHandle);
$this->img_y = imlib_image_get_height($this->imageHandle);
$this->type = imlib_image_format($this->imageHandle);
- 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 Image_Transform_Driver_NetPBM is not named in camelCase. Open
public function Image_Transform_Driver_NetPBM()
{
$this->__construct();
}
- 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 _get_image_details is not named in camelCase. Open
public function _get_image_details($image)
{
$data = @getimagesize($image);
// 1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP,
// 7 = TIFF (intel byte order), 8 = TIFF (motorola byte order),
- 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 _rotation_angle is not named in camelCase. Open
public function _rotation_angle($angle)
{
$angle %= 360;
return ($angle < 0) ? $angle + 360 : $angle;
- 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 _throwError is not named in camelCase. Open
protected static function _throwError($object, $message = null, $code = null, $userinfo = null)
{
if (null !== $object) {
$a = $object->raiseError($message, $code, null, null, $userinfo);
return $a;
- 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 _convert_image_type is not named in camelCase. Open
public function _convert_image_type($type)
{
switch (mb_strtolower($type)) {
case 'gif':
return IMAGETYPE_GIF;
- 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 _parse_size is not named in camelCase. Open
public function _parse_size($new_size, $old_size)
{
if ('%' == mb_substr($new_size, -1)) {
$new_size = mb_substr($new_size, 0, -1);
$new_size = $new_size / 100;
- 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_new_x is not named in camelCase. Open
public function _set_new_x($size)
{
$this->new_x = $size;
}
- 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 _resize 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
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 _postProcess is not named in camelCase. Open
public function _postProcess($type, $quality)
{
array_unshift($this->command, $this->_prepare_cmd(IMAGE_TRANSFORM_NETPBM_PATH, mb_strtolower($this->type) . 'topnm', escapeshellarg($this->image)));
$arg = '';
$type = mb_strtolower($type);
- 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_new_y is not named in camelCase. Open
public function _set_new_y($size)
{
$this->new_y = $size;
}
- 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 _PEAR is not named in camelCase. Open
public function _PEAR()
{
if ($this->_debug) {
printf("PEAR destructor called, class=%s\n", strtolower(get_class($this)));
}
- 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 _checkDelExpect is not named in camelCase. Open
public function _checkDelExpect($error_code)
{
$deleted = false;
foreach ($this->_expected_errors as $key => $error_array) {
if (in_array($error_code, $error_array)) {
- 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 PEAR is not named in camelCase. Open
public function PEAR($error_class = null)
{
self::__construct($error_class);
}
- 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 _setErrorHandling is not named in camelCase. Open
protected static function _setErrorHandling(
$object,
$mode = null,
$options = null
) {
- 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 _get_default_text_params is not named in camelCase. Open
public function _get_default_text_params()
{
return $this->default_text_params;
}
- 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() {
}
}