Showing 839 of 839 total issues
The method _stmtList is not named in camelCase. Open
public function _stmtList()
{
$stmt_list = [];
while ($this->startsStmt()) {
$stmt_list[] = $this->_stmt();
- 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 _whileStmt is not named in camelCase. Open
public function _whileStmt()
{
$this->reader->match(Tag::T_WHILE);
$condition = $this->expr_parser->_expr();
$body = $this->_stmtList();
- 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 _qualifiedName is not named in camelCase. Open
public function _qualifiedName()
{
$names = [];
do {
$names[] = $this->_identifier();
- 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 _parameter is not named in camelCase. Open
public function _parameter()
{
$name = $this->name_parser->_identifier();
$type = null;
if ($this->reader->consumeIf('::')) {
- 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 _blockStmt is not named in camelCase. Open
public function _blockStmt()
{
$this->reader->match(Tag::T_BEGIN);
$body = $this->_stmtList();
$this->reader->match(Tag::T_END);
- 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 _typeConsStmt is not named in camelCase. Open
public function _typeConsStmt()
{
$name = $this->name_parser->_typename();
$values = [];
if ($this->reader->consumeIf('(')) {
- 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 _expr is not named in camelCase. Open
public function _expr($precedence = 0, $opt = false)
{
$token = $this->reader->lookahead;
$prefix = $this->prefixParseletForToken($token);
- 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 _identifier is not named in camelCase. Open
public function _identifier()
{
return $this->reader->match(Tag::T_IDENT);
}
- 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 _elifList is not named in camelCase. Open
public function _elifList()
{
$elifs = [];
while ($this->reader->consumeIf(Tag::T_ELIF)) {
$condition = $this->expr_parser->_expr();
- 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 _returnStmt is not named in camelCase. Open
public function _returnStmt()
{
$this->reader->match('^');
$expression = $this->expr_parser->_optExpr();
- 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 _optElse is not named in camelCase. Open
public function _optElse()
{
if ($this->reader->consumeIf(Tag::T_ELSE)) {
return $this->_stmtList();
}
- 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 _typeStmt is not named in camelCase. Open
public function _typeStmt()
{
$this->reader->match(Tag::T_TYPE);
$name = $this->name_parser->_typename();
$this->reader->match(':-');
- 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 _program is not named in camelCase. Open
public function _program()
{
$body = [];
while (!$this->reader->isEOF()) {
$body[] = $this->_stmt();
- 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 _foreachStmt is not named in camelCase. Open
public function _foreachStmt()
{
$key = null;
$this->reader->match(Tag::T_FOREACH);
- 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 _breakStmt is not named in camelCase. Open
public function _breakStmt()
{
$this->reader->match(Tag::T_BREAK);
$label = $this->_optLabel();
return new BreakStmt($label);
- 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 _labelStmt is not named in camelCase. Open
public function _labelStmt()
{
$this->reader->match('[');
$label_name = $this->name_parser->_identifier();
$this->reader->match(']');
- 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 _optLabel is not named in camelCase. Open
public function _optLabel()
{
return $this->reader->is(Tag::T_IDENT)
? $this->name_parser->_identifier()
: null;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _continueStmt is not named in camelCase. Open
public function _continueStmt()
{
$this->reader->match(Tag::T_CONTINUE);
$label = $this->_optLabel();
return new ContinueStmt($label);
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
TODO found Open
-- TODO: tell prefix from postfix and infix operators on objects
- Exclude checks
TODO found Open
// TODO: inject type too?
- Exclude checks