public function execute()
    {
        $curdir = getcwd();
        chdir($this->workingdir);

        $phpcsfixer = $this->phpci->findBinary('php-cs-fixer');

        $cmd = $phpcsfixer . ' fix . %s %s %s';
        $success = $this->phpci->executeCommand($cmd, $this->verbose, $this->diff, $this->level);

        chdir($curdir);

        return $success;
    }
public function execute()
    {
        $curdir = getcwd();
        chdir($this->workingdir);

        $phpcsfixer = $this->phpci->findBinary('php-cs-fixer');

        $cmd = $phpcsfixer . ' fix . %s %s %s';
        $success = $this->phpci->executeCommand($cmd, $this->verbose, $this->diff, $this->level);

        chdir($curdir);

        return $success;
    }
public function execute ( ) { $ curdir = getcwd ( ) ; chdir ( $ this -> workingdir ) ; $ phpcsfixer = $ this -> phpci -> findBinary ( 'php-cs-fixer' ) ; $ cmd = $ phpcsfixer . ' fix . %s %s %s' ; $ success = $ this -> phpci -> executeCommand ( $ cmd , $ this -> verbose , $ this -> diff , $ this -> level ) ; chdir ( $ curdir ) ; return $ success ; }
Run PHP CS Fixer.
@return bool
Run PHP CS Fixer .