Showing 9,653 of 9,653 total issues
The method _pushErrorHandling is not named in camelCase. Open
protected static function _pushErrorHandling($object, $mode, $options = null)
{
$stack = &$GLOBALS['_PEAR_error_handler_stack'];
if (null !== $object) {
$def_mode = &$object->_default_error_mode;
- 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()
{
return PEAR::raiseError('Resize method not supported by driver', IMAGE_TRANSFORM_ERROR_UNSUPPORTED);
}
- 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 _popErrorHandling is not named in camelCase. Open
protected static function _popErrorHandling($object)
{
$stack = &$GLOBALS['_PEAR_error_handler_stack'];
array_pop($stack);
[$mode, $options] = $stack[count($stack) - 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 _set_img_y is not named in camelCase. Open
public function _set_img_y($size)
{
$this->img_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 _send_display_headers is not named in camelCase. Open
public function _send_display_headers($type)
{
// Find the filename of the original image:
$filename = explode('.', basename($this->image));
$filename = $filename[0];
- 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 _getColor is not named in camelCase. Open
public function _getColor($colorOf, $options = [], $default = [0, 0, 0])
{
$opt = array_merge($this->_options, (array)$options);
if (isset($opt[$colorOf])) {
$color = $opt[$colorOf];
- 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 _prepare_cmd is not named in camelCase. Open
public function _prepare_cmd($path, $command, $args = '')
{
if (!OS_WINDOWS
|| !preg_match('/\s/', $path)) {
return $path . $command . ' ' . $args;
- 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 _getOption is not named in camelCase. Open
public function _getOption($name, $options = [], $default = null)
{
$opt = array_merge($this->_options, (array)$options);
return $opt[$name] ?? $default;
- 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 _dirToStruct is not named in camelCase. Open
protected static function _dirToStruct($sPath, $maxinst, $aktinst = 0, $silent = false)
{
$struct = ['dirs' => [], 'files' => []];
if (false === ($dir = @opendir($sPath))) {
if (!$silent) {
- 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_img_x is not named in camelCase. Open
public function _set_img_x($size)
{
$this->img_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 PEAR_Error is not named in camelCase. Open
public function PEAR_Error(
$message = 'unknown error',
$code = null,
$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 _multipleToStruct is not named in camelCase. Open
protected static function _multipleToStruct($files)
{
$struct = ['dirs' => [], 'files' => []];
$files = (array)$files;
foreach ($files as $file) {
- 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 _removeTmpFiles is not named in camelCase. Open
public static function _removeTmpFiles()
{
if (count($GLOBALS['_System_temp_files'])) {
$delete = $GLOBALS['_System_temp_files'];
array_unshift($delete, '-r');
- 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 _raiseError is not named in camelCase. Open
protected static function _raiseError(
$object,
$message = null,
$code = null,
$mode = 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 _parseArgs is not named in camelCase. Open
public static function _parseArgs($argv, $short_options, $long_options = null)
{
if (!is_array($argv) && null !== $argv) {
/*
// Quote all items that are a short option
- 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
TODO found Open
// TODO: rethink if this is necessary
- Exclude checks
TODO found Open
// TODO this should be properly tested in Opera
- Exclude checks
HACK found Open
//HACK BLUETEEN TO SORT PHOTOS BY USERS
- Exclude checks
TODO found Open
// TODO: rethink if this is necessary
- Exclude checks
TODO found Open
// TODO: find a way to avoid such cloning
- Exclude checks