Showing 9,653 of 9,653 total issues
The method WriteFile is not named in camelCase. Open
public function WriteFile($sFilename)
{
if ('' == $sFilename) {
// tell browser that data is jpeg
\header("Content-type: image/$this->sFileType");
- 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 _parseLongOption is not named in camelCase. Open
protected static function _parseLongOption($arg, $long_options, &$opts, &$argIdx, $args, $skip_unknown)
{
@list($opt, $opt_arg) = explode('=', $arg, 2);
$opt_len = strlen($opt);
- 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_Cairowrapper is not named in camelCase. Open
public function Image_Transform_Driver_Cairowrapper()
{
$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 (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 Image_Transform_Driver_GD1 is not named in camelCase. Open
public function Image_Transform_Driver_GD1()
{
$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 _isShortOpt is not named in camelCase. Open
protected static function _isShortOpt($arg)
{
return 2 == strlen($arg) && '-' == $arg[0]
&& preg_match('/[a-zA-Z]/', $arg[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 _init is not named in camelCase. Open
public function _init()
{
$this->command = [];
}
- 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 _createImage is not named in camelCase. Open
public function _createImage($width = -1, $height = -1, $trueColor = null)
{
if (-1 == $width) {
$width = $this->new_x;
}
- 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 (isset($this->command['resize'])) {
return PEAR::raiseError('You cannot scale or resize an image more than once without calling save() or display()', true);
}
- 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 _isLongOpt is not named in camelCase. Open
protected static function _isLongOpt($arg)
{
return strlen($arg) > 2 && '-' == $arg[0] && '-' == $arg[1]
&& preg_match('/[a-zA-Z]+$/', substr($arg, 2));
}
- 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_GD is not named in camelCase. Open
public function Image_Transform_Driver_GD()
{
$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 (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 _resize is not named in camelCase. Open
public function _resize($new_x = null, $new_y = null, $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 _generate is not named in camelCase. Open
public function _generate($filename, $type = '', $quality = null)
{
$type = mb_strtolower(('' == $type) ? $this->type : $type);
$options = is_array($quality) ? $quality : [];
switch ($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 _get_image_details is not named in camelCase. Open
public function _get_image_details($image)
{
$retval = Image_Transform::_get_image_details($image);
if (PEAR::isError($retval)) {
unset($retval);
- 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 _parseShortOption is not named in camelCase. Open
protected static function _parseShortOption($arg, $short_options, &$opts, &$argIdx, $args, $skip_unknown)
{
for ($i = 0, $iMax = strlen($arg); $i < $iMax; ++$i) {
$opt = $arg[$i];
$opt_arg = 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 Image_Transform_Driver_Imagick2 is not named in camelCase. Open
public function Image_Transform_Driver_Imagick2()
{
$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)
{
// 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
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_Imlib is not named in camelCase. Open
public function Image_Transform_Imlib()
{
$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 Image_Transform_Driver_Imagick3 is not named in camelCase. Open
public function Image_Transform_Driver_Imagick3()
{
$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() {
}
}