The variable $new_filename is not named in camelCase.
public static function mungeFilename($filename, $extensions)
{
$original = $filename;
The variable $task_worker_num is not named in camelCase.
public function setTubes()
{
foreach ($this->jobs as $tube => $job) {
$task_worker_num = 0;
foreach ($job as $key => $value) {
The variable $work_id is not named in camelCase.
public function __construct()
{
$this->mkDir(__FILEROOT__.'runtime/cron-server');
$http = new swoole_http_server('0.0.0.0', '10008');
$http->set(array(
The variable $crontab_string is not named in camelCase.
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))) {
The variable $parse_br is not named in camelCase.
public static function text($text, $parse_br = false, $quote_style = ENT_NOQUOTES) {
if (is_numeric($text))
$text = (string)$text;
if (!is_string($text))
The variable $server_type is not named in camelCase.
public function init()
{
$this->checkStatus();
$pid = posix_getpid();
The variable $task_worker_num is not named in camelCase.
public function setTubes()
{
foreach ($this->jobs as $tube => $job) {
$task_worker_num = 0;
foreach ($job as $key => $value) {
The variable $package_eof is not named in camelCase.
public function call($server, $cmd, $data, $getRecv = true)
{
$data = \Group\Async\DataPack::pack($cmd, $data);
static $client = null;
The variable $quote_style is not named in camelCase.
public static function text($text, $parse_br = false, $quote_style = ENT_NOQUOTES) {
if (is_numeric($text))
$text = (string)$text;
if (!is_string($text))
The variable $worker_count is not named in camelCase.
private function setSignal()
{
swoole_process::signal(SIGCHLD, function ($signo) {
The variable $package_eof is not named in camelCase.
public function call($server, $cmd, $data, $getRecv = true)
{
$data = \Group\Async\DataPack::pack($cmd, $data);
static $client = null;
The variable $start_time is not named in camelCase.
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))) {
The variable $start_time is not named in camelCase.
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))) {
The variable $filename_parts is not named in camelCase.
public static function mungeFilename($filename, $extensions)
{
$original = $filename;
The variable $new_filename is not named in camelCase.
public static function mungeFilename($filename, $extensions)
{
$original = $filename;
The variable $filename_part is not named in camelCase.
public static function mungeFilename($filename, $extensions)
{
$original = $filename;
The variable $start_time is not named in camelCase.
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))) {
The variable $filename_parts is not named in camelCase.
public static function mungeFilename($filename, $extensions)
{
$original = $filename;
The variable $work_id is not named in camelCase.
public function stop()
{
$pid = $this->getPid();
if (!empty($pid) && $pid) {
if (swoole_process::kill($pid, 0)) {
The variable $task_count is not named in camelCase.
public function onFinish(swoole_server $serv, $fd, $data)
{
try {
list($cmd, $one, $info) = \Group\Async\DataPack::unpack($data);
$config = $this->config;