Skip to content

Commit e611ee3

Browse files
authored
Merge pull request #1102 from rodrigoprimo/remove-pear-installation-related-code
Config: remove code related to the now unsupported PEAR installation
2 parents 038b4a1 + 7624b08 commit e611ee3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Config.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1704,11 +1704,6 @@ public static function getAllConfigData()
17041704
$configFile = dirname($path).DIRECTORY_SEPARATOR.'CodeSniffer.conf';
17051705
} else {
17061706
$configFile = dirname(__DIR__).DIRECTORY_SEPARATOR.'CodeSniffer.conf';
1707-
if (is_file($configFile) === false
1708-
&& strpos('@data_dir@', '@data_dir') === false
1709-
) {
1710-
$configFile = '@data_dir@/PHP_CodeSniffer/CodeSniffer.conf';
1711-
}
17121707
}
17131708

17141709
if (is_file($configFile) === false) {

0 commit comments

Comments
 (0)