output_setsqls accesses the super-global variable $_SERVER. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
output_setsqls accesses the super-global variable $_SERVER. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
Function parse
has a Cognitive Complexity of 116 (exceeds 5 allowed). Consider refactoring. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File iCal_parser.php
has 939 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
Method parse
has 210 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
The class iCal_parser has 15 public methods. Consider refactoring iCal_parser to keep number of public methods under 10. Open
class iCal_parser
{
public $week_start_day = 'Sunday';
public $timezone = '+0900';
public $events = array();
- Read upRead up
- Exclude checks
TooManyPublicMethods
Since: 0.1
A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
Example
Source https://phpmd.org/rules/codesize.html#toomanypublicmethods
The class iCal_parser has an overall complexity of 109 which is very high. The configured complexity threshold is 50. Open
class iCal_parser
{
public $week_start_day = 'Sunday';
public $timezone = '+0900';
public $events = array();
- Exclude checks
Function output_setsqls
has a Cognitive Complexity of 20 (exceeds 5 allowed). Consider refactoring. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method output_setsqls
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
Method get_sql_set
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function get_sql_set($event, $cols)
{
$ret = '';
foreach ($cols as $col => $types) {
Function get_sql_set
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
public function get_sql_set($event, $cols)
{
$ret = '';
foreach ($cols as $col => $types) {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Avoid too many return
statements within this method. Open
return ($txt ? 'thu' : '4');
Avoid too many return
statements within this method. Open
return ($txt ? 'fri' : '5');
Avoid too many return
statements within this method. Open
return ($txt ? 'sat' : '6');
The class iCal_parser has 1363 lines of code. Current threshold is 1000. Avoid really long classes. Open
class iCal_parser
{
public $week_start_day = 'Sunday';
public $timezone = '+0900';
public $events = array();
- Exclude checks
The method parse() has an NPath complexity of 7484. The configured NPath complexity threshold is 200. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The method parse() has 427 lines of code. Current threshold is set to 100. Avoid really long methods. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Exclude checks
The method output_setsqls() has an NPath complexity of 721. The configured NPath complexity threshold is 200. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The method parse() has a Cyclomatic Complexity of 50. The configured cyclomatic complexity threshold is 10. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
The method output_setsqls() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
The method two2threeCharDays() has a Cyclomatic Complexity of 15. The configured cyclomatic complexity threshold is 10. Open
public function two2threeCharDays($day, $txt = true)
{
switch ($day) {
case 'SU':
return ($txt ? 'sun' : '0');
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
Avoid using undefined variables such as '$valarm_description' which will lead to PHP notices. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$the_duration' which will lead to PHP notices. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$start_of_vevent' which will lead to PHP notices. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$end' which will lead to PHP notices. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$beginning' which will lead to PHP notices. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$uid_valid' which will lead to PHP notices. Open
if (!$uid_valid) {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$tz_dtend' which will lead to PHP notices. Open
} elseif (isset($tz_dtend) && $tz_dtend !== '') {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$description' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$summary' which will lead to PHP notices. Open
if (empty($summary) || $summary === '') {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$tz_dtend' which will lead to PHP notices. Open
} elseif (isset($tz_dtend) && $tz_dtend !== '') {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$start' which will lead to PHP notices. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$allday_end' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$tz_dtstart' which will lead to PHP notices. Open
if (isset($tz_dtstart) && $tz_dtstart !== '') {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$dtstamp' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$event_tz' which will lead to PHP notices. Open
if (isset($event_tz)) {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$categories' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$event_tz' which will lead to PHP notices. Open
$ret .= "event_tz='$event_tz',";
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$recurrence_id' which will lead to PHP notices. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$status' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$summary' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$location' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$tz_dtend' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$tz_dtstart' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$contact' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$tz_dtend' which will lead to PHP notices. Open
$ret .= "tzid='$tz_dtend',";
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$tz_dtstart' which will lead to PHP notices. Open
$ret .= "tzid='$tz_dtstart',";
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$summary' which will lead to PHP notices. Open
if (empty($summary) || $summary === '') {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$allday_start' which will lead to PHP notices. Open
if (isset($allday_start) && $allday_start !== '') {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$event_tz' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$sequence' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$allday_start' which will lead to PHP notices. Open
if (isset($allday_start) && $allday_start !== '') {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$allday_start' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$class' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$uid_valid' which will lead to PHP notices. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$tz_dtstart' which will lead to PHP notices. Open
if (isset($tz_dtstart) && $tz_dtstart !== '') {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
The method two2threeCharDays has a boolean flag argument $txt, which is a certain sign of a Single Responsibility Principle violation. Open
public function two2threeCharDays($day, $txt = true)
- Read upRead up
- Exclude checks
BooleanArgumentFlag
Since: 1.4.0
A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.
Example
class Foo {
public function bar($flag = true) {
}
}
Source https://phpmd.org/rules/cleancode.html#booleanargumentflag
Remove error control operator '@' on line 789. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
The method parse uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// allday_end ¤Î»ØÄ꤬¤Ê¤±¤ì¤Ð°ìÆü¤Î¤ß¤È¸«¤Ê¤¹
$end_unixtime = $start_unixtime + 86400;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$uid_valid = true;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (preg_match('/^DTSTART;TZID=/i', $field)) {
$tz_tmp = explode('=', $field);
$tz_dtstart = $tz_tmp[1];
unset($tz_tmp);
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$offset_tmp = '+0000';
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$offset_tmp = $server_offset_tmp;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$offset_tmp = $server_offset_tmp;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$offset_tmp = '+0000';
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method mb_convert_kana uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return mb_convert_kana($str, $option);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
unset($field, $data, $prop_pos, $property);
preg_match('(/[^:]+):(.*)/', $line, $line);
$field = $line[1];
$data = $line[2];
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method parse uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (preg_match('/^DTEND;TZID=/i', $field)) {
$tz_tmp = explode('=', $field);
$tz_dtend = $tz_tmp[1];
unset($tz_tmp);
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method textarea_sanitizer_for_sql uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// ¤Ê¤±¤ì¤Ð¡¢Ã±¤ËÁ´¥¿¥°¤ò̵¸ú¤È¤¹¤ë
return strip_tags($data);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method output_setsqls uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$unique_id = $uid;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method output_setsqls uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// Ä̾磻¥Ù¥ó¥È
$ret .= "allday='0',";
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid unused local variables such as '$except_dates'. Open
$except_dates = array();
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused parameters such as '$time'. Open
public function chooseOffset($time)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused local variables such as '$first_duration'. Open
$first_duration = true;
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$start'. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$end'. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$start_of_vevent'. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$beginning'. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$except_times'. Open
$except_times = array();
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$recurrence_id'. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$valarm_description'. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$sequence'. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$the_duration'. Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$valarm_set'. Open
$valarm_set = false;
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$class'. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$location'. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$allday_end'. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$contact'. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$count'. Open
$count = 1000000;
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$description'. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$status'. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$categories'. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$dtstamp'. Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$essential'. Open
list($field, $lang, $essential) = explode(':', $types);
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
XXX found Open
// XXX end line is skipped because of the 1-line readahead
- Exclude checks
Each class must be in a namespace of at least one level (a top-level vendor name) Open
class iCal_parser
- Exclude checks
The class iCal_parser is not named in CamelCase. Open
class iCal_parser
{
public $week_start_day = 'Sunday';
public $timezone = '+0900';
public $events = array();
- Read upRead up
- Exclude checks
CamelCaseClassName
Since: 0.2
It is considered best practice to use the CamelCase notation to name classes.
Example
class class_name {
}
Source
The parameter $offset_str is not named in camelCase. Open
public function calcOffset($offset_str)
{
$sign = substr($offset_str, 0, 1);
$hours = substr($offset_str, 1, 2);
$mins = substr($offset_str, 3, 2);
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $calendar_name is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $tz_array is not named in camelCase. Open
class iCal_parser
{
public $week_start_day = 'Sunday';
public $timezone = '+0900';
public $events = array();
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $week_start_day is not named in camelCase. Open
class iCal_parser
{
public $week_start_day = 'Sunday';
public $timezone = '+0900';
public $events = array();
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The parameter $Ymd is not named in camelCase. Open
public function dateOfWeek($Ymd, $day)
{
if (!isset($this->week_start_day)) {
$this->week_start_day = 'Sunday';
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
Method name "iCal_parser::textarea_sanitizer_for_sql" is not in camel caps format Open
public function textarea_sanitizer_for_sql($data)
- Exclude checks
Method name "iCal_parser::output_setsqls" is not in camel caps format Open
public function output_setsqls()
- Exclude checks
Method name "iCal_parser::text_sanitizer_for_sql" is not in camel caps format Open
public function text_sanitizer_for_sql($data)
- Exclude checks
Method name "iCal_parser::mb_convert_kana" is not in camel caps format Open
public function mb_convert_kana($str, $option)
- Exclude checks
Method name "iCal_parser::get_sql_set" is not in camel caps format Open
public function get_sql_set($event, $cols)
- Exclude checks
Blank line found at start of control structure Open
switch ($property) {
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
'allday_end', 'tz_dtstart', 'tz_dtend', 'event_tz', 'rrule', 'uid_valid'); // GIJ added 03/05/27
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
'allday_end', 'tz_dtstart', 'tz_dtend', 'event_tz', 'rrule', 'uid_valid'); // GIJ added 03/05/27
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
'allday_end', 'tz_dtstart', 'tz_dtend', 'event_tz', 'rrule', 'uid_valid'); // GIJ added 03/05/27
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
'allday_end', 'tz_dtstart', 'tz_dtend', 'event_tz', 'rrule', 'uid_valid'); // GIJ added 03/05/27
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
'allday_end', 'tz_dtstart', 'tz_dtend', 'event_tz', 'rrule', 'uid_valid'); // GIJ added 03/05/27
- Exclude checks
Only one argument is allowed per line in a multi-line function call Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
ereg ('([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{0,2})([0-9]{0,2})', $data, $regs);
- Exclude checks
Line exceeds 120 characters; contains 200 characters Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
Line exceeds 120 characters; contains 139 characters Open
// XOOPS¤Î¥µ¥Ë¥¿¥¤¥¶¥¯¥é¥¹¤¬¤¢¤ì¤Ð¡¢¸ÄÊ̤Ëbb code¥¿¥°¤Ø¤ÎÊÑ´¹¤ò¤·¤Æ¤ß¤ë
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{0,2})([0-9]{0,2})/', $data, $regs);
- Exclude checks
Line exceeds 120 characters; contains 154 characters Open
unset ($due_date, $due_time, $completed_date, $completed_time, $vtodo_priority, $status, $class, $vtodo_categories, $summary);
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
$start_unixtime = mktime($regs[4], $regs[5], 0, $regs[2], $regs[3], $regs[1]);
- Exclude checks
Line exceeds 120 characters; contains 149 characters Open
global $daysofweek_lang, $daysofweekshort_lang, $daysofweekreallyshort_lang, $monthsofyear_lang, $monthsofyear_lang, $monthsofyearshort_lang;
- Exclude checks
Line exceeds 120 characters; contains 383 characters Open
unset($start_time, $end_time, $start_date, $end_date, $summary, $allday_start, $allday_end, $start, $end, $the_duration, $beginning, $rrule, $start_of_vevent, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $tz_dtstart, $tz_dtend, $event_tz, $valarm_description, $start_unixtime, $end_unixtime, $recurrence_id, $uid, $uid_valid);
- Exclude checks
Line exceeds 120 characters; contains 392 characters Open
$master_array['-2']["$vtodo_sort"]["$uid"] = array ('start_date' => $start_date, 'start_time' => $start_time, 'vtodo_text' => $summary, 'due_date'=> $due_date, 'due_time'=> $due_time, 'completed_date' => $completed_date, 'completed_time' => $completed_time, 'priority' => $vtodo_priority, 'status' => $status, 'class' => $class, 'categories' => $vtodo_categories);
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
$start_unixtime = $this->calcTime($offset_tmp, $server_offset_tmp, $start_unixtime);
- Exclude checks
Line exceeds 120 characters; contains 158 characters Open
preg_match('/^P([0-9]{1,2})?([W,D]{0,1}[T])?([0-9]{1,2}[H])?([0-9]{1,2}[M])?([0-9]{1,2}[S])?/', $data, $duration);
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
preg_match ('/([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{0,2})([0-9]{0,2})/', $exdata, $regs);
- Exclude checks
Line exceeds 120 characters; contains 138 characters Open
// ¤¤Á¤ó¤È¹Ô¤ï¤ì¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢¤³¤³¤Ç¤Îstrip_tags ¤Ï¾Ã¤·¤Æ¤âÎɤ¤¤Ï¤º
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
$start_unixtime = $this->calcTime($offset_tmp, $server_offset_tmp, $start_unixtime);
- Exclude checks
Line exceeds 120 characters; contains 165 characters Open
$the_duration = ($weeks * 60 * 60 * 24 * 7) + ($days * 60 * 60 * 24) + ($hours * 60 * 60) + ($minutes * 60) + ($seconds);
- Exclude checks
Line exceeds 120 characters; contains 138 characters Open
$start_day_time = strtotime((date('w', $timestamp) == $num ? "$this->week_start_day" : "last $this->week_start_day"), $timestamp);
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
$start_unixtime = mktime($regs[4], $regs[5], 0, $regs[2], $regs[3], $regs[1]);
- Exclude checks
Line exceeds 120 characters; contains 221 characters Open
unset($start_unixtime, $end_unixtime, $summary, $description, $status, $class, $categories, $contact, $location, $dtstamp, $sequence, $allday_start, $allday_end, $tz_dtstart, $tz_dtend, $event_tz, $uid_valid);
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 46 Open
'allday_end', 'tz_dtstart', 'tz_dtend', 'event_tz', 'rrule', 'uid_valid'); // GIJ added 03/05/27
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
'allday_end', 'tz_dtstart', 'tz_dtend', 'event_tz', 'rrule', 'uid_valid'); // GIJ added 03/05/27
- Exclude checks
Class name "iCal_parser" is not in camel caps format Open
class iCal_parser
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
$this->events[$uid] = compact('start_unixtime', 'end_unixtime', 'summary', 'description', 'status', 'class', 'categories', 'contact', 'location', 'dtstamp', 'sequence', 'allday_start',
- Exclude checks
The variable $seconds_now is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $seconds_then is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_months is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_months is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_then is not named in camelCase. Open
public function yearCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_now is not named in camelCase. Open
public function yearCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $uid_counter is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_day_time is not named in camelCase. Open
public function dateOfWeek($Ymd, $day)
{
if (!isset($this->week_start_day)) {
$this->week_start_day = 'Sunday';
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $seconds_now is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $sun_then is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_years is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_start is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_hours is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_now is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_then is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtend is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $except_dates is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $except_times is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_start is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_date is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zulu_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zulu_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $server_offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $calendar_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_unixtime is not named in camelCase. Open
public function dateOfWeek($Ymd, $day)
{
if (!isset($this->week_start_day)) {
$this->week_start_day = 'Sunday';
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_years is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $uid_valid is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $seconds_then is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_years is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $valarm_description is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $uid_counter is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $sun_then is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_days is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_months is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_date is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_end is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $prop_pos is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_hours is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_weeks is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_now is not named in camelCase. Open
public function yearCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_date is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_minutes is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_months is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $prop_pos is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $seconds_now is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_days is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_weeks is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_now is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_then is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_then is not named in camelCase. Open
public function yearCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_start is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $the_duration is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $first_duration is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $server_offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $server_offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $calendar_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $calendar_name is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_days is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_str is not named in camelCase. Open
public function calcOffset($offset_str)
{
$sign = substr($offset_str, 0, 1);
$hours = substr($offset_str, 1, 2);
$mins = substr($offset_str, 3, 2);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $want_secs is not named in camelCase. Open
public function calcTime($have, $want, $time)
{
if ($have === 'none' || $want === 'none') {
return $time;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $want_secs is not named in camelCase. Open
public function calcTime($have, $want, $time)
{
if ($have === 'none' || $want === 'none') {
return $time;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtend is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zulu_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_day_time is not named in camelCase. Open
public function dateOfWeek($Ymd, $day)
{
if (!isset($this->week_start_day)) {
$this->week_start_day = 'Sunday';
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_seconds is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_months is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_of_vevent is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_start is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zulu_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $calendar_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_end is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $calendar_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $calendar_name is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $unique_id is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $Ymd is not named in camelCase. Open
public function dateOfWeek($Ymd, $day)
{
if (!isset($this->week_start_day)) {
$this->week_start_day = 'Sunday';
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_unixtime is not named in camelCase. Open
public function dateOfWeek($Ymd, $day)
{
if (!isset($this->week_start_day)) {
$this->week_start_day = 'Sunday';
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_hours is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_seconds is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_now is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_then is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_str is not named in camelCase. Open
public function calcOffset($offset_str)
{
$sign = substr($offset_str, 0, 1);
$hours = substr($offset_str, 1, 2);
$mins = substr($offset_str, 3, 2);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $sun_now is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_unixtime is not named in camelCase. Open
public function dateOfWeek($Ymd, $day)
{
if (!isset($this->week_start_day)) {
$this->week_start_day = 'Sunday';
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_minutes is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ret_unixtime is not named in camelCase. Open
public function dateOfWeek($Ymd, $day)
{
if (!isset($this->week_start_day)) {
$this->week_start_day = 'Sunday';
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $valarm_set is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $seconds_now is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_then is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $uid_valid is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $seconds_then is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_days is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_months is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_date is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_str is not named in camelCase. Open
public function calcOffset($offset_str)
{
$sign = substr($offset_str, 0, 1);
$hours = substr($offset_str, 1, 2);
$mins = substr($offset_str, 3, 2);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $uid_valid is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $have_secs is not named in camelCase. Open
public function calcTime($have, $want, $time)
{
if ($have === 'none' || $want === 'none') {
return $time;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_end is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $recurrence_id is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_end is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $prop_pos is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $prop_pos is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $calendar_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtend is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_date is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_start is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $uid_valid is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $unique_id is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_seconds is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_hours is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $date_now is not named in camelCase. Open
public function monthCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_years is not named in camelCase. Open
public function yearCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $have_secs is not named in camelCase. Open
public function calcTime($have, $want, $time)
{
if ($have === 'none' || $want === 'none') {
return $time;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $sun_now is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_end is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_seconds is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $seconds_then is not named in camelCase. Open
public function weekCompare($now, $then)
{
$sun_now = $this->dateOfWeek($now, $this->week_start_day);
$sun_then = $this->dateOfWeek($then, $this->week_start_day);
$seconds_now = strtotime($sun_now);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_minutes is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_minutes is not named in camelCase. Open
public function dayCompare($now, $then)
{
$seconds_now = strtotime($now);
$seconds_then = strtotime($then);
$diff_seconds = $seconds_now - $seconds_then;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $diff_years is not named in camelCase. Open
public function yearCompare($now, $then)
{
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $now, $date_now);
preg_match('/([0-9]{4})([0-9]{2})([0-9]{2})/', $then, $date_then);
$diff_years = $date_now[1] - $date_then[1];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $calendar_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtend is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $uid_counter is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtend is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $uid_valid is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zulu_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_start is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtend is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_tz is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $server_offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $calendar_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtend is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_start is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $zulu_time is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtend is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtend is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $unique_id is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_tz is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_date is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_end is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $server_offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_date is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $server_offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_start is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $event_tz is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtend is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $allday_start is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $calendar_tz is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $server_offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $server_offset_tmp is not named in camelCase. Open
public function parse($filename, $calendar_name)
{
$ifile = @fopen($filename, 'r');
if ($ifile === false) {
return "-1: File cannot open. filename: $filename";
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $start_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tz_dtstart is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $end_unixtime is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The method output_setsqls is not named in camelCase. Open
public function output_setsqls()
{
$rets = array();
foreach ($this->events as $uid => $event) {
- 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 textarea_sanitizer_for_sql is not named in camelCase. Open
public function textarea_sanitizer_for_sql($data)
{
// '\n' ¤ò "\n" ¤Ë¤¹¤ë
$data = str_replace('\n', "\n", $data);
- 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 mb_convert_kana is not named in camelCase. Open
public function mb_convert_kana($str, $option)
{
// convert_kana ¤Î½èÍý¤Ï¡¢ÆüËܸì¤Ç¤Î¤ß¹Ô¤¦
if ($this->language !== 'japanese' || !function_exists('mb_convert_kana')) {
return $str;
- 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_sql_set is not named in camelCase. Open
public function get_sql_set($event, $cols)
{
$ret = '';
foreach ($cols as $col => $types) {
- 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 text_sanitizer_for_sql is not named in camelCase. Open
public function text_sanitizer_for_sql($data)
{
// Á´¥¿¥°¤ò̵¸ú¤È¤¹¤ësanitize
// ¼ÂºÝ¤Ë¤Ï¡¢Outlook¤Ê¤É¤Ç¤Ï¥¿¥°¤òľ½ñ¤¤¹¤ë¤Î¤Ç¡¢²èÌ̽ÐÎϤΥµ¥Ë¥¿¥¤¥º¤µ¤¨
// ¤¤Á¤ó¤È¹Ô¤ï¤ì¤Æ¤¤¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢¤³¤³¤Ç¤Îstrip_tags ¤Ï¾Ã¤·¤Æ¤âÎɤ¤¤Ï¤º
- 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() {
}
}