Showing 1,150 of 1,150 total issues
Opening brace should be on a new line Open
Open
public static function getShort($str, $length = 40, $ext = '…') {
- Exclude checks
Expected 1 space after IF keyword; 0 found Open
Open
if($count > 99999){
- Exclude checks
Opening brace should be on a new line Open
Open
public function getNextPage () {
- Exclude checks
Opening brace should be on a new line Open
Open
public static function truncateHtml( $text, $length = 40, $ellipsis = '…' ) {
- Exclude checks
Opening brace should be on a new line Open
Open
public static function html($text, $tags = null) {
- Exclude checks
Opening brace should be on a new line Open
Open
public static function getWordCount($str) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$count = mb_strlen( str_replace(array(' ',' '), '', strip_tags($str) ), 'UTF-8');
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Opening brace should be on a new line Open
Open
public static function text($text, $parse_br = false, $quote_style = ENT_NOQUOTES) {
- Exclude checks
No space found after comma in function call Open
Open
$text = str_replace('\\','\\\\',$text);
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
if($count > 99999){
- Exclude checks
No space found after comma in function call Open
Open
$text = str_replace('\\','\\\\',$text);
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$count = mb_strlen( str_replace(array(' ',' '), '', strip_tags($str) ), 'UTF-8');
- Exclude checks
Opening brace should be on a new line Open
Open
public static function getLength($str, $filter = false) {
- Exclude checks
Opening brace should be on a new line Open
Open
public function getPages () {
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
The variable $cache_dir is not named in camelCase. Open
Open
public function register() { $this->app->singleton('twig', function(){ $path = \Config::get('view::path'); $loader = new \Twig_Loader_Filesystem(__ROOT__.$path);
- Read upRead up
- Exclude checks
The variable $server_type is not named in camelCase. Open
Open
public function init() { $this->checkStatus(); $pid = posix_getpid();
- Read upRead up
- Exclude checks
The variable $work_id is not named in camelCase. Open
Open
public function stop() { $pid = $this->getPid(); if (!empty($pid) && $pid) {
- Read upRead up
- Exclude checks
The variable $crontab_string is not named in camelCase. Open
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))) {
- Read upRead up
- Exclude checks