tapestry-cloud/tapestry

View on GitHub

Showing 282 of 291 total issues

Line exceeds 120 characters; contains 122 characters
Open

        // Filter out any clocks that have no start or finish time, this should probably throw an exception in debug mode?
Severity: Minor
Found in src/Profiler.php by phpcodesniffer

Line exceeds 120 characters; contains 126 characters
Open

        if ($this->filesystem->exists($currentWorkingDirectory) && $this->finder->in($currentWorkingDirectory)->count() > 0) {

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',

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 (

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

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

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

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

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

            $this->createInvalidationHash($project));

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

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

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

            $this->createInvalidationHash($project));

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 $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

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