tapestry-cloud/tapestry

View on GitHub

Showing 282 of 291 total issues

Line exceeds 120 characters; contains 123 characters
Open

     * Note: This Step should ALWAYS be loaded after the LoadSourceFiles step. This is because it exports $project['files']
Severity: Minor
Found in src/Modules/Api/Json.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

        $this->filesystem->dumpFile($project->currentWorkingDirectory.DIRECTORY_SEPARATOR.'db.json', json_encode($json));
Severity: Minor
Found in src/Modules/Api/Json.php by phpcodesniffer

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                $this->getName(), $this->getVersion(), $this->tapestry['environment']);
Severity: Minor
Found in src/Console/Application.php by phpcodesniffer

Opening parenthesis of a multi-line function call must be the last content on the line
Open

        preg_match('/^(\d{4}-\d{2}-\d{2})-(.*)/', $this->fileInfo->getBasename('.'.$this->fileInfo->getExtension()),
Severity: Minor
Found in src/Entities/File.php by phpcodesniffer

Multi-line function call not indented correctly; expected 8 spaces but found 12
Open

            $this->createInvalidationHash($project));

Opening parenthesis of a multi-line function call must be the last content on the line
Open

        $command = sprintf('%s -S %s:%s -t %s',

Opening parenthesis of a multi-line function call must be the last content on the line
Open

        $cache = new Cache($project->currentWorkingDirectory.DIRECTORY_SEPARATOR.'.'.$project->environment.'_cache',

Opening parenthesis of a multi-line function call must be the last content on the line
Open

            return sprintf('<info>%s</info> version <comment>%s</comment>, environment <comment>%s</comment>',
Severity: Minor
Found in src/Console/Application.php by phpcodesniffer

Multi-line function call not indented correctly; expected 8 spaces but found 12
Open

            $matches);
Severity: Minor
Found in src/Entities/File.php by phpcodesniffer

Expected 0 spaces after opening bracket; newline found
Open

        if (
Severity: Minor
Found in src/Entities/Url.php by phpcodesniffer

Closing parenthesis of a multi-line function call must be on a line by itself
Open

            $matches);
Severity: Minor
Found in src/Entities/File.php by phpcodesniffer

Expected 0 spaces after opening bracket; newline found
Open

                if (

Closing parenthesis of a multi-line function call must be on a line by itself
Open

            $this->createInvalidationHash($project));

Closing parenthesis of a multi-line function call must be on a line by itself
Open

                $this->getName(), $this->getVersion(), $this->tapestry['environment']);
Severity: Minor
Found in src/Console/Application.php by phpcodesniffer

The variable $YAMLPath is not named in camelCase.
Open

    private function identifyConfigurationPath($configPath, $env = null)
    {
        $basePath = $configPath.DIRECTORY_SEPARATOR.'config'.(is_null($env) ? '' : ('-'.$env));
        $PHPPath = $basePath.'.php';
        $YAMLPath = $basePath.'.yaml';

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

    private function identifyConfigurationPath($configPath, $env = null)
    {
        $basePath = $configPath.DIRECTORY_SEPARATOR.'config'.(is_null($env) ? '' : ('-'.$env));
        $PHPPath = $basePath.'.php';
        $YAMLPath = $basePath.'.yaml';

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

    private function identifyConfigurationPath($configPath, $env = null)
    {
        $basePath = $configPath.DIRECTORY_SEPARATOR.'config'.(is_null($env) ? '' : ('-'.$env));
        $PHPPath = $basePath.'.php';
        $YAMLPath = $basePath.'.yaml';

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

    private function identifyConfigurationPath($configPath, $env = null)
    {
        $basePath = $configPath.DIRECTORY_SEPARATOR.'config'.(is_null($env) ? '' : ('-'.$env));
        $PHPPath = $basePath.'.php';
        $YAMLPath = $basePath.'.yaml';

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

    private function identifyConfigurationPath($configPath, $env = null)
    {
        $basePath = $configPath.DIRECTORY_SEPARATOR.'config'.(is_null($env) ? '' : ('-'.$env));
        $PHPPath = $basePath.'.php';
        $YAMLPath = $basePath.'.yaml';

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

    private function identifyConfigurationPath($configPath, $env = null)
    {
        $basePath = $configPath.DIRECTORY_SEPARATOR.'config'.(is_null($env) ? '' : ('-'.$env));
        $PHPPath = $basePath.'.php';
        $YAMLPath = $basePath.'.yaml';

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

Severity
Category
Status
Source
Language