TikiWiki/tiki-manager

View on GitHub
src/Command/BlankInstanceCommand.php

Summary

Maintainability
A
0 mins
Test Coverage

The variable $command_name is not named in camelCase.
Open

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $command_name = 'manager:instance:create';
        if (! $this->getApplication()->has($command_name)) {
            $command_name = 'instance:create';
Severity: Minor
Found in src/Command/BlankInstanceCommand.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 $command_name is not named in camelCase.
Open

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $command_name = 'manager:instance:create';
        if (! $this->getApplication()->has($command_name)) {
            $command_name = 'instance:create';
Severity: Minor
Found in src/Command/BlankInstanceCommand.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 $command_name is not named in camelCase.
Open

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $command_name = 'manager:instance:create';
        if (! $this->getApplication()->has($command_name)) {
            $command_name = 'instance:create';
Severity: Minor
Found in src/Command/BlankInstanceCommand.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 $command_name is not named in camelCase.
Open

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $command_name = 'manager:instance:create';
        if (! $this->getApplication()->has($command_name)) {
            $command_name = 'instance:create';
Severity: Minor
Found in src/Command/BlankInstanceCommand.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 $command_name is not named in camelCase.
Open

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $command_name = 'manager:instance:create';
        if (! $this->getApplication()->has($command_name)) {
            $command_name = 'instance:create';
Severity: Minor
Found in src/Command/BlankInstanceCommand.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