Showing 839 of 839 total issues
The variable $ref_flags is not named in camelCase. Open
public function injectScope($parent_scope)
{
$this->scope = $parent_scope;
$flags = Symbol::S_TYPE | Symbol::S_ALIAS;
$meta = [Meta::M_TYPE => $this->value];
- 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 $next_boundary is not named in camelCase. Open
private function handleCtrlRightArrow()
{
$boundaries = $this->getBoundaries();
list ($line, $column) = $this->state('line', 'column');
$next_boundary = reset(array_filter($boundaries, function ($boundary) use ($column) {
- 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 $prompt_color is not named in camelCase. Open
private function renderPrompt($color = Console::FG_YELLOW)
{
$prompt = $this->state('complete') ? 'Quack> ' : '.....> ';
$prompt_color = $this->state('complete') ? $color : Console::FG_BOLD_GREEN;
$this->console->setColor($prompt_color);
- 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 $text_size is not named in camelCase. Open
public function render()
{
$line = implode('', $this->state('line'));
$column = $this->state('column');
- 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 $new_line is not named in camelCase. Open
private function space()
{
$new_line = array_map('ord', ["\r", "\n", "\r\n", PHP_EOL]);
do {
- 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 $allowed_modifiers is not named in camelCase. Open
private function regex()
{
$buffer = [];
$buffer[] = $this->readChar();
$buffer[] = $this->readChar();
- 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 $output_path is not named in camelCase. Open
function bundle($config)
{
// Configuration
$bundle = $config['bundle'];
$resources = $config['resources'];
- 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 $file_content is not named in camelCase. Open
public function readFiles()
{
$abstractions = [];
$classes = [];
$handle = opendir($this->path);
- 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 $file_content is not named in camelCase. Open
public function readFiles()
{
$abstractions = [];
$classes = [];
$handle = opendir($this->path);
- 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 $byte_array is not named in camelCase. Open
function getCroakBuffer()
{
$packing_method = 'S';
$croak = realpath(dirname(__FILE__) . '/resource/quack.wav');
$handle = fopen($croak, 'rb');
- 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 _exprStmt is not named in camelCase. Open
public function _exprStmt()
{
$this->reader->match(Tag::T_DO);
$expr = $this->expr_parser->_expr();
return new ExprStmt($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 _fnSignature is not named in camelCase. Open
public function _fnSignature()
{
$name = null;
$parameters = [];
$type = 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 _fnStmt is not named in camelCase. Open
public function _fnStmt()
{
$is_short = false;
$body = 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 _optExpr is not named in camelCase. Open
public function _optExpr()
{
return $this->_expr(0, true);
}
- 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 _letStmt is not named in camelCase. Open
public function _letStmt()
{
$this->reader->match(Tag::T_LET);
$mutable = $this->reader->consumeIf(Tag::T_MUT);
$name = $this->name_parser->_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 _type is not named in camelCase. Open
public function _type($precedence = 0)
{
$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 _dataStmt is not named in camelCase. Open
public function _dataStmt()
{
$this->reader->match(Tag::T_DATA);
$name = $this->name_parser->_typename();
$parameters = [];
- 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 _stmt is not named in camelCase. Open
public function _stmt()
{
$stmt_list = [
Tag::T_IF => '_ifStmt',
Tag::T_LET => '_letStmt',
- 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 _ifStmt is not named in camelCase. Open
public function _ifStmt()
{
$this->reader->match(Tag::T_IF);
$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 _typename is not named in camelCase. Open
public function _typename()
{
return $this->reader->match(Tag::T_TYPENAME);
}
- 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() {
}
}