Merge pull request #6921 from carusogabriel/add-no_useless_else-phpcs
Add no_useless_else in phpcspull/6926/head
commit
6d4a8574da
1
.php_cs
1
.php_cs
|
@ -39,6 +39,7 @@ return PhpCsFixer\Config::create()
|
||||||
'no_leading_namespace_whitespace' => true,
|
'no_leading_namespace_whitespace' => true,
|
||||||
'no_trailing_comma_in_singleline_array' => true,
|
'no_trailing_comma_in_singleline_array' => true,
|
||||||
'no_unused_imports' => true,
|
'no_unused_imports' => true,
|
||||||
|
'no_useless_else' => true,
|
||||||
'no_whitespace_in_blank_line' => true,
|
'no_whitespace_in_blank_line' => true,
|
||||||
'object_operator_without_whitespace' => true,
|
'object_operator_without_whitespace' => true,
|
||||||
'phpdoc_align' => true,
|
'phpdoc_align' => true,
|
||||||
|
|
|
@ -243,14 +243,14 @@ class Perforce
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
} else {
|
}
|
||||||
|
|
||||||
$command = 'echo $' . $name;
|
$command = 'echo $' . $name;
|
||||||
$this->executeCommand($command);
|
$this->executeCommand($command);
|
||||||
$result = trim($this->commandResult);
|
$result = trim($this->commandResult);
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public function queryP4Password()
|
public function queryP4Password()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue