fucongcong/framework

View on GitHub

Showing 1,150 of 1,150 total issues

The variable $_min is not named in camelCase.
Open

static protected function _parse_cron_number($s, $min, $max)
{
$result = array();
$v1 = explode(",", $s);
foreach ($v1 as $v2) {
Severity: Minor
Found in core/Group/Cron/ParseCrontab.php by phpmd

The variable $new_filename is not named in camelCase.
Open

public static function mungeFilename($filename, $extensions)
{
$original = $filename;
 
// Remove any null bytes. See http://php.net/manual/en/security.filesystem.nullbytes.php
Severity: Minor
Found in core/Group/Common/FileToolkit.php by phpmd

The variable $filename_parts is not named in camelCase.
Open

public static function mungeFilename($filename, $extensions)
{
$original = $filename;
 
// Remove any null bytes. See http://php.net/manual/en/security.filesystem.nullbytes.php
Severity: Minor
Found in core/Group/Common/FileToolkit.php by phpmd

The variable $_max is not named in camelCase.
Open

static protected function _parse_cron_number($s, $min, $max)
{
$result = array();
$v1 = explode(",", $s);
foreach ($v1 as $v2) {
Severity: Minor
Found in core/Group/Cron/ParseCrontab.php by phpmd

The variable $filename_part is not named in camelCase.
Open

public static function mungeFilename($filename, $extensions)
{
$original = $filename;
 
// Remove any null bytes. See http://php.net/manual/en/security.filesystem.nullbytes.php
Severity: Minor
Found in core/Group/Common/FileToolkit.php by phpmd

The variable $crontab_string is not named in camelCase.
Open

static public function parse($crontab_string, $timezone = "PRC", $start_time = null)
{
date_default_timezone_set($timezone);
 
if (!preg_match('/^((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)$/i', trim($crontab_string))) {
Severity: Minor
Found in core/Group/Cron/ParseCrontab.php by phpmd

The variable $final_extension is not named in camelCase.
Open

public static function mungeFilename($filename, $extensions)
{
$original = $filename;
 
// Remove any null bytes. See http://php.net/manual/en/security.filesystem.nullbytes.php
Severity: Minor
Found in core/Group/Common/FileToolkit.php by phpmd

The variable $cache_dir is not named in camelCase.
Open

public function register()
{
$this->app->singleton('twig', function(){
$path = \Config::get('view::path');
$loader = new \Twig_Loader_Filesystem(__ROOT__.$path);

The variable $task_worker_num is not named in camelCase.
Open

public function setTubes()
{
foreach ($this->jobs as $tube => $job) {
$task_worker_num = 0;
foreach ($job as $key => $value) {
Severity: Minor
Found in core/Group/Queue/TubeListener.php by phpmd

The variable $task_count is not named in camelCase.
Open

private function getTaskCount($fd){
$task_count = $this->table->get($fd);
return $task_count['count'];
}
Severity: Minor
Found in core/Group/Async/Server/Server.php by phpmd

The variable $server_type is not named in camelCase.
Open

public function init()
{
$this->checkStatus();
 
$pid = posix_getpid();
Severity: Minor
Found in core/Group/RpcKernal.php by phpmd

The variable $work_id is not named in camelCase.
Open

public function stop()
{
$pid = $this->getPid();
 
if (!empty($pid) && $pid) {
Severity: Minor
Found in core/Group/Cron/Cron.php by phpmd

The variable $work_id is not named in camelCase.
Open

public function stop()
{
$pid = $this->getPid();
 
if (!empty($pid) && $pid) {
Severity: Minor
Found in core/Group/Cron/Cron.php by phpmd

The variable $work_id is not named in camelCase.
Open

public function stop()
{
$pid = $this->getPid();
 
if (!empty($pid) && $pid) {
Severity: Minor
Found in core/Group/Cron/Cron.php by phpmd

The variable $work_id is not named in camelCase.
Open

public function stop()
{
$pid = $this->getPid();
 
if (!empty($pid) && $pid) {
Severity: Minor
Found in core/Group/Cron/Cron.php by phpmd

The variable $start_time is not named in camelCase.
Open

static public function parse($crontab_string, $timezone = "PRC", $start_time = null)
{
date_default_timezone_set($timezone);
 
if (!preg_match('/^((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)$/i', trim($crontab_string))) {
Severity: Minor
Found in core/Group/Cron/ParseCrontab.php by phpmd

The variable $crontab_string is not named in camelCase.
Open

static public function parse($crontab_string, $timezone = "PRC", $start_time = null)
{
date_default_timezone_set($timezone);
 
if (!preg_match('/^((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)\s+((\*(\/[0-9]+)?)|[0-9\-\,\/]+)$/i', trim($crontab_string))) {
Severity: Minor
Found in core/Group/Cron/ParseCrontab.php by phpmd

The variable $filename_part is not named in camelCase.
Open

public static function mungeFilename($filename, $extensions)
{
$original = $filename;
 
// Remove any null bytes. See http://php.net/manual/en/security.filesystem.nullbytes.php
Severity: Minor
Found in core/Group/Common/FileToolkit.php by phpmd

The variable $filename_part is not named in camelCase.
Open

public static function mungeFilename($filename, $extensions)
{
$original = $filename;
 
// Remove any null bytes. See http://php.net/manual/en/security.filesystem.nullbytes.php
Severity: Minor
Found in core/Group/Common/FileToolkit.php by phpmd

The variable $task_worker_num is not named in camelCase.
Open

public function setTubes()
{
foreach ($this->jobs as $tube => $job) {
$task_worker_num = 0;
foreach ($job as $key => $value) {
Severity: Minor
Found in core/Group/Queue/TubeListener.php by phpmd
Severity
Category
Status
Source
Language