Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickael PERRIN authored and Mickael PERRIN committed Sep 14, 2018
1 parent 1b75211 commit 698b124
Show file tree
Hide file tree
Showing 8 changed files with 227 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .idea/git_toolbox_prj.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/phpcodesniffer-composer-installer.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

186 changes: 186 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/Plugin.php
Expand Up @@ -117,8 +117,6 @@ private function init()

$this->processBuilder = new ProcessBuilder();
$this->processBuilder->setPrefix($this->composer->getConfig()->get('bin-dir') . DIRECTORY_SEPARATOR . 'phpcs');

$this->loadInstalledPaths();
}

/**
Expand Down Expand Up @@ -154,6 +152,7 @@ public function onDependenciesChangedEvent()
}

if ($this->isPHPCodeSnifferInstalled() === true) {
$this->loadInstalledPaths();
$installPathCleaned = $this->cleanInstalledPaths();
$installPathUpdated = $this->updateInstalledPaths();

Expand Down

0 comments on commit 698b124

Please sign in to comment.