diff --git a/src/Plugin.php b/src/Plugin.php index 0591f2f9..c87f7630 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -267,6 +267,7 @@ private function saveInstalledPaths() { // Check if we found installed paths to set. if (count($this->installedPaths) !== 0) { + sort($this->installedPaths); $paths = implode(',', $this->installedPaths); $arguments = array('--config-set', self::PHPCS_CONFIG_KEY, $paths); $configMessage = sprintf(