src/Main.php

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

            // TODO: This is very ugly. We need to start thinking about modules and export
Severity: Minor
Found in src/Main.php by fixme

The variable $disable_scope is not named in camelCase.
Open

    function compile($source, $scope) {
        global $disable_scope, $disable_typechecker;

        $lexer = new Tokenizer($source);
        $parser = new TokenReader($lexer);
Severity: Minor
Found in src/Main.php by phpmd

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 $disable_typechecker is not named in camelCase.
Open

    function compile($source, $scope) {
        global $disable_scope, $disable_typechecker;

        $lexer = new Tokenizer($source);
        $parser = new TokenReader($lexer);
Severity: Minor
Found in src/Main.php by phpmd

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 $disable_typechecker is not named in camelCase.
Open

    function compile($source, $scope) {
        global $disable_scope, $disable_typechecker;

        $lexer = new Tokenizer($source);
        $parser = new TokenReader($lexer);
Severity: Minor
Found in src/Main.php by phpmd

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 $disable_scope is not named in camelCase.
Open

    function compile($source, $scope) {
        global $disable_scope, $disable_typechecker;

        $lexer = new Tokenizer($source);
        $parser = new TokenReader($lexer);
Severity: Minor
Found in src/Main.php by phpmd

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

There are no issues that match your filters.

Category
Status