👌 peer review

mostly coding convention,

thanks @molkobain
This commit is contained in:
bruno DA SILVA
2020-01-07 15:34:27 +01:00
parent 2043010aad
commit 838c4f123c
7 changed files with 11 additions and 17 deletions

View File

@@ -7,12 +7,6 @@
namespace Combodo\iTop\Config\Validator;
use PhpParser\NodeTraverser;
use PhpParser\NodeVisitor;
use PhpParser\Parser;
use PhpParser\ParserFactory;
class iTopConfigSyntaxValidator
{
/**
@@ -21,7 +15,7 @@ class iTopConfigSyntaxValidator
* @param $sConfig
* @param $bAllowUnsecure
*/
public function validate($sConfig, $bAllowUnsecure)
public function Validate($sConfig, $bAllowUnsecure)
{
exec('php -v', $aOutput, $iReturnVar);
$bCanRunCli = ($iReturnVar == 0);