We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 038b4a1 + 7624b08 commit e611ee3Copy full SHA for e611ee3
src/Config.php
@@ -1704,11 +1704,6 @@ public static function getAllConfigData()
1704
$configFile = dirname($path).DIRECTORY_SEPARATOR.'CodeSniffer.conf';
1705
} else {
1706
$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
- }
1712
}
1713
1714
if (is_file($configFile) === false) {
0 commit comments