private function loadInstalledPaths()
    {
        if ($this->isPHPCodeSnifferInstalled() === true) {
            $this->processExecutor->execute(
                sprintf(
                    'phpcs --config-show %s',
                    self::PHPCS_CONFIG_KEY
                ),
                $output,
                $this->composer->getConfig()->get('bin-dir')
            );

            $phpcsInstalledPaths = str_replace(self::PHPCS_CONFIG_KEY . ': ', '', $output);
            $phpcsInstalledPaths = trim($phpcsInstalledPaths);

            if ($phpcsInstalledPaths !== '') {
                $this->installedPaths = explode(',', $phpcsInstalledPaths);
            }
        }
    }
private function loadInstalledPaths()
    {
        if ($this->isPHPCodeSnifferInstalled() === true) {
            $this->processExecutor->execute(
                sprintf(
                    'phpcs --config-show %s',
                    self::PHPCS_CONFIG_KEY
                ),
                $output,
                $this->composer->getConfig()->get('bin-dir')
            );

            $phpcsInstalledPaths = str_replace(self::PHPCS_CONFIG_KEY . ': ', '', $output);
            $phpcsInstalledPaths = trim($phpcsInstalledPaths);

            if ($phpcsInstalledPaths !== '') {
                $this->installedPaths = explode(',', $phpcsInstalledPaths);
            }
        }
    }
private function loadInstalledPaths ( ) { if ( $ this -> isPHPCodeSnifferInstalled ( ) === true ) { $ this -> processExecutor -> execute ( sprintf ( 'phpcs --config-show %s' , self :: PHPCS_CONFIG_KEY ) , $ output , $ this -> composer -> getConfig ( ) -> get ( 'bin-dir' ) ) ; $ phpcsInstalledPaths = str_replace ( self :: PHPCS_CONFIG_KEY . ': ' , '' , $ output ) ; $ phpcsInstalledPaths = trim ( $ phpcsInstalledPaths ) ; if ( $ phpcsInstalledPaths !== '' ) { $ this -> installedPaths = explode ( ',' , $ phpcsInstalledPaths ) ; } } }
Load all paths from PHP_CodeSniffer into an array.

@throws LogicException
@throws ProcessFailedException
@throws RuntimeException
Load all paths from PHP_CodeSniffer into an array .